Docs
Onboarding
A discovered candidate becomes a managed workload: Dormeto tags its backends and puts its waker beside your route.
3 min read
You start it from Discovery or the CLI; the settings are Workloads’. Each timeline replays one onboarding.
AWS
Google Cloud
The steps
- The manager runs an operation, step by step, and the dashboard shows each step.
- The manager finds the router of the workload’s account or project, and region.
- The router previews the workload: its dry run names every reason it refuses.
- The router writes what the workload needs, and records it in its state.
- The manager asks the router’s status: the route must reach the application, with no issue.
- The manager marks the candidate Managed. The workload is awake; its idle window starts at the next check.
AWS
- The manager installs the router where the account and region have none, as the command role.
- The router’s onboarder tags the backends
dormeto:workloadand adds the waker’s target group. - Its rule goes just before yours, with the same conditions. Its forward sends 1 to your target group, 0 to the waker’s.
- The router repairs what your tools remove of it: Workloads.
Google Cloud
- The CLI installs the router; the manager onboards on the routers it finds.
- The command account binds
dormeto=managedto the VMs, groups and Cloud SQL companions. The CLI does it as you. - The router adds the waker’s backend service, and the route
/_dormeto/*to your URL map for good. - A refusal after the tags removes this operation’s bindings.
Parts and permissions
The manager acts in your accounts and projects only as the command role.
| Component | AWS | Google Cloud | What it does |
|---|---|---|---|
| The operation | Runs the steps, in order. | ||
| The command role | Installs the router, or binds the tag. | ||
| The onboarding | Adds the waker and Dormeto’s route. | ||
| The route | Gets the waker beside your route. | ||
| Its state | Records the workload and its settings. | ||
| The manager | Takes each change of state (Architecture). |
What can go wrong
- The preview refuses a workload that cannot nap, naming each reason: Eligibility.
- A failed onboarding is undone, and the operation says which step failed.
- Terraform that writes these resources needs to ignore what changes: Workloads.
- An account or project without access refuses onboarding: Access.