Cloud providers
Connect a Vultr, DigitalOcean, Linode, Hetzner or AWS Lightsail account so ServerAvatar can create servers in it.
A cloud provider account lets ServerAvatar create servers in your own account with the provider. You give ServerAvatar an API token (or, for AWS Lightsail, an access key and secret key). ServerAvatar checks it with the provider, stores it encrypted and uses it when you create a server in your own cloud account. The accounts belong to the organization, so every member with access to Cloud Providers can see them. Open Cloud providers under Integrations in the organization's sidebar.
-
Open the organization and select Cloud providers in the sidebar, in the Integrations group.

The page has two parts. Choose a provider shows one card per provider, with the kind of credential it needs and, once you have connected accounts there, how many ("n connected"). Connected accounts, under the cards, lists the accounts of the organization. It shows once the organization has an account.
| Provider | Credential |
|---|---|
| Vultr | API token |
| DigitalOcean | API token |
| Linode | API token |
| Hetzner | API token |
| AWS Lightsail | Access key ID and secret access key |
Connect an account
-
On the card of the provider, select Connect.

-
Enter an Account name, for example "Production DigitalOcean". It is for you to tell accounts apart.
-
Enter the credential: the API token, or for AWS Lightsail the Access key ID and the Secret access key. The link under the fields, Where do I find my API token? (or Where do I find my access keys?), opens the provider's own page where you create it.
-
Select Connect account. ServerAvatar checks the credential with the provider and, if it is accepted, saves the account. You see "Account connected."
No account with the provider yet? Sign up there first, then come back.
What each provider needs
ServerAvatar checks a credential by reading something harmless from the provider. The credential must be allowed to do that, and nothing is created or changed.
| Provider | What the check reads | What the credential needs |
|---|---|---|
| Vultr | Your account | A personal access token (Vultr Account → API). |
| DigitalOcean | Your account | A personal access token with at least the account:read scope. |
| Linode | Your profile | A personal access token whose user can view their profile. |
| Hetzner | The list of locations | An API token from the Hetzner Cloud Console. A token belongs to one project, so servers are created in that project. |
| AWS Lightsail | The list of regions | The access key ID and secret access key of an IAM user. Temporary (session) credentials are not supported. |
The check only reads. It does not try to create a server, so a token that passes the check can still be refused later if it is not allowed to create servers at the provider.
Check, edit or disconnect an account
Each account in Connected accounts has three buttons.
- Check credentials: ServerAvatar asks the provider again whether the saved credential still works. If it does you see "name: credentials verified." If the provider rejects it, the status becomes Needs new token and you see "name: the provider rejected the saved credentials. Edit the account to replace them."
- Edit account: rename the account, or replace its credentials. The saved credential is never shown. The new one is checked with the provider before it is saved, and then the status is Connected. You see "Account updated."
- Disconnect account: ServerAvatar deletes its saved credentials for this account. Nothing changes at the provider. Confirm with Disconnect.
The list has the columns Account, Provider, Status and Connected on. Search accounts finds an account by name, and the Provider and Status filters narrow the list. Status is Connected or Needs new token. The footer says "from–to of total accounts" and pages by 10, 20 or 50.
When a status is Needs new token
An account shows Needs new token when you select Check credentials and the provider rejects the credential, and also when the provider rejects it while ServerAvatar is creating a server. The account stays in the list. Edit it and enter a new token. The provider may have revoked it, it may have expired, or the account or project it belonged to may be gone.
Limits
- Account name: required, up to 100 characters.
- API token and Secret access key: up to 4096 characters, with no spaces or control characters.
- Access key ID: up to 128 characters, letters and numbers only.
- The same credential cannot be connected twice in an organization.
- An account cannot be disconnected while a server created with it is still in ServerAvatar.
- Saved credentials are never shown again, not even to the owner.
Who can do this
- Seeing the page and the list needs View on Cloud Providers
(
organization.integrations.cloud-providers). Connecting, editing, checking and disconnecting need Manage. With view only the page says "You have view-only access to integrations." and the Connect buttons are gone. - Changing accounts needs a normal login. The personal API token can list the accounts but cannot connect, edit, check or disconnect them. See API reference.
- Each change is recorded in the organization's activity log, for example "Connected cloud provider account name (provider)."
Common errors
- The cloud provider rejected these credentials. Check that they are valid and have the required permissions. The provider refused the token or keys. The form says "Provider rejected these credentials."
- These credentials are already connected in this organization as "name". The same token is already saved. Use that account, or edit it.
- The cloud provider could not be verified right now. Please try again later. The provider did not answer. Wait a moment and try again.
- This cloud provider account is used by these servers: names. Delete them first, then disconnect the account. Servers made with the account are still in ServerAvatar.
- These saved credentials cannot be checked. Edit this account and supply valid replacement credentials. The saved credential cannot be read. Edit the account and enter a new one.
- This cloud provider account changed while its credentials were being verified. Reload the account and try again. Someone else changed the account during the check. The list is reloaded: try again.
- Too many attempts. Try again in n seconds. Wait the time shown.