Edgeweir
Infrastructure

Clusters and nodes

Clusters, node groups, nodes and regions, configuration revisions and the configuration canary, site enabling and items needing attention.

The page

Page: Clusters & nodes (/clusters), under Infrastructure in the sidebar.

ElementDescription
View switchClusters | Regions: clusters (default) and regions (?view=regions)
Select clusterShown with more than one cluster, not in the regions view; the chosen cluster is in ?cluster=<cluster ID>
Page actionsClusters view: New cluster, Add node (once a cluster exists); regions view: New region
No clusters"No clusters" with New cluster
Cluster summaryThe cluster name, ⋯ (Edit cluster, Delete) and the items below; a cluster without nodes shows only the name, ⋯ and the node section
SummaryContent
Nodes onlineOnline nodes / all nodes
SitesThe cluster's sites
Latest revisionThe cluster's latest revision #N and "X/Y applied": Y online enabled nodes, X of which run their target revision; "Unpublished" before the first revision. Target revisions: Configuration canary

Once the cluster has a node, the tabs (?tab=) appear:

TabtabContent
Nodesomitted (default)The node table and node groups
ReleasesreleasesRevisions, configuration canary, node upgrades
DNSdnsThe cluster's DNS binding, records and DNS revisions, see Bind a cluster
SchedulingschedulingScheduling rules and their preview, see Scheduling rules
SettingsnetworkListener ports, client IP, unknown hosts, cache zone
Port poolsportsPort ranges L4 apps may use, see Set up port pools

?enroll=true opens Add node at the end of setup.

Clusters

A cluster is a set of nodes plus the sites and L4 apps assigned to them; each cluster has its own revision sequence.

ActionWhereDescription
New clusterPage actionCluster name: lowercase letters, digits and -, starting with a letter or digit, at most 64 characters, unique; Description: at most 500 characters. Creation adds the default node group default and publishes revision #1
Edit cluster⋯ of the summaryChange name and description
Delete⋯ of the summaryAllowed when the cluster has no nodes and no sites, its DNS is not Automatic, and its written DNS records are removed
RuleDescription
Cluster of a siteWith several clusters, the new-site form has a Cluster field (default: the oldest cluster); through /api/v1, clusterId. A site cannot change clusters later
CapacityA cluster publishes at most 512 enabled sites (CLUSTER_SITE_LIMIT) and has at most 256 L4 apps (L4_APP_LIMIT)
Cache zoneThe Cache zone card on the Settings tab sets the size and idle removal time of every node's cache zone, see Cache zone

Node groups

The node group table on the Nodes tab: Node group (the default group marked Default, canary groups Canary), Region ("name · code", "—" when unset), Nodes.

ActionDescription
New node groupNode group: name, at most 64 characters, unique within the cluster; Region: optional, see Regions; Canary group: see Configuration canary
Edit node groupOpens from a click on the row; change name, region and Canary group
DeleteDelete under ⋯ at the end of the row, confirming "Delete node group {name}? Its nodes move back to the default group". The default node group has no ⋯ and cannot be deleted

Node groups serve as the lines and backup node groups of DNS bindings and as canary groups of node upgrades and the configuration canary. A node group's region is the region its nodes probe from when they also probe.

Adding a node

The Add node dialog generates a one-time install command as it opens: the cluster's default node group, valid for 1 hour, no node name. Options shows the fields below; Regenerate generates a new command with them.

FieldDescription
Node nameOptional, at most 64 characters
Node groupDefaults to the cluster's default node group; hidden when the cluster has only one
Valid for15 minutes, 1 hour (default) or 24 hours; the API accepts 5 minutes to 7 days
ItemDescription
Install commandWith a countdown, shown once; every opening of the dialog generates a new token, and a closed dialog does not show it again
TokenStarts with ewt_, single use; the database keeps its SHA-256 and prefix, never the plaintext
CA fingerprintThe command's --ca-sha256, the same as CA fingerprint in System information
Connection checkOne line with the node channel connection check; when it fails, a "Change" link opens System settings (Node channel)
ProgressWaiting for the node → Enrolled → Configuration applied → Data plane healthy → Has an address for DNS; "Token expired" once the token expires

Address warnings, the connection check and the install flow: Adding nodes.

Nodes

