Dormeto

Docs

routers

The routers of both clouds: dormeto aws routers through the manager, dormeto gcp routers in a Google Cloud project.

10 min read

routers description dormeto aws only

Prints, sets or clears a router's description.

dormeto aws routers description <router> [--set <text> | --file <path or -> | --clear] [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>a router's namerequiredThe router.
--seta text—The description, in Markdown, up to 4,000 characters.
--filea file or -—Reads the description from it.
--clear——Removes the description.
dormeto aws routers description prod-eu --set "Production, Ireland"

Table

prod-eu: description set (19 characters)

JSON

{
  "description": {
    "text": "Production, Ireland",
    "by": "ops@example.com",
    "at": "2026-11-14T10:00:00.000Z"
  }
}
  • Alone, it prints the Markdown, who wrote it and when, or no description (Workloads).
  • Writing it needs an administrator.

routers install

Amazon Web Servicesdormeto aws

Installs a router in an AWS account and region, through the manager; it needs an administrator.

dormeto aws routers install --account <12 digits> --router-region <region> [--no-wait] [--timeout <duration>] [--dry-run] [--yes]
OptionValuesDefaultEffect
--account12 digitsrequiredAn AWS account with the command role; a project ID: exit 2.
--router-regionan AWS regionrequiredThe router's region.
--no-wait——Prints the operation's id instead (operations watch).
--timeouta duration1hStops waiting; the work goes on.
dormeto aws routers install --account 111122223333 --router-region eu-west-1

Table

started install-router 1d4e7a2b-8c3f-4b9e-a5d1-6f0c2e8b3a94 for 111122223333/eu-west-1
✓ 111122223333/eu-west-1: install-router succeeded in 1m30s

JSON

{
  "id": "1d4e7a2b-8c3f-4b9e-a5d1-6f0c2e8b3a94",
  "type": "install-router",
  "target": {
    "account": "111122223333",
    "region": "eu-west-1",
    "cloud": "aws"
  },
  "input": {
    "account": "111122223333",
    "region": "eu-west-1"
  },
  "status": "succeeded",
  "steps": [
    {
      "name": "find router",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "lock router",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "install roles",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "install table",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "install queues",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "install log groups",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "install functions",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "install async invoke",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "install event source mappings",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "install permissions",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "install event rule",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "install schedule",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "register router",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "access entries",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "kubernetes proxies",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "check clusters",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    },
    {
      "name": "verify router",
      "status": "done",
      "startedAt": "2026-11-14T10:00:00.000Z",
      "finishedAt": "2026-11-14T10:01:30.000Z",
      "attempts": 1
    }
  ],
  "cursor": 17,
  "holds": {
    "locks": [],
    "slots": []
  },
  "activeKey": "",
  "context": {},
  "by": "arn:aws:sts::111122223333:assumed-role/ops/ci",
  "createdAt": "2026-11-14T10:00:00.000Z",
  "updatedAt": "2026-11-14T10:01:30.000Z",
  "finishedAt": "2026-11-14T10:01:30.000Z"
}
  • It follows the operation step by step.
  • A failed step prints its detail. Ctrl-C stops following, not the operation.
  • A refusal no_access: the account has no command role.

dormeto gcp

Installs a router and its access in a Google Cloud project and region, or upgrades it.

dormeto gcp routers install --project <project> --region <region> [--version <version> | --image <image> | --access-only] [--with cloud-sql,gke] \
  [--ip-list name=<n>,url=<u>[,refresh_hours=<hours>]]... [--no-ip-lists] [--custom-pages[=false]] [--dry-run] [--yes]
OptionValuesDefaultEffect
--versiona versionthe newest this CLI installsThe router's version, from Dormeto's public image.
--imagean image tagged with its versionDormeto'sYour own router image.
--access-only——The access, without the router.
--withcloud-sql or gke, comma-separated or repeatedthe record'sThese features' optional access.
--ip-listname=<n>,url=<u>[,refresh_hours=<hours>], repeatablethe record'sThe router's IP lists, replacing them.
--no-ip-lists——Clears the IP lists.
--custom-pagestrue or falsethe record'sThe custom pages switch, on or off.
dormeto gcp routers install --project my-project --region europe-west1 --yes

Table

Checked: ops@example.com holds every permission dormeto gcp routers install needs in project my-project.
Checked: image europe-docker.pkg.dev/dormeto-releases/router/router:0.40.0 is public, digest sha256:5d2c8a1b9e4f7a3c6b0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b.
Plan for project my-project, router dmtr-europe-west1:
  + API compute.googleapis.com
  + API run.googleapis.com
  + API firestore.googleapis.com
  + API cloudtasks.googleapis.com
  + API cloudscheduler.googleapis.com
  + API monitoring.googleapis.com
  + API iam.googleapis.com
  + API cloudresourcemanager.googleapis.com
  + API logging.googleapis.com
  + database dmtr-europe-west1 (Firestore Native, europe-west1)
  + log view dmtr-europe-west1-lb (bucket _Default, the load balancers' request logs)
  + role dormetoRouter "Dormeto router" (32 permissions)
  + role dormetoRouterBackends "Dormeto router backends" (7 permissions)
  + service account dmtr-europe-west1@my-project.iam.gserviceaccount.com
  + tag dormeto/managed
  + grant projects/my-project/roles/dormetoRouter to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project
  + grant projects/my-project/roles/dormetoRouterBackends to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "Dormeto-managed resources": resource.matchTag('my-project/dormeto', 'managed')
  + grant roles/datastore.user to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "The router's database": resource.name == "projects/my-project/databases/dmtr-europe-west1"
  + grant roles/logging.viewAccessor to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "The router's log view": resource.name == "projects/my-project/locations/global/buckets/_Default/views/dmtr-europe-west1-lb"
  + queue dmtr-europe-west1 (3 attempts, backoff 5 to 60 s)
  + grant roles/cloudtasks.enqueuer to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on queue dmtr-europe-west1
  + grant roles/iam.serviceAccountUser to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on service account dmtr-europe-west1@my-project.iam.gserviceaccount.com
  + service dmtr-europe-west1-controller (image europe-docker.pkg.dev/dormeto-releases/router/router@sha256:5d2c8a1b9e4f7a3c6b0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b, ingress all, invoker check on, 0 to 10 instances, 10 concurrent requests, timeout 1800 s, 512 MiB, CPU during requests only, as dmtr-europe-west1@my-project.iam.gserviceaccount.com)
  + grant roles/run.invoker to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on controller dmtr-europe-west1-controller
  + service dmtr-europe-west1-waker (image europe-docker.pkg.dev/dormeto-releases/router/router@sha256:5d2c8a1b9e4f7a3c6b0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b, ingress internal and Cloud Load Balancing, invoker check off, 0 to 10 instances, 80 concurrent requests, timeout 120 s, 256 MiB, CPU during requests only, as dmtr-europe-west1@my-project.iam.gserviceaccount.com)
  + network endpoint group dmtr-europe-west1-waker (serverless, Cloud Run service dmtr-europe-west1-waker)
  + job dmtr-europe-west1-check (*/5 * * * * Etc/UTC, attempt deadline 300 s, POST https://dmtr-europe-west1-controller-123456789012.europe-west1.run.app/v1/check, OIDC of dmtr-europe-west1@my-project.iam.gserviceaccount.com, audience https://dmtr-europe-west1-controller-123456789012.europe-west1.run.app)
  + record install/record in database dmtr-europe-west1
Turning APIs on and creating the database can make Google add bindings of its own: they are shown after those steps. Expected:
  roles/cloudscheduler.serviceAgent to serviceAccount:service-123456789012@gcp-sa-cloudscheduler.iam.gserviceaccount.com on the project, after apis (Cloud Scheduler's service agent)
  roles/cloudtasks.serviceAgent to serviceAccount:service-123456789012@gcp-sa-cloudtasks.iam.gserviceaccount.com on the project, after apis (Cloud Tasks' service agent)
  roles/containerregistry.ServiceAgent to serviceAccount:service-123456789012@containerregistry.iam.gserviceaccount.com on the project, after apis (Container Registry's service agent)
  roles/pubsub.serviceAgent to serviceAccount:service-123456789012@gcp-sa-pubsub.iam.gserviceaccount.com on the project, after apis (Pub/Sub's service agent)
  roles/run.serviceAgent to serviceAccount:service-123456789012@serverless-robot-prod.iam.gserviceaccount.com on the project, after apis (Cloud Run's service agent)
  roles/firestore.serviceAgent to serviceAccount:service-123456789012@gcp-sa-firestore.iam.gserviceaccount.com on the project, after database (Firestore's service agent)
  roles/firebaserules.system to serviceAccount:service-123456789012@firebase-rules.iam.gserviceaccount.com on the project, after projectBindings (late from the database: Firebase Rules' system account)
  ✓ apis: turned on compute.googleapis.com, run.googleapis.com, firestore.googleapis.com, cloudtasks.googleapis.com, cloudscheduler.googleapis.com, monitoring.googleapis.com, iam.googleapis.com, cloudresourcemanager.googleapis.com, logging.googleapis.com
      IAM + roles/run.serviceAgent to serviceAccount:service-123456789012@serverless-robot-prod.iam.gserviceaccount.com on the project (Google, after apis)
  ✓ database: created dmtr-europe-west1 (Firestore Native, europe-west1), wrote install/record
      IAM + roles/firestore.serviceAgent to serviceAccount:service-123456789012@gcp-sa-firestore.iam.gserviceaccount.com on the project (Google, after database)
  ✓ logView: created dmtr-europe-west1-lb (bucket _Default, the load balancers' request logs)
  ✓ roles: created dormetoRouter, created dormetoRouterBackends
  ✓ serviceAccount: created dmtr-europe-west1@my-project.iam.gserviceaccount.com
  ✓ tag: created dormeto/managed
  ✓ projectBindings: granted 4 roles on the project
      IAM + projects/my-project/roles/dormetoRouter to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project (Dormeto)
      IAM + projects/my-project/roles/dormetoRouterBackends to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "Dormeto-managed resources": resource.matchTag('my-project/dormeto', 'managed') (Dormeto)
      IAM + roles/datastore.user to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "The router's database": resource.name == "projects/my-project/databases/dmtr-europe-west1" (Dormeto)
      IAM + roles/logging.viewAccessor to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "The router's log view": resource.name == "projects/my-project/locations/global/buckets/_Default/views/dmtr-europe-west1-lb" (Dormeto)
  ✓ queue: created dmtr-europe-west1 (3 attempts, backoff 5 to 60 s), granted roles/cloudtasks.enqueuer on it
      IAM + roles/cloudtasks.enqueuer to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on queue dmtr-europe-west1 (Dormeto)
  ✓ serviceAccountBinding: granted roles/iam.serviceAccountUser on dmtr-europe-west1@my-project.iam.gserviceaccount.com
      IAM + roles/iam.serviceAccountUser to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on service account dmtr-europe-west1@my-project.iam.gserviceaccount.com (Dormeto)
  ✓ cloudRun: created dmtr-europe-west1-controller, granted roles/run.invoker on it, created dmtr-europe-west1-waker (invoker check off)
      IAM + roles/run.invoker to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on controller dmtr-europe-west1-controller (Dormeto)
  ✓ neg: created dmtr-europe-west1-waker
  ✓ job: created dmtr-europe-west1-check
  ✓ record: wrote install/record in database dmtr-europe-west1
  ✓ verified: the planned grants, the roles' permissions, the service account, the database, the queue and the log view
  ✓ verified: both Cloud Run services ready, the controller's URL among its URLs, the network endpoint group, the job, /v1/health answering version 0.40.0
Installed router dmtr-europe-west1 in project my-project, version 0.40.0.

JSON

{
  "plan": [
    "+ API compute.googleapis.com",
    "+ API run.googleapis.com",
    "+ API firestore.googleapis.com",
    "+ API cloudtasks.googleapis.com",
    "+ API cloudscheduler.googleapis.com",
    "+ API monitoring.googleapis.com",
    "+ API iam.googleapis.com",
    "+ API cloudresourcemanager.googleapis.com",
    "+ API logging.googleapis.com",
    "+ database dmtr-europe-west1 (Firestore Native, europe-west1)",
    "+ log view dmtr-europe-west1-lb (bucket _Default, the load balancers' request logs)",
    "+ role dormetoRouter \"Dormeto router\" (32 permissions)",
    "+ role dormetoRouterBackends \"Dormeto router backends\" (7 permissions)",
    "+ service account dmtr-europe-west1@my-project.iam.gserviceaccount.com",
    "+ tag dormeto/managed",
    "+ grant projects/my-project/roles/dormetoRouter to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project",
    "+ grant projects/my-project/roles/dormetoRouterBackends to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if \"Dormeto-managed resources\": resource.matchTag('my-project/dormeto', 'managed')",
    "+ grant roles/datastore.user to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if \"The router's database\": resource.name == \"projects/my-project/databases/dmtr-europe-west1\"",
    "+ grant roles/logging.viewAccessor to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if \"The router's log view\": resource.name == \"projects/my-project/locations/global/buckets/_Default/views/dmtr-europe-west1-lb\"",
    "+ queue dmtr-europe-west1 (3 attempts, backoff 5 to 60 s)",
    "+ grant roles/cloudtasks.enqueuer to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on queue dmtr-europe-west1",
    "+ grant roles/iam.serviceAccountUser to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on service account dmtr-europe-west1@my-project.iam.gserviceaccount.com",
    "+ service dmtr-europe-west1-controller (image europe-docker.pkg.dev/dormeto-releases/router/router@sha256:5d2c8a1b9e4f7a3c6b0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b, ingress all, invoker check on, 0 to 10 instances, 10 concurrent requests, timeout 1800 s, 512 MiB, CPU during requests only, as dmtr-europe-west1@my-project.iam.gserviceaccount.com)",
    "+ grant roles/run.invoker to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on controller dmtr-europe-west1-controller",
    "+ service dmtr-europe-west1-waker (image europe-docker.pkg.dev/dormeto-releases/router/router@sha256:5d2c8a1b9e4f7a3c6b0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b, ingress internal and Cloud Load Balancing, invoker check off, 0 to 10 instances, 80 concurrent requests, timeout 120 s, 256 MiB, CPU during requests only, as dmtr-europe-west1@my-project.iam.gserviceaccount.com)",
    "+ network endpoint group dmtr-europe-west1-waker (serverless, Cloud Run service dmtr-europe-west1-waker)",
    "+ job dmtr-europe-west1-check (*/5 * * * * Etc/UTC, attempt deadline 300 s, POST https://dmtr-europe-west1-controller-123456789012.europe-west1.run.app/v1/check, OIDC of dmtr-europe-west1@my-project.iam.gserviceaccount.com, audience https://dmtr-europe-west1-controller-123456789012.europe-west1.run.app)",
    "+ record install/record in database dmtr-europe-west1"
  ],
  "targets": [
    "dmtr-my-project-europe-west1"
  ]
}
  • What it creates: Router; run again, it plans only what differs.
  • dormeto gcp routers install --version <version> upgrades a router.

routers list dormeto aws only

Lists the routers of both clouds: version, health and workloads.

dormeto aws routers list [--outdated] [--name <glob>] [--account <id>]... [--project <id>]... [--router-region <region>]... [--tag k=v]... [--cloud aws|gcp]
OptionValuesDefaultEffect
--outdated——Routers below the version available.
--namea glob: *, ? or […]—Routers whose name matches.
--account12 digits or a project ID, comma-separated or repeatedallRouters of these accounts or projects.
--projectproject IDs, comma-separated or repeated—An alias of --account.
--router-regionregions, comma-separated or repeatedallRouters in these regions.
--tagk=v, repeatable—Routers serving a workload with these tags.
--cloudaws or gcpbothOne cloud's rows, by their CLOUD column; totals stay both clouds'.
dormeto aws routers list

Table

NAME                          CLOUD  ACCOUNT OR PROJECT  REGION        SOURCE   VERSION          HEALTH   WORKLOADS
prod-eu                       aws    111122223333        eu-west-1     manager  0.40.0           healthy  2 (1 ASLEEP, 1 AWAKE)
prod-us                       aws    111122223333        us-east-1     manager  0.39.0 → 0.40.0  healthy  0
dmtr-my-project-europe-west1  gcp    my-project          europe-west1  cli      0.40.0           healthy  1 (1 ASLEEP)
available 0.40.0 · 1 of 3 outdated

JSON

{
  "routers": [
    {
      "name": "prod-eu",
      "region": "eu-west-1",
      "account": "111122223333",
      "cloud": "aws",
      "source": "manager",
      "version": "0.40.0",
      "build": "b2026.11.12",
      "workloads": 2,
      "checkSchedule": "rate(5 minutes)",
      "lastScheduledCheckAt": "2026-11-14T09:55:00.000Z",
      "health": {
        "status": "healthy",
        "problems": []
      },
      "pauses": [],
      "workloadStates": {
        "ASLEEP": 1,
        "AWAKE": 1
      },
      "paused": 0,
      "lastActivityAt": "2026-11-14T09:52:00.000Z",
      "reporting": true,
      "checkedAt": "2026-11-14T09:55:00.000Z"
    },
    {
      "name": "prod-us",
      "region": "us-east-1",
      "account": "111122223333",
      "cloud": "aws",
      "source": "manager",
      "version": "0.39.0",
      "build": "b2026.11.02",
      "workloads": 0,
      "checkSchedule": "rate(5 minutes)",
      "lastScheduledCheckAt": "2026-11-14T09:55:00.000Z",
      "health": {
        "status": "healthy",
        "problems": []
      },
      "pauses": [],
      "workloadStates": {},
      "paused": 0,
      "lastActivityAt": null,
      "reporting": true,
      "checkedAt": "2026-11-14T09:55:00.000Z"
    },
    {
      "name": "dmtr-my-project-europe-west1",
      "region": "europe-west1",
      "account": "my-project",
      "cloud": "gcp",
      "source": "cli",
      "version": "0.40.0",
      "build": "b2026.11.12",
      "workloads": 1,
      "checkSchedule": "*/5 * * * *",
      "lastScheduledCheckAt": "2026-11-14T09:55:00.000Z",
      "health": {
        "status": "healthy",
        "problems": []
      },
      "pauses": [],
      "workloadStates": {
        "ASLEEP": 1
      },
      "paused": 0,
      "lastActivityAt": "2026-11-14T07:10:00.000Z",
      "reporting": true,
      "checkedAt": "2026-11-14T09:55:00.000Z"
    }
  ],
  "available": {
    "version": "0.40.0"
  }
}
  • A router that does not answer is listed, its error on stderr.

routers pause

Amazon Web Servicesdormeto aws

Stops the routers' automatic naps until they resume; it needs an operator.

dormeto aws routers pause <router>... --reason <text> [--for <duration> | --until <time>] [--keep-asleep] [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>a router's namerequiredThe routers, one or more.
--reason1 to 256 charactersrequiredWhy, shown in the dashboard.
--fora duration such as 90m, 3d or 1d12h, up to 366 daysuntil resumedHow long it lasts.
--untilHH:MM or RFC 3339, within --for's limit—When it ends, instead of --for.
--keep-asleep——Leaves them asleep: a visitor wakes them, schedules and maintenance wait.
dormeto aws routers pause prod-eu --reason "database migration" --for 2h

Table

prod-eu: paused until 2026-11-14 12:00 UTC; woken web

JSON

{
  "prod-eu": {
    "pause": {
      "scope": "router",
      "by": "arn:aws:sts::111122223333:assumed-role/ops/ci",
      "at": "2026-11-14T10:00:00.000Z",
      "reason": "database migration",
      "until": "2026-11-14T12:00:00.000Z",
      "keepAsleep": false
    },
    "woken": [
      "web"
    ]
  }
}

dormeto gcp

Stops the router's automatic naps until it resumes.

dormeto gcp routers pause --project <project> --region <region> --reason <text> [--for <duration> | --until <time>] [--keep-asleep] [--dry-run] [--yes]
OptionValuesDefaultEffect
--reason1 to 256 charactersrequiredWhy, shown in the dashboard.
--fora duration such as 90m, 3d or 1d12h, up to 366 daysuntil resumedHow long it lasts.
--untilHH:MM or RFC 3339, within --for's limit—When it ends, instead of --for.
--keep-asleep——Leaves them asleep: a visitor wakes them, schedules and maintenance wait.
dormeto gcp routers pause --project my-project --region europe-west1 --reason "database migration" --for 2h

Table

dmtr-my-project-europe-west1: paused until 2026-11-14 12:00 UTC; woken shop

JSON

{
  "dmtr-my-project-europe-west1": {
    "pause": {
      "at": "2026-11-09T10:00:00.000Z",
      "by": "ops@example.com",
      "keepAsleep": false,
      "reason": "database migration",
      "until": "2026-11-14T12:00:00Z"
    },
    "woken": [
      "shop"
    ]
  }
}
  • The workloads asleep wake first, unless kept asleep; the woken ones are printed.

routers resume

Amazon Web Servicesdormeto aws

Ends the routers' pause: their workloads follow their schedule and idle rules again.

dormeto aws routers resume <router>... [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>a router's namerequiredThe routers, one or more.
dormeto aws routers resume prod-eu

Table

prod-eu: resumed

JSON

{
  "prod-eu": {
    "resumed": true
  }
}

dormeto gcp

Ends the router's pause: its workloads follow their schedule and idle rules again.

dormeto gcp routers resume --project <project> --region <region> [--dry-run] [--yes]

No option of its own.

dormeto gcp routers resume --project my-project --region europe-west1

Table

dmtr-my-project-europe-west1: resumed

JSON

{
  "dmtr-my-project-europe-west1": {
    "resumed": true
  }
}
  • A workload's own pause stays when its router resumes.
  • A router that was not paused says not paused.

routers settings

Amazon Web Servicesdormeto aws

Sets the router's level of the workloads' settings; it needs an administrator.

dormeto aws routers settings <router>... [--hibernate true|false|inherit] [--join-minutes <minutes>|inherit] [<settings>] [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>a router's namerequiredThe routers, one or more.
--hibernatetrue, false or inherit—Hibernate.
--join-minutesminutes or inherit—Joined windows.
--idle-minutesminutes or inherit—Idle window.
--wait-secondsseconds or inherit—Hold.
--drain-secondsseconds or inherit—Drain.
--wake-timeout-secondsseconds or inherit—Wake timeout.
--max-holdersrequests or inherit—Held requests.
--failed-retry-secondsseconds or inherit—Retry after a failed wake.
--wake-modeany, browser or inherit—Wake mode.
--no-wake-rules-filea JSON file, - or inherit—No-wake rules.
--wake-rules-filea JSON file, - or inherit—Wake rules.
dormeto aws routers settings prod-eu --idle-minutes 30

Table

prod-eu: workload settings set

JSON

{
  "prod-eu": {
    "level": "router",
    "settings": {
      "hibernate": true,
      "defaults": {
        "idleMinutes": 30
      },
      "by": "arn:aws:sts::111122223333:assumed-role/ops/ci",
      "at": "2026-11-14T10:00:00.000Z"
    }
  }
}
  • A router too old for a setting is refused, with the version to upgrade it to.

dormeto gcp

Sets the router's level of the workloads' settings.

dormeto gcp routers settings --project <project> --region <region> [--hibernate true|false|inherit] [--join-minutes <minutes>|inherit] [<settings>] [--dry-run] [--yes]
OptionValuesDefaultEffect
--hibernatetrue, false or inherit—Hibernate.
--join-minutesminutes or inherit—Joined windows.
--idle-minutesminutes or inherit—Idle window.
--wait-secondsseconds or inherit—Hold.
--drain-secondsseconds or inherit—Drain.
--wake-timeout-secondsseconds or inherit—Wake timeout.
--max-holdersrequests or inherit—Held requests.
--failed-retry-secondsseconds or inherit—Retry after a failed wake.
--wake-modeany, browser or inherit—Wake mode.
--no-wake-rules-filea JSON file, - or inherit—No-wake rules.
--wake-rules-filea JSON file, - or inherit—Wake rules.
dormeto gcp routers settings --project my-project --region europe-west1 --idle-minutes 30

Table

dmtr-my-project-europe-west1: workload settings set

JSON

{
  "dmtr-my-project-europe-west1": {
    "level": "router",
    "settings": {
      "at": "2026-11-01T10:00:00.000Z",
      "by": "ops@example.com",
      "defaults": {
        "idleMinutes": 30
      },
      "hibernate": null,
      "joinMinutes": null
    }
  }
}
  • It refuses any value but inherit of the hold, the held requests and the drain (Workloads).
  • routers settings with no option shows the router's level.
  • <settings> stands for the options from --idle-minutes on; one left out keeps its value.

routers show

Amazon Web Servicesdormeto aws

Prints a router's version, health, problems, pauses and settings, each with its source.

dormeto aws routers show <router>
OptionValuesDefaultEffect
<router>a router's namerequiredThe router.
dormeto aws routers show prod-eu

Table

router          prod-eu
cloud           aws
account         111122223333
region          eu-west-1
source          manager
version         0.40.0 (build b2026.11.12)
health          healthy
idle check      rate(5 minutes), last scheduled run 2026-11-14 09:55 UTC
lambda          controller 0 errors, 0 throttles; waker 0 errors, 0 throttles, peak concurrency 2 (24 hours)
failure queues  check-failures 0, controller-failures 0
concurrency     limit 1000, needs up to 20
workloads       2 (1 ASLEEP, 1 AWAKE), 0 paused
last activity   2026-11-14 09:52 UTC

description
  Production, Ireland
  — ops@example.com, 2026-11-02 14:00 UTC

configuration
  idle check schedule      rate(5 minutes) (manager)
  wake statistics metrics  published (manager)
  ip lists                 scanners (defer, every 24 h) (manager)
  no-wake rules            none

JSON

{
  "name": "prod-eu",
  "region": "eu-west-1",
  "account": "111122223333",
  "cloud": "aws",
  "source": "manager",
  "router": {
    "name": "prod-eu",
    "version": "0.40.0",
    "build": "b2026.11.12"
  },
  "configuration": {
    "checkSchedule": {
      "value": "rate(5 minutes)",
      "source": "manager"
    },
    "ipLists": {
      "value": [
        {
          "name": "scanners",
          "url": "https://ip-lists.dormeto.com/scanners.txt",
          "action": "defer",
          "refreshHours": 24
        }
      ],
      "source": "manager"
    },
    "metrics": {
      "value": true,
      "source": "manager"
    }
  },
  "pauses": [],
  "workloads": {
    "total": 2,
    "byState": {
      "ASLEEP": 1,
      "AWAKE": 1
    },
    "paused": 0,
    "lastActivityAt": "2026-11-14T09:52:00.000Z"
  },
  "health": {
    "status": "healthy",
    "problems": [],
    "checkSchedule": "rate(5 minutes)",
    "lastScheduledCheckAt": "2026-11-14T09:55:00.000Z",
    "lambda": {
      "controller": {
        "errors": 0,
        "throttles": 0
      },
      "waker": {
        "errors": 0,
        "throttles": 0,
        "peakConcurrency": 2
      }
    },
    "queues": {
      "check": 0,
      "controller": 0
    },
    "ipLists": [],
    "concurrency": {
      "limit": 1000,
      "needed": 20
    }
  },
  "description": {
    "text": "Production, Ireland",
    "by": "ops@example.com",
    "at": "2026-11-02T14:00:00.000Z"
  }
}
  • A setting's source is terraform, the router's module, or manager.

dormeto gcp

Prints a project's routers: each install record and live state, read-only.

dormeto gcp routers show --project <project> [--region <region>]
OptionValuesDefaultEffect
--regiona regionevery router of the projectThe router to show.
dormeto gcp routers show --project my-project --region europe-west1

Table

Project my-project (123456789012)
Router dmtr-europe-west1, region europe-west1: version 0.40.0, image europe-docker.pkg.dev/dormeto-releases/router/router:0.40.0
  installed 2026-11-14T10:00:00Z, updated 2026-11-14T10:00:00Z by ops@example.com with the CLI 0.14.0
  custom pages: off
  ✓ service dmtr-europe-west1-controller: ready, image europe-docker.pkg.dev/dormeto-releases/router/router@sha256:5d2c8a1b9e4f7a3c6b0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b, https://dmtr-europe-west1-controller-123456789012.europe-west1.run.app
  ✓ service dmtr-europe-west1-waker: ready, image europe-docker.pkg.dev/dormeto-releases/router/router@sha256:5d2c8a1b9e4f7a3c6b0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b
  ✓ health https://dmtr-europe-west1-controller-123456789012.europe-west1.run.app: version 0.40.0
  ✓ network endpoint group dmtr-europe-west1-waker: serverless, Cloud Run service dmtr-europe-west1-waker
  ✓ queue dmtr-europe-west1: RUNNING
  ✓ job dmtr-europe-west1-check: ENABLED, */5 * * * * Etc/UTC
  ✓ database dmtr-europe-west1: FIRESTORE_NATIVE, europe-west1
  manager: reports to abc123.execute-api.eu-west-1.amazonaws.com, last 2026-11-14T09:55:00Z
  ✓ grant projects/my-project/roles/dormetoRouter to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project
  ✓ grant projects/my-project/roles/dormetoRouterBackends to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "Dormeto-managed resources": resource.matchTag('my-project/dormeto', 'managed')
  ✓ grant roles/datastore.user to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "The router's database": resource.name == "projects/my-project/databases/dmtr-europe-west1"
  ✓ grant roles/logging.viewAccessor to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "The router's log view": resource.name == "projects/my-project/locations/global/buckets/_Default/views/dmtr-europe-west1-lb"
  ✓ grant roles/cloudtasks.enqueuer to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on queue dmtr-europe-west1
  ✓ grant roles/iam.serviceAccountUser to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on service account dmtr-europe-west1@my-project.iam.gserviceaccount.com
  ✓ grant roles/run.invoker to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on controller dmtr-europe-west1-controller
  Google added: roles/run.serviceAgent to serviceAccount:service-123456789012@serverless-robot-prod.iam.gserviceaccount.com (after apis)
  Google added: roles/firestore.serviceAgent to serviceAccount:service-123456789012@gcp-sa-firestore.iam.gserviceaccount.com (after database)

JSON

{
  "project": {
    "id": "my-project",
    "number": "123456789012",
    "parent": "organizations/42"
  },
  "routers": [
    {
      "router": "dmtr-europe-west1",
      "region": "europe-west1",
      "ok": true,
      "record": {
        "cli": "0.14.0",
        "image": "europe-docker.pkg.dev/dormeto-releases/router/router:0.40.0",
        "routerVersion": "0.40.0",
        "region": "europe-west1",
        "serviceAccount": "dmtr-europe-west1@my-project.iam.gserviceaccount.com",
        "resources": [
          {
            "kind": "api",
            "name": "compute.googleapis.com"
          },
          {
            "kind": "api",
            "name": "run.googleapis.com"
          },
          {
            "kind": "api",
            "name": "firestore.googleapis.com"
          },
          {
            "kind": "api",
            "name": "cloudtasks.googleapis.com"
          },
          {
            "kind": "api",
            "name": "cloudscheduler.googleapis.com"
          },
          {
            "kind": "api",
            "name": "monitoring.googleapis.com"
          },
          {
            "kind": "api",
            "name": "iam.googleapis.com"
          },
          {
            "kind": "api",
            "name": "cloudresourcemanager.googleapis.com"
          },
          {
            "kind": "api",
            "name": "logging.googleapis.com"
          },
          {
            "kind": "database",
            "name": "projects/my-project/databases/dmtr-europe-west1"
          },
          {
            "kind": "logView",
            "name": "projects/my-project/locations/global/buckets/_Default/views/dmtr-europe-west1-lb"
          },
          {
            "kind": "role",
            "name": "projects/my-project/roles/dormetoRouter"
          },
          {
            "kind": "role",
            "name": "projects/my-project/roles/dormetoRouterBackends"
          },
          {
            "kind": "serviceAccount",
            "name": "projects/my-project/serviceAccounts/dmtr-europe-west1@my-project.iam.gserviceaccount.com"
          },
          {
            "kind": "tagKey",
            "name": "tagKeys/3"
          },
          {
            "kind": "tagValue",
            "name": "tagValues/5"
          },
          {
            "kind": "queue",
            "name": "projects/my-project/locations/europe-west1/queues/dmtr-europe-west1"
          },
          {
            "kind": "service",
            "name": "projects/my-project/locations/europe-west1/services/dmtr-europe-west1-controller"
          },
          {
            "kind": "service",
            "name": "projects/my-project/locations/europe-west1/services/dmtr-europe-west1-waker"
          },
          {
            "kind": "neg",
            "name": "projects/my-project/regions/europe-west1/networkEndpointGroups/dmtr-europe-west1-waker"
          },
          {
            "kind": "job",
            "name": "projects/my-project/locations/europe-west1/jobs/dmtr-europe-west1-check"
          }
        ],
        "grants": [
          {
            "role": "projects/my-project/roles/dormetoRouter",
            "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
            "on": "project"
          },
          {
            "role": "projects/my-project/roles/dormetoRouterBackends",
            "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
            "on": "project",
            "condition": {
              "title": "Dormeto-managed resources",
              "expression": "resource.matchTag('my-project/dormeto', 'managed')"
            }
          },
          {
            "role": "roles/datastore.user",
            "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
            "on": "project",
            "condition": {
              "title": "The router's database",
              "expression": "resource.name == \"projects/my-project/databases/dmtr-europe-west1\""
            }
          },
          {
            "role": "roles/logging.viewAccessor",
            "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
            "on": "project",
            "condition": {
              "title": "The router's log view",
              "expression": "resource.name == \"projects/my-project/locations/global/buckets/_Default/views/dmtr-europe-west1-lb\""
            }
          },
          {
            "role": "roles/cloudtasks.enqueuer",
            "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
            "on": "queue"
          },
          {
            "role": "roles/iam.serviceAccountUser",
            "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
            "on": "serviceAccount"
          },
          {
            "role": "roles/run.invoker",
            "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
            "on": "controller"
          }
        ],
        "google": [
          {
            "role": "roles/run.serviceAgent",
            "member": "serviceAccount:service-123456789012@serverless-robot-prod.iam.gserviceaccount.com",
            "step": "apis"
          },
          {
            "role": "roles/firestore.serviceAgent",
            "member": "serviceAccount:service-123456789012@gcp-sa-firestore.iam.gserviceaccount.com",
            "step": "database"
          }
        ],
        "before": [
          {
            "role": "roles/owner",
            "members": [
              "user:ops@example.com"
            ]
          }
        ],
        "installedAt": "2026-11-14T10:00:00Z",
        "updatedAt": "2026-11-14T10:00:00Z",
        "by": "ops@example.com",
        "digest": "sha256:5d2c8a1b9e4f7a3c6b0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b"
      },
      "version": "0.40.0",
      "report": {
        "host": "abc123.execute-api.eu-west-1.amazonaws.com",
        "lastSentAt": "2026-11-14T09:55:00Z",
        "sentThrough": "j-1042"
      },
      "resources": [
        {
          "kind": "service",
          "name": "dmtr-europe-west1-controller",
          "ok": true,
          "state": "ready",
          "detail": "image europe-docker.pkg.dev/dormeto-releases/router/router@sha256:5d2c8a1b9e4f7a3c6b0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b, https://dmtr-europe-west1-controller-123456789012.europe-west1.run.app"
        },
        {
          "kind": "service",
          "name": "dmtr-europe-west1-waker",
          "ok": true,
          "state": "ready",
          "detail": "image europe-docker.pkg.dev/dormeto-releases/router/router@sha256:5d2c8a1b9e4f7a3c6b0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b"
        },
        {
          "kind": "health",
          "name": "https://dmtr-europe-west1-controller-123456789012.europe-west1.run.app",
          "ok": true,
          "state": "version 0.40.0"
        },
        {
          "kind": "neg",
          "name": "dmtr-europe-west1-waker",
          "ok": true,
          "state": "serverless",
          "detail": "Cloud Run service dmtr-europe-west1-waker"
        },
        {
          "kind": "queue",
          "name": "dmtr-europe-west1",
          "ok": true,
          "state": "RUNNING"
        },
        {
          "kind": "job",
          "name": "dmtr-europe-west1-check",
          "ok": true,
          "state": "ENABLED",
          "detail": "*/5 * * * * Etc/UTC"
        },
        {
          "kind": "database",
          "name": "dmtr-europe-west1",
          "ok": true,
          "state": "FIRESTORE_NATIVE",
          "detail": "europe-west1"
        }
      ],
      "grants": [
        {
          "role": "projects/my-project/roles/dormetoRouter",
          "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
          "on": "project",
          "present": true
        },
        {
          "role": "projects/my-project/roles/dormetoRouterBackends",
          "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
          "on": "project",
          "condition": {
            "title": "Dormeto-managed resources",
            "expression": "resource.matchTag('my-project/dormeto', 'managed')"
          },
          "present": true
        },
        {
          "role": "roles/datastore.user",
          "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
          "on": "project",
          "condition": {
            "title": "The router's database",
            "expression": "resource.name == \"projects/my-project/databases/dmtr-europe-west1\""
          },
          "present": true
        },
        {
          "role": "roles/logging.viewAccessor",
          "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
          "on": "project",
          "condition": {
            "title": "The router's log view",
            "expression": "resource.name == \"projects/my-project/locations/global/buckets/_Default/views/dmtr-europe-west1-lb\""
          },
          "present": true
        },
        {
          "role": "roles/cloudtasks.enqueuer",
          "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
          "on": "queue",
          "present": true
        },
        {
          "role": "roles/iam.serviceAccountUser",
          "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
          "on": "serviceAccount",
          "present": true
        },
        {
          "role": "roles/run.invoker",
          "member": "serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com",
          "on": "controller",
          "present": true
        }
      ]
    }
  ]
}
  • Its live state has custom pages: on and a manager: line: where it reports, its last report or a refusal.
  • No router: exit 1.
MessageCauseFix
DMT_CUSTOM_PAGES is not set, but the record has custom pages onA service differs from the install record: exit 1.Run the install again.

routers uninstall

Amazon Web Servicesdormeto aws

Uninstalls routers the manager installed, 3 at once at most; it needs an administrator.

dormeto aws routers uninstall <router>... [--no-wait] [--timeout <duration>] [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>a router's namerequiredThe routers, one or more.
--no-wait——Prints the operation's id instead (operations watch).
--timeouta duration1hStops waiting; the work goes on.
dormeto aws routers uninstall prod-us --yes

Table

started uninstall-router c3b8e1f2-6a4d-4e97-8b0c-5f2d9a1e7c36 for prod-us
✓ prod-us: uninstall-router succeeded in 1m30s

JSON

[
  {
    "id": "c3b8e1f2-6a4d-4e97-8b0c-5f2d9a1e7c36",
    "type": "uninstall-router",
    "target": {
      "account": "111122223333",
      "region": "us-east-1",
      "cloud": "aws"
    },
    "input": {
      "account": "111122223333",
      "region": "us-east-1"
    },
    "status": "succeeded",
    "steps": [
      {
        "name": "find router",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "lock router",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "mark uninstalling",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "check empty",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "remove access entries",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "remove kubernetes proxies",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "uninstall event rule",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "uninstall schedule",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "uninstall event source mappings",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "uninstall functions",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "uninstall queues",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "uninstall log groups",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "uninstall table",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "uninstall roles",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      },
      {
        "name": "unregister router",
        "status": "done",
        "startedAt": "2026-11-14T10:00:00.000Z",
        "finishedAt": "2026-11-14T10:01:30.000Z",
        "attempts": 1
      }
    ],
    "cursor": 15,
    "holds": {
      "locks": [],
      "slots": []
    },
    "activeKey": "",
    "context": {},
    "by": "arn:aws:sts::111122223333:assumed-role/ops/ci",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:01:30.000Z",
    "finishedAt": "2026-11-14T10:01:30.000Z"
  }
]
  • It skips a router dormeto gcp installed.
  • Its step check empty refuses a router that still has workloads.
  • A failed step prints its detail. Ctrl-C stops following, not the operation.

dormeto gcp

Removes what routers install added for a router, from its install record.

dormeto gcp routers uninstall --project <project> --region <region> [--force] [--with cloud-sql,gke] [--dry-run] [--yes]
OptionValuesDefaultEffect
--force——Offboards the workloads first.
--withcloud-sql or gke, comma-separated or repeatedthe record'sAlso tests these features' offboard permissions, with --force.
dormeto gcp routers uninstall --project my-project --region europe-west1 --yes

Table

Checked: ops@example.com holds every permission dormeto gcp routers uninstall needs in project my-project.
Plan for project my-project, uninstalling router dmtr-europe-west1:
  - job dmtr-europe-west1-check
  - network endpoint group dmtr-europe-west1-waker
  - service dmtr-europe-west1-waker
  - service dmtr-europe-west1-controller
  - grant roles/run.invoker to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on controller dmtr-europe-west1-controller (goes with it)
  - queue dmtr-europe-west1
  - grant roles/cloudtasks.enqueuer to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on queue dmtr-europe-west1 (goes with it)
  - database dmtr-europe-west1 (and the install record)
  - grant projects/my-project/roles/dormetoRouter to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project
  - grant projects/my-project/roles/dormetoRouterBackends to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "Dormeto-managed resources": resource.matchTag('my-project/dormeto', 'managed')
  - grant roles/datastore.user to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "The router's database": resource.name == "projects/my-project/databases/dmtr-europe-west1"
  - grant roles/logging.viewAccessor to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "The router's log view": resource.name == "projects/my-project/locations/global/buckets/_Default/views/dmtr-europe-west1-lb"
  - log view dmtr-europe-west1-lb
  - tag dormeto/managed
  - tag dormeto
  - service account dmtr-europe-west1@my-project.iam.gserviceaccount.com
  - grant roles/iam.serviceAccountUser to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on service account dmtr-europe-west1@my-project.iam.gserviceaccount.com (goes with it)
  - role dormetoRouter
  - role dormetoRouterBackends
Reinstalling in this region after this: Google may keep a deleted queue's name blocked for up to 3 days (a create can appear to succeed in that window), and a deleted database's ID for about 5 minutes.
  ✓ job: removed job dmtr-europe-west1-check
  ✓ neg: removed network endpoint group dmtr-europe-west1-waker
  ✓ cloudRun: removed service dmtr-europe-west1-waker, removed service dmtr-europe-west1-controller
      IAM - roles/run.invoker to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on controller dmtr-europe-west1-controller (Dormeto)
  ✓ queue: removed queue dmtr-europe-west1
      IAM - roles/cloudtasks.enqueuer to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on queue dmtr-europe-west1 (Dormeto)
  ✓ database: removed database dmtr-europe-west1
  ✓ projectBindings: removed 4 grants from the project
      IAM - projects/my-project/roles/dormetoRouter to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project (Dormeto)
      IAM - projects/my-project/roles/dormetoRouterBackends to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "Dormeto-managed resources": resource.matchTag('my-project/dormeto', 'managed') (Dormeto)
      IAM - roles/datastore.user to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "The router's database": resource.name == "projects/my-project/databases/dmtr-europe-west1" (Dormeto)
      IAM - roles/logging.viewAccessor to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if "The router's log view": resource.name == "projects/my-project/locations/global/buckets/_Default/views/dmtr-europe-west1-lb" (Dormeto)
  ✓ logView: removed log view dmtr-europe-west1-lb
  ✓ tag: removed tagValues/5, removed tagKeys/3
  ✓ serviceAccount: removed service account dmtr-europe-west1@my-project.iam.gserviceaccount.com
      IAM - roles/iam.serviceAccountUser to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on service account dmtr-europe-west1@my-project.iam.gserviceaccount.com (Dormeto)
  ✓ roles: removed role dormetoRouter, removed role dormetoRouterBackends
  ✓ verified: the project's IAM policy holds its bindings from before the install, and Google's
Left in place:
  API compute.googleapis.com
  API run.googleapis.com
  API firestore.googleapis.com
  API cloudtasks.googleapis.com
  API cloudscheduler.googleapis.com
  API monitoring.googleapis.com
  API iam.googleapis.com
  API cloudresourcemanager.googleapis.com
  API logging.googleapis.com
  roles/run.serviceAgent to serviceAccount:service-123456789012@serverless-robot-prod.iam.gserviceaccount.com on the project (added by Google)
  roles/firestore.serviceAgent to serviceAccount:service-123456789012@gcp-sa-firestore.iam.gserviceaccount.com on the project (added by Google)
Uninstalled router dmtr-europe-west1 from project my-project.

JSON

{
  "plan": [
    "- job dmtr-europe-west1-check",
    "- network endpoint group dmtr-europe-west1-waker",
    "- service dmtr-europe-west1-waker",
    "- service dmtr-europe-west1-controller",
    "- grant roles/run.invoker to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on controller dmtr-europe-west1-controller (goes with it)",
    "- queue dmtr-europe-west1",
    "- grant roles/cloudtasks.enqueuer to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on queue dmtr-europe-west1 (goes with it)",
    "- database dmtr-europe-west1 (and the install record)",
    "- grant projects/my-project/roles/dormetoRouter to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project",
    "- grant projects/my-project/roles/dormetoRouterBackends to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if \"Dormeto-managed resources\": resource.matchTag('my-project/dormeto', 'managed')",
    "- grant roles/datastore.user to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if \"The router's database\": resource.name == \"projects/my-project/databases/dmtr-europe-west1\"",
    "- grant roles/logging.viewAccessor to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on the project, if \"The router's log view\": resource.name == \"projects/my-project/locations/global/buckets/_Default/views/dmtr-europe-west1-lb\"",
    "- log view dmtr-europe-west1-lb",
    "- tag dormeto/managed",
    "- tag dormeto",
    "- service account dmtr-europe-west1@my-project.iam.gserviceaccount.com",
    "- grant roles/iam.serviceAccountUser to serviceAccount:dmtr-europe-west1@my-project.iam.gserviceaccount.com on service account dmtr-europe-west1@my-project.iam.gserviceaccount.com (goes with it)",
    "- role dormetoRouter",
    "- role dormetoRouterBackends"
  ],
  "targets": [
    "dmtr-my-project-europe-west1"
  ]
}
  • Run again after a stop, it goes on (Router).
  • It refuses while workloads are onboarded.

routers upgrade dormeto aws only

Upgrades routers to the version available, in the manager.

dormeto aws routers upgrade [<router>...] [--all] [--name <glob>] [--account <id>]... [--project <id>]... [--router-region <region>]... [--tag k=v]... \
  [--concurrency <n>] [--timeout <duration>] [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>a router's name—The routers, one or more, narrowed by the filters.
--all——Every router, without names or filters.
--namea glob: *, ? or […]—Routers whose name matches.
--account12 digits or a project ID, comma-separated or repeatedallRouters of these accounts or projects.
--projectproject IDs, comma-separated or repeated—An alias of --account.
--router-regionregions, comma-separated or repeatedallRouters in these regions.
--tagk=v, repeatable—Routers serving a workload with these tags.
--concurrency1 to 204Upgrades at once.
--timeouta duration1hStops waiting; the work goes on.
dormeto aws routers upgrade prod-us --yes

Table

1 router to upgrade to 0.40.0
  prod-us  0.39.0 → 0.40.0
… prod-us upgrading (operation 7a2c9e41-0b5d-4f83-9c6e-2d1a8b7f4e05)
✓ prod-us 0.39.0 → 0.40.0 in 0s (operation 7a2c9e41-0b5d-4f83-9c6e-2d1a8b7f4e05)
1 upgraded

JSON

{
  "available": "0.40.0",
  "upgraded": [
    {
      "router": "prod-us",
      "from": "0.39.0",
      "to": "0.40.0",
      "operation": "7a2c9e41-0b5d-4f83-9c6e-2d1a8b7f4e05",
      "status": "succeeded"
    }
  ],
  "skipped": []
}
  • It names the routers it skips, and why.
  • It skips a router dormeto gcp installed, naming the command that upgrades it.
  • It prints the plan, then asks; a dry run stops there.

routers waiting-page clear

Amazon Web Servicesdormeto aws

Clears the router's waiting page: it inherits the level above, or the default page.

dormeto aws routers waiting-page clear <router> [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>a router's namerequiredThe router.
dormeto aws routers waiting-page clear prod-eu

Table

prod-eu: waiting page cleared

JSON

{
  "own": null,
  "inherited": {
    "mode": "template",
    "icon": "auto",
    "title": "Waking up",
    "from": {
      "mode": "organization",
      "icon": "default",
      "title": "organization"
    }
  },
  "effective": {
    "mode": "template",
    "icon": "auto",
    "title": "Waking up",
    "from": {
      "mode": "organization",
      "icon": "default",
      "title": "organization"
    }
  },
  "from": {
    "mode": "organization",
    "icon": "default",
    "title": "organization"
  },
  "favicon": null,
  "warnings": [],
  "terraform": false,
  "by": null,
  "at": null
}
  • Clearing a custom page needs an administrator.

dormeto gcp

Clears the router's waiting page: it inherits the level above, or the default page.

dormeto gcp routers waiting-page clear --project <project> --region <region> [--dry-run] [--yes]

No option of its own.

dormeto gcp routers waiting-page clear --project my-project --region europe-west1

Table

dmtr-my-project-europe-west1: waiting page cleared

JSON

{
  "at": "",
  "by": "",
  "effective": {
    "description": "",
    "from": {
      "icon": "default",
      "mode": "default"
    },
    "icon": "auto",
    "mode": "template",
    "title": ""
  },
  "favicon": null,
  "from": {
    "icon": "default",
    "mode": "default"
  },
  "own": null,
  "terraform": false,
  "warnings": []
}
  • A router without the waiting page says so, with the version to install.

routers waiting-page set

Amazon Web Servicesdormeto aws

Sets the router's waiting page: a template's fields, or a custom page.

dormeto aws routers waiting-page set <router> [--icon auto|none|<file>] [--title <text>] [--description <text>] | --html <file or -> [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>a router's namerequiredThe router.
--iconauto (the favicon), none or a fileinheritedThe icon; give files named auto, none as ./auto, ./none.
--titlea textinheritedThe title.
--descriptiona textinheritedThe description.
--htmla file or -—A custom page, instead of the template.
dormeto aws routers waiting-page set prod-eu --title "Back in a moment"

Table

prod-eu: waiting page set (template)

JSON

{
  "own": {
    "mode": "template",
    "title": "Back in a moment"
  },
  "inherited": {
    "mode": "template",
    "icon": "auto",
    "title": "Waking up",
    "from": {
      "mode": "organization",
      "icon": "default",
      "title": "organization"
    }
  },
  "effective": {
    "mode": "template",
    "icon": "auto",
    "title": "Back in a moment",
    "from": {
      "mode": "router",
      "icon": "default",
      "title": "router"
    }
  },
  "from": {
    "mode": "router",
    "icon": "default",
    "title": "router"
  },
  "favicon": null,
  "warnings": [],
  "terraform": false,
  "by": "ops@example.com",
  "at": "2026-11-14T10:00:00.000Z"
}
  • A custom page needs an administrator.

dormeto gcp

Sets the router's waiting page: a template's fields, or a custom page.

dormeto gcp routers waiting-page set --project <project> --region <region> [--icon auto|none|<file>] [--title <text>] [--description <text>] | --html <file or -> [--dry-run] [--yes]
OptionValuesDefaultEffect
--iconauto (the favicon), none or a fileinheritedThe icon; give files named auto, none as ./auto, ./none.
--titlea textinheritedThe title.
--descriptiona textinheritedThe description.
--htmla file or -—A custom page, instead of the template.
dormeto gcp routers waiting-page set --project my-project --region europe-west1 --title "Back in a moment"

Table

dmtr-my-project-europe-west1: waiting page set (template)

JSON

{
  "at": "2026-11-08T10:00:00.000Z",
  "by": "ops@example.com",
  "effective": {
    "description": "",
    "from": {
      "icon": "default",
      "mode": "router",
      "title": "router"
    },
    "icon": "auto",
    "mode": "template",
    "title": "Back in a moment"
  },
  "favicon": null,
  "from": {
    "icon": "default",
    "mode": "router",
    "title": "router"
  },
  "own": {
    "mode": "template",
    "title": "Back in a moment"
  },
  "terraform": false,
  "warnings": []
}
MessageCauseFix
custom pages are off on this router: an administrator turns them on with dormeto gcp routers install --custom-pagesThe router's custom pages are off.Install it again with --custom-pages.
  • It replaces the level's document.
  • The CLI checks the icon and the page first (Waiting page).

routers waiting-page show

Amazon Web Servicesdormeto aws

Prints the router's waiting page: its mode, fields and custom page.

dormeto aws routers waiting-page show <router>
OptionValuesDefaultEffect
<router>a router's namerequiredThe router.
dormeto aws routers waiting-page show prod-eu

Table

prod-eu: waiting page, template (from the router)
icon   auto (from built-in default)
title  Back in a moment (from the router)
set on this router by ops@example.com, 2026-11-14 10:00 UTC

JSON

{
  "own": {
    "mode": "template",
    "title": "Back in a moment"
  },
  "inherited": {
    "mode": "template",
    "icon": "auto",
    "title": "Waking up",
    "from": {
      "mode": "organization",
      "icon": "default",
      "title": "organization"
    }
  },
  "effective": {
    "mode": "template",
    "icon": "auto",
    "title": "Back in a moment",
    "from": {
      "mode": "router",
      "icon": "default",
      "title": "router"
    }
  },
  "from": {
    "mode": "router",
    "icon": "default",
    "title": "router"
  },
  "favicon": null,
  "warnings": [],
  "terraform": false,
  "by": "ops@example.com",
  "at": "2026-11-14T10:00:00.000Z"
}
  • It prints each field and its level.

dormeto gcp

Prints the router's waiting page: its mode, fields and custom page.

dormeto gcp routers waiting-page show --project <project> --region <region>

No option of its own.

dormeto gcp routers waiting-page show --project my-project --region europe-west1

Table

dmtr-my-project-europe-west1: waiting page, template (from the router)
icon   auto (from built-in default)
title  Back in a moment (from the router)
set on this router by ops@example.com, 2026-11-02 14:00 UTC

JSON

{
  "at": "2026-11-02T14:00:00.000Z",
  "by": "ops@example.com",
  "effective": {
    "description": "",
    "from": {
      "icon": "default",
      "mode": "router",
      "title": "router"
    },
    "icon": "auto",
    "mode": "template",
    "title": "Back in a moment"
  },
  "favicon": null,
  "from": {
    "icon": "default",
    "mode": "router",
    "title": "router"
  },
  "own": {
    "mode": "template",
    "title": "Back in a moment"
  },
  "terraform": false,
  "warnings": []
}
  • It prints each field and its level.
  • A custom page stored while custom pages are off shows off.