Docs
Discovery
A discovery run reads your accounts and projects, read-only, and keeps the candidates it finds.
3 min read
The perimeter, the filters and the statuses are on Discovery. Each timeline replays one run.
AWS
Google Cloud
The steps
- The manager’s schedule starts a run every hour; Run now starts one at once.
- The run goes on only when due: its last run is older than the refresh period.
- The run plans: it lists the accounts and projects of the perimeter.
- The run reads each account or project in a step of its own, read-only.
- The run writes the candidates that changed, with their idle share.
- The run records its result and its lint, then releases its lock.
- The dashboard shows the candidates in Discovery, by status.
AWS
- The accounts come from your organization, or your own account alone.
- In each account, the run assumes DmtDiscoveryRole and reads its regions 8 at a time.
- At most 20 accounts are read at once.
- A rule’s change can refresh one account without a run: Discovery.
Google Cloud
- The projects come from the connection’s scopes: an organization, folders or projects.
- The manager reads them as its discovery account, through federation, with no key.
- A candidate is a backend service a URL map names: Discovery.
- A project that doesn’t answer keeps its last candidates.
Parts and permissions
The run only reads, with the role Roles names.
| Component | AWS | Google Cloud | What it does |
|---|---|---|---|
| The schedule | Starts a run, hourly. | ||
| The run | Plans, reads each account or project, finalizes. | ||
| The reader | Reads, never writes. | ||
| What it reads | Finds candidates and their idle share. | ||
| Its result | Keeps the candidates and the runs. |
What can go wrong
| Message | Cause | Fix |
|---|---|---|
no filter includes this account | No filter of the perimeter can include the account. | Add a filter that includes the account. |
no Google Cloud connection: dormeto gcp connect makes one | The manager has no Google Cloud connection. | Run dormeto gcp connect from a host project. |
A run that fails is tried at the next hour; Discovery lists the accounts it could not read.