The node table on the Nodes tab has one row per node and sorts by Node, Node group, Egress, Applied and Heartbeat (?sort=). Egress is hidden below the lg width, Agent / engine and Heartbeat below xl. A cluster without nodes shows "No nodes" with Add node.

ColumnContent
NodeName and first IP (hover for the host name); a node that also probes is marked Also probes
StatusOnline (heartbeat within 45 seconds), Offline, Disabled; an enrolled node that has not connected to the node channel yet shows Awaiting heartbeat; an online node with an unhealthy data plane is also marked Data plane unhealthy; an offline node whose certificate the node channel refuses is marked Certificate expired or Certificate refused; marked No public address when DNS has no address for the node, see Nodes without a public address
Node groupNode group and region
LoadCPU and memory usage (metrics-v1), with a dot in the warning color from 75% and in the error color from 90%; "—" when offline or without metrics
EgressEgress reported by the node
Applied#N, marked In sync (the node's target revision reached), Behind, Apply failed (hover for the reason) or Upgrade required; an online node without any configuration yet shows Awaiting configuration; when the node reports certificates it cannot load, also "Certificates not loaded: N" (hover for their names)
Agent / engineAgent version, marked Upgrade recommended when due; a node not on the current node channel URL yet is also marked Not switched, Cannot switch (hover for the reason), On fallback or Upgrade to switch (nodes before v1.2.0)
HeartbeatHow long ago the last heartbeat came; hover for the time

Node details

Click a node row or choose Details under ⋯ to open its overview (/clusters/nodes/<node ID>). The sidebar can switch nodes and return to the filtered list. Open Scheduling addresses, Probes, Cache, Node upgrades, Logs or Debug logs from the directory. Each has its own path. The header menu can request or cancel retirement. See Node logs.

ItemContent
Node groupNode group and region
AppliedMarked Apply failed when applying failed
Agent / engineAgent version, engine and engine version, marked Upgrade recommended when due
HeartbeatHow long ago the latest heartbeat came
Clock offsetThe latest reported value: "In sync", "N s ahead", "N s behind"; marked Skewed at the Clock skew (seconds) of the alert rules
IPEvery unicast address of the latest heartbeat, at most 64; a heartbeat without addresses keeps the previous ones. The addresses DNS and probes use: Scheduling addresses and backup IPs
MetricsGauges of CPU and memory usage (warning color from 75%, error color from 90%), the 1 / 5 / 15 min load, egress and connections; "No metrics" without metrics
Data planeHealthy / Data plane unhealthy
Connects fromThe source address the node connects to the console from
Node channelThe URL in use and its mark, why the node cannot switch or runs on its fallback, and the fallback it keeps
Certificate expiresThe client certificate (30 days; the node renews it when less than a third is left); marked Expires soon with less than 10 days left, and Certificate expired or Certificate refused once past or refused by the node channel
Also probes, Scheduling addresses, Probe resultsSee Regional probes and scheduling
CacheCache usage and this node's own size, see Cache zone

Node actions

⋯ at the end of a row:

ActionDescription
DetailsSee Node details
RenameAt most 64 characters
Move to groupNode groups of the same cluster only
Disable / EnableA disabled node is refused by the node channel (except for certificate renewal, so its certificate is still valid when enabled) and keeps serving its last successfully applied configuration; its unfinished purge & prefetch deliveries are marked Skipped. Once the node is enabled and pulls tasks again, it gets one whole-site purge for every site those purges touched
DeleteRevokes the node certificate; the node must enroll again with a new install command

Revisions

A change that affects node configuration publishes a new revision in the cluster; none when the content hash equals the previous one. The Revisions table on the Releases tab initially lists the latest 20: Revision, Content hash, Sites, Reason, Time. Choose Load older revisions to load another 20 at a time until every retained revision is listed. Every row except the latest has Roll back. If loading fails, the displayed entries remain available; choose Retry to continue.

ItemValue
RetentionThe latest 200 revisions per cluster, pruned hourly; the canary's stable and candidate revisions are never pruned
ACME HTTP-01Revisions published only for HTTP-01 challenges do not count and are deleted after an hour
Revision numberOne more than the larger of the latest stored revision and the highest revision the cluster's nodes have applied; it does not go back after a database restore
ReasonTrigger
Cluster {cluster} createdNew cluster
Site {site} created / updated / deletedSite changes
Site {site} enabled / disabledSite enabling
{count} sites enabled / disabled / deletedBulk actions of the site list, see Bulk actions
Settings of {source} copied to {site} / Site {site} cloned from {source}Copy settings and Clone a site
L4 app {app} created / updated / deletedL4 app changes; enabling and disabling use "updated"
Site {site} purgedPurging a site in older consoles; a whole-site purge is now a node task that publishes no revision
Certificate policy for {site} updatedHTTPS settings changed; a certificate used by the site was issued or renewed
ACME challenge updatedHTTP-01 challenge changes
Rules and IP lists updatedSite rule, global rule or IP list changes
Protection of {site} updatedThe site's Under Attack, CC mitigation or challenge settings changed
OWASP CRS of {site} updatedThe site's OWASP CRS settings changed
Error pages / Maintenance / Access authentication / Access control of {site} updatedThe matching site settings changed
Usage limit of {site} reached / Usage protection of {site} liftedUsage protection actions applied and lifted
Automatic mitigation turned on / off Under Attack for {site}Automatic mitigation
Global Under Attack updatedGlobal Under Attack changed in Protection; every cluster publishes one revision
CC template updatedCC template changed; every cluster with a site following the template publishes one revision
Challenge keys rotatedThe daily challenge key rotation; every cluster whose configuration carries challenge keys publishes one revision
Challenge keys for the greylistSaving a greylist entry whose action is a challenge; the clusters it applies to (every cluster for a global entry) whose configuration has no challenge keys yet publish one revision each
TLS session ticket keys rotatedTicket key rotation of TLS session resumption
Origin allow list updatedOrigin allow list changed; every cluster publishes one revision
Platform error pages updatedPlatform error pages changed; every cluster publishes one revision
Listener ports / Client IP setting / Unknown host settings / Cache zone updatedThe matching card on the Settings tab
Cache size of node {node} updatedCache in the node details
Connection limits updatedConnection limits
Origin certificate revoked / Origin client certificate replaced / Origin CA rotation started, cancelled / Previous Origin CA retiredOrigin protection
Rolled back to #{revision}Roll back
Canary of revision {revision} rolled backConfiguration canary rollback
Configuration recompiled after an upgradeA console upgrade changed what the stored configuration compiles to; every cluster publishes one revision

Rollback

Roll back, after confirming "Publish a new revision from #{revision}?", publishes the chosen revision's content as a new revision, keeps the history and is audited as cluster.rollback.

ItemBehavior
Current valuesIP lists, global rules, global Under Attack and the origin allow list
Not shippedSites and L4 apps that are currently disabled
RefusedA site, domain, certificate, IP list or L4 app the chosen revision references was deleted, an L4 app's port is no longer inside a port pool, or the certificate has expired (ROLLBACK_RESOURCE_UNAVAILABLE)
PreviewThe confirmation lists the sites Added, Changed and Removed against the latest revision; "Same as the current revision" for equal content, "No site changes" when only settings other than sites differ; when the rollback cannot be done the reason shows and the confirm button stays disabled. The preview writes nothing; API: Clusters and overview
CanaryA rollback reaches every node at once; a running canary ends with the outcome "Rolled back manually"

Node capabilities

When a change needs a capability that active nodes of the cluster lack:

PublisherBehavior
The console account (session or AccessKey)Published anyway; nodes without the capability show Upgrade required and keep their configuration
Service accounts409 NODE_CAPABILITY_REQUIRED; nothing is published
Automatic console jobsNothing is published

Configuration canary

The Configuration canary card on the Releases tab sets the policy per cluster and shows the current rollout. Off by default.

Policy fieldValuesDefault
Enable canaryOn / offOff
Observation window (minutes)1–605
5xx ratio multiple of the baseline1–1002
5xx ratio floor (%)0.1–1005
Minimum requests1–1000000100
Promote automaticallyOn: promote to every node once the window passes; off: wait for Promote to all nowOn

Canary groups are set with the Canary group switch of a node group.

ItemBehavior
Canary nodesEnabled nodes in a canary group that are online when the window starts. They stay fixed until the window ends: a node that leaves the canary group meanwhile remains a canary node, a node that joins waits for the next window
Target revisionCanary nodes get the candidate, the other nodes the stable revision; a node only receives its own target revision
DNSEvery node is judged by its own target revision; nodes outside the canary are not removed during the window
5xx statisticsNodes report whole minutes. Each canary node counts from the first whole minute after it applied the candidate; earlier requests (the same minute included) do not count. Nodes outside the canary count from the earliest of those minutes
End of the windowThe window's time has passed and the canary nodes have reported every minute of the window and at least one whole minute of the candidate; late statistics are awaited for at most 2 more minutes, then the data at hand decides. Fewer requests than the minimum (no traffic included) skip the 5xx check
Rollback conditions (any of them during the window)A canary node failed to apply; an unhealthy data plane or an offline canary node; the canary nodes' 5xx ratio exceeds max(5xx ratio of the other nodes × multiple, floor) with at least the minimum requests; still not applied one window after the window's end
RollbackPublishes a new revision with the stable revision's content and every node returns to it; sites disabled or deleted and domains removed during the window do not come back, cache generations and certificates keep their current values; audited (actor System), and the alert "Configuration canary rolled back" is sent, see Cluster and DNS alerts
After a rollbackThe cluster stays on the stable revision; database changes are not undone, and later publications still go through the canary
A new publication during the windowThe new candidate replaces the old one; the window's start and canary nodes stay; only the new candidate's traffic counts, and a candidate applied at the window's end extends the window to the end of its first whole minute
Candidate withdrawnWhen a new publication's content equals the stable revision, the canary ends with the outcome "Candidate withdrawn"
No canary node onlinePublished to every node at once, audited as cluster.rollout_direct with an alert; publishing is not blocked
Changes that reach every node at onceACME HTTP-01 challenges; disabling and deleting sites and removing domains; disabling and deleting L4 apps; lowering access log sampling; certificate renewals; challenge key rotation; site and global Under Attack. They enter the stable revision too, while the other changes wait in the candidate. A rollback also reaches every node at once
Turning the policy offA running candidate is promoted to every node
StateMeaning
IdleNo candidate
CanaryThe candidate runs on the canary nodes under observation
Awaiting promotionThe window passed; waiting for manual promotion
PromotedThe candidate is every node's revision
Rolled backThe canary nodes returned to the stable revision
Published directlyNo canary node was online; the change was published directly
Card contentDescription
State and outcomeThe current state and the last rollout's outcome: Promoted automatically, Promoted manually, A canary node failed to apply it, A canary node did not apply it in time, A canary node became unhealthy, 5xx ratio over the threshold, Aborted manually, No canary node online, Policy turned off, Rolled back manually, Candidate withdrawn
Stable revision / Candidate revisionRevision numbers
Last candidateThe candidate rolled back or promoted last, with how long ago
ChangesDuring a rollout, the sites the candidate adds, changes and removes against the stable revision; "No site changes" when no site differs
ReasonsThe publication reasons of the revisions after the stable one, without duplicates
Window endsCountdown; hover for the time
Canary traffic / Baseline traffic"N requests, M 5xx"
Canary nodesEach canary node's applied revision, marked In the window when it takes part in this window; "No canary nodes" without any

Promote to all now (confirming "Promote revision #{revision} to every node?", audited as cluster.rollout_promote) and Abort and roll back (confirming "Abort the canary of revision #{revision} and roll back?", audited as cluster.rollout_abort) are available in Canary and Awaiting promotion only. Policy changes are audited as cluster.rollout_policy_update.

Node upgrades

The Node upgrades section of the Releases tab rolls signed upgrades out through canary node groups, see Node upgrades.

Regions

Page: the Regions view of Clusters & nodes (/clusters?view=regions; /regions redirects there), with the page action New region. A region is a location label for node groups and regional probes (for example East China), shown in the node group and node tables; scheduling conditions on probe metrics can count the probers of one region alone. Probes are on the Monitoring tab of System settings, see Regional probes.

A dot map above the list marks the regions, placed by the city their code or name mentions (such as ap-tokyo or Tokyo); regions without a known city appear only in the list, and the map is hidden when none has one.

ActionDescription
New regionName: at most 64 characters; Code: lowercase letters, digits and -, starting with a letter or digit, at most 32 characters, unique
Edit regionOpens from a click on the row; change name and code
DeleteDelete under ⋯ at the end of the row; refused while probes belong to the region ("N probes still belong to this region"); node groups that reference the region stay, without a region, and their nodes that also probe stop probing

Site enabling

Disable / Enable sits next to Status on the site's Overview tab (confirmed); API: Enabling and disabling sites.

ItemBehavior
StatusThe Status column of Sites and the site's Overview tab: Not live yet (the cluster has no online node, or no online node has applied a revision with the site), Rolling out N/M (N of the M online nodes run the site's latest configuration with a healthy data plane), Active (every online node runs it), Disabled. During a configuration canary window "Canary N/M, all nodes at HH:MM"; with Promote automatically off in the policy "Canary N/M, awaiting promotion". While a usage protection action holds, also Over usage limit. Until the site is live everywhere the page refreshes every 5 seconds
NoticesAfter saving, creating, enabling or disabling a site the notice follows the nodes: Rolling out N/M → Live on every node (the window's end during a canary; Removing N/M → Removed from the nodes when disabling; "No online nodes" when the cluster has none), for up to 3 minutes
NodesA disabled site is not shipped; nodes answer HTTP requests for its domains with 503 (X-Edgeweir-Error: site-disabled) and the Site disabled platform error page or the built-in page; HTTPS requests fail in the TLS handshake
DNSRecords stay
CertificatesRenewal continues; HTTP-01 challenges are answered
Purge & prefetchReturn SITE_DISABLED
RollbackDoes not ship a disabled site again
Revisions and auditA change publishes a revision and writes an audit entry (site.enable, site.disable); an unchanged state does neither

Needs attention

Needs attention at the top of Overview (/overview) lists what needs the operator, each row with its cluster; it is hidden when nothing does. The sidebar shows the number of items beside Overview, and the alerts bell in the top bar gets a red dot. Items come in this order:

ItemConditionA click opens
Unhealthy nodes: NEnabled nodes that connected before and are now offline, failed to apply, have an unhealthy data plane (after applying a configuration), or whose certificate the node channel refusesThe cluster
DNS revision #N failedThe cluster's DNS is not Not managed and a DNS revision failed to publishThe DNS tab
DNS publication held by mass removal protectionMass removal protection stopped the cluster's DNS publicationThe DNS tab
Upgrade to X failedThe cluster's latest node upgrade failed, within the last 24 hoursThe Releases tab
Canary #N rolled backThe configuration canary rolled back, within the last 24 hours; shows how long agoThe Releases tab
Canary #N awaiting promotionThe window passed; waiting for Promote to all nowThe Releases tab
Canary #N under observationThe candidate runs on the canary nodes, with a countdown to the window's endThe Releases tab
Lagging nodes: NOnline, healthy nodes that do not run their target revision or need an upgradeThe cluster
Nodes without a public address: NOnline nodes without an address DNS can use, only in clusters whose DNS is not Not managed; see Nodes without a public addressThe cluster

The three canary items appear only while the cluster's canary policy is on. API: attention of GET /api/v1/overview, see Clusters and overview.

Troubleshooting

SymptomCauseAction
The cluster still has N node(s) and M site(s)The cluster is not emptyDelete its nodes and sites, then retry
Turn the cluster's DNS off and wait for its records to be removedThe cluster's DNS is still Automatic or still owns recordsSwitch to Not managed on the DNS tab, wait for cleanup, then retry
Cluster name already exists: … / Node group already exists: … / Region code already exists: …Duplicate name or codeUse another name or code
The default node group cannot be deletedDeleting the default node groupThe default node group can only be renamed or given another region
N probes still belong to this regionDeleting a region that still has probesDelete those probes on the Monitoring tab of System settings first
The node group belongs to another clusterMoving a node across clustersNodes move only within their cluster; changing clusters means deleting and enrolling again
This cluster has reached its limit of 512 published sitesThe cluster's enabled sites reached the limitDisable sites no longer in use, or create new sites in another cluster through /api/v1 with clusterId
Nodes do not support {features} yet: {nodes}A change published by a service account or an automatic job needs a capability active nodes of the cluster lackUpgrade the nodes; see Node upgrades
The rollback references resources that are gone or unavailable (in the rollback confirmation)A site, domain, certificate, IP list or L4 app the chosen revision references was deleted, an L4 app's port is outside the port pools, or the certificate has expiredPick a more recent revision, or fix the current configuration
Edit on GitHub

On this page