- Resolves the freshest public image matching
SCW_DEFAULT_IMAGEand architecture in the chosen zone. - Ensures the requested instance type is available before provisioning.
- Creates an instance with a routed public IPv4 address and tags
mriyaandephemeral. - Attaches a Block Storage volume if
SCW_DEFAULT_VOLUME_IDis configured, then mounts it to/mriyaafter the instance boots. - Polls every five seconds (up to five minutes) until the instance is running and reachable via SSH on port 22.
- Destroys the instance and polls until the API no longer lists it, failing if any residual resource remains.
Each API request to list instances, power an instance on, or delete it has a 30-second timeout. If a request times out, Mriya reports a provider error; check connectivity to the Scaleway API and the instance's actual state before retrying, as the request may have reached Scaleway even though its response did not arrive.