Skip to content

Cloud Credentials

Cloud credentials let you connect your cloud provider accounts to Reoclo. Once connected, you can discover existing cloud instances, link them to Reoclo servers, and run power operations (reboot, shutdown) directly from the dashboard. Hetzner and AWS credentials can also run build servers that Reoclo creates for your builds.

ProviderOperationsBuild pools
HetznerDiscover, link, power operations, metrics, rescue modeEphemeral
AWSDiscover, link, power operations, metrics, Run CommandEphemeral and sleep
RunPodDiscover, link, power operations, pod templatesNone

DigitalOcean, Vultr and Linode appear in the provider list as coming soon. You cannot add credentials for them yet.

  1. Navigate to Cloud Providers in the sidebar
  2. Click Add Provider
  3. Select your cloud provider
  4. Enter a label and your API token or access key. For AWS, also choose the regions build and test pools on this credential may use.
  5. Click Test & Save to verify the credential and save it, or Add Provider to save it without a test

Credentials are encrypted at rest using AES-256-GCM envelope encryption.

Hetzner: Generate an API token with Read & Write permissions. See the Hetzner Setup Guide for step-by-step instructions.

AWS: Use an IAM Access Key ID and Secret Access Key with a scoped IAM policy. The AWS Setup Guide has a policy builder: pick the permissions and regions you need, then copy the policy as JSON, AWS CLI commands or Terraform.

RunPod: See the RunPod Setup Guide.

After adding credentials, click Discover Instances to scan your cloud account for existing servers. Reoclo will:

  1. List all instances from your cloud provider
  2. Match them to existing Reoclo servers by IP address or provider instance ID
  3. Show which instances are already linked and which are new

For each discovered instance, you can see:

  • Instance name and status
  • IP addresses
  • Region and specs (CPU, RAM, disk)
  • Whether it is already linked to a Reoclo server

To link a discovered cloud instance to an existing Reoclo server:

  1. Click Link next to the instance
  2. Select the Reoclo server to link it to
  3. Confirm

Once linked, Reoclo can use the cloud provider API for power operations on that server, which is faster and more reliable than sending commands through the runner agent.

You rarely need to link a server by hand. Reoclo links a server to its cloud instance on its own once a credential and the server match. It looks at the servers in your organization that are not linked yet and compares them with the instances your active credentials can see. A server is linked when exactly one instance matches on strong evidence:

  • the instance has the same public or private IP address (IPv4 or IPv6) as the server, or
  • the instance has the provider instance ID the server reported (RunPod pods).

A hostname or a region on its own never links a server, and Reoclo never links across organizations. For AWS, Reoclo searches the regions listed on the credential, so add every region your servers run in.

Reoclo checks when you add a credential, replace its keys or change its AWS regions, when a runner registers or a server’s IP address changes, and once an hour for servers that are still unlinked. A linked server shows Linked automatically with the credential’s name on its page. Its region, instance type and provider status come from the provider.

If more than one instance or credential matches a server, Reoclo does not guess. The server stays unlinked and its page says why. Link it by hand with the steps above. If you unlink a server yourself, Reoclo does not link it again until you link it by hand.

A server’s region fills in automatically. A linked server takes the region from its cloud provider. Any other server gets an approximate region from its IP address, shortly after its runner connects or its IP address changes. A region you set yourself, or one the provider reports, is never replaced by an approximation. Clear a region you set to let Reoclo fill it in again.

With linked cloud credentials, these operations use the cloud provider API:

  • Reboot: Triggers a graceful reboot via the provider API
  • Shutdown: Powers off the server via the provider API
  • Power On: Starts a powered-off server

Reoclo uses smart routing: it tries the cloud API first, then falls back to the runner agent if the cloud API fails.

Use the Verify button to test that your credentials are still valid. Reoclo will attempt to authenticate with the provider and update the credential status:

  • Active: Credential is valid and working
  • Invalid: Authentication failed (check your token)

When you rotate keys, or the provider revokes them, replace them on the credential instead of adding a new one. Pools and servers keep using the credential.

  1. Open the credential under Cloud Providers and click Replace keys.
  2. Enter the new token. For AWS, enter the access key ID and the secret access key.
  3. Click Replace keys.

Reoclo checks the new keys with the provider before it saves them. If the provider rejects them, the old keys stay and the message says why. The keys are encrypted like any other credential and are never shown again.

For AWS, Reoclo remembers which account the keys belong to. If the new keys belong to another account, Reoclo asks you to confirm before it saves them. Instances that Reoclo created in the old account stay there, and the new keys cannot reach them.

The credential’s page also lists the build pools and test pools that use it under Used by.

Revoking a credential marks it as inactive. Linked servers will fall back to runner-only operations for reboots and power management.

Ephemeral and sleep build pools create builders through a credential your organization owns. Hetzner builders run in the location you pick for the pool. Each AWS pool picks one of its credential’s regions. Edit the list with Edit next to Regions on the credential’s page; a region a pool still uses cannot be removed. To move a pool to another credential, see Switch a pool’s credential.

Test pools use the same Hetzner and AWS credentials as build pools. A test pool creates one machine per test job in your account and deletes it when the job ends. Each AWS test pool picks one of the credential’s regions. See Run tests on test servers.