# Cloud accounts

> For the complete documentation index, see [llms.txt](https://docs.ringleader.dev/llms.txt).

> Run your developers' workstations as VMs in your AWS, Azure or Google Cloud account, on your bill and inside your network, with a keyless identity.


Your developers' [workstations](https://docs.ringleader.dev/reference/resources/workstation/) can run as VMs in your own cloud account, on your bill and inside your network. The workstations that your code and secrets live on then stay in an account you control. This section sets that up for Google Cloud, Azure or AWS, and covers the objects that connect your cloud to Ringleader. Start with [Keyless cloud access](https://docs.ringleader.dev/cloud-accounts/keyless-access/).

The work on your side is one Terraform apply, or one script, run in a project, resource group or account you own. It creates an identity for Ringleader to sign in as and tells your cloud to accept Ringleader's sign-in without a password or a key. When it finishes, it prints a few values, which you send to your organization administrator.

- [Keyless cloud access](https://docs.ringleader.dev/cloud-accounts/keyless-access/) explains how Ringleader signs in to your cloud without a key.
- [Cloud accounts and reachability](https://docs.ringleader.dev/cloud-accounts/accounts-reachability/) covers the CloudAccount and who can reach your workstations.
- [Cloud identities](https://docs.ringleader.dev/cloud-accounts/cloud-identities/) covers how a team's workstations are built and which keys members may set.
- [Storage buckets](https://docs.ringleader.dev/cloud-accounts/storage-buckets/) covers keeping session transcripts and uploaded files in your own bucket.

## Guides for onboarding

Each guide creates the setup in your cloud, says what to send back and how to check and revoke it:

- [Onboard Google Cloud](https://docs.ringleader.dev/guides/onboard-gcp/) uses Terraform or `gcloud` scripts, in one project.
- [Onboard Microsoft Azure](https://docs.ringleader.dev/guides/onboard-azure/) uses Terraform or an ARM template, in one resource group.
- [Onboard AWS](https://docs.ringleader.dev/guides/onboard-aws/) uses Terraform or CloudFormation, in one account.
- [Migrate a cloud identity from impersonation](https://docs.ringleader.dev/guides/migrate-from-impersonation/) moves a cloud identity that was onboarded the old way.

The rights that each guide grants are listed in [Google Cloud permissions and resources](https://docs.ringleader.dev/reference/providers/gcp-permissions/), [Microsoft Azure permissions and resources](https://docs.ringleader.dev/reference/providers/azure-permissions/) and [AWS permissions and resources](https://docs.ringleader.dev/reference/providers/aws-permissions/).

## Access Ringleader gets

| | Google Cloud | Microsoft Azure | AWS |
|---|---|---|---|
| Where Ringleader may act | one project | one resource group | one account, optionally one region |
| What Ringleader signs in as | a service account | an Entra application | an IAM role |
| What it may do | create, start, stop and delete workstation VMs, connect them to your network, and (on by default) keep files in storage it names | the same | the same |
| What its own identity never holds | Owner or Editor | Contributor | account admin |

On all three clouds Ringleader signs in with a short-lived token that your cloud checks, and there is no password or key anywhere.

On AWS, runtime identities are on by default and let Ringleader create IAM roles for workstations and attach any managed policy to them, `AdministratorAccess` included. A workstation holding such a role can reach anything in the account, so give Ringleader an AWS account of its own, or turn runtime identities off. [AWS permissions and resources](https://docs.ringleader.dev/reference/providers/aws-permissions/#setup-switches) lists what they grant.

## Limits of Ringleader's access

**There is no key to leak.** Ringleader never receives a password or a key for your cloud account, so there is nothing to rotate and nothing to steal. Each time it acts, it presents a short-lived signed token and your cloud checks it. Delete the setup you created, and Ringleader can get no new token. On Azure, a token it already holds can work until it expires, usually within 90 minutes. On AWS, credentials it already holds can keep working for up to an hour. The AWS guide's [Optional: Revoke Ringleader's access](https://docs.ringleader.dev/guides/onboard-aws/#optional-revoke-ringleaders-access) section says how to cut them off sooner.

**Other Ringleader customers cannot reach your account.** Every token names the organization it is for, and your cloud accepts only tokens that name yours. That decision is made in your account, not by Ringleader.

**Ringleader holds no admin right of its own.** The identity it signs in as holds no Owner, Editor, Contributor or account admin right, and nothing in billing. Runtime identities, which are on by default, let it create identities for workstations and give them roles that reach further. [Permissions for runtime identities](https://docs.ringleader.dev/cloud-accounts/cloud-identities/runtime-identities/#permissions-for-runtime-identities) says what each cloud grants.

**Nothing you send back is a secret.** A service-account email, a role name, an application id and a tenant id are public identifiers, and knowing them grants nothing. What lets Ringleader in is the setup in your cloud, which accepts tokens for your organization alone.

**The software on a workstation does not reach your cloud by default.** On AWS and Azure a workstation has no cloud identity of its own. Nothing running on it, including an AI coding agent, can reach anything in your account. Google Cloud differs, and [Cloud runtime identities](https://docs.ringleader.dev/cloud-accounts/cloud-identities/runtime-identities/) says how to check it and narrow it.

## Objects that connect your cloud

Four steps connect your cloud to a workstation, usually by three different people. Only the first happens in your cloud.

1. You set up keyless access in your cloud, with a guide for onboarding. [Keyless cloud access](https://docs.ringleader.dev/cloud-accounts/keyless-access/) explains what your cloud checks.
2. An organization administrator creates a **CloudAccount**, which records which identity to sign in as in your cloud, and where. There is one per cloud account, every team in the organization shares it, and only an organization administrator can create or change it. [Cloud accounts and reachability](https://docs.ringleader.dev/cloud-accounts/accounts-reachability/) explains it.
3. A namespace administrator points a **CloudIdentity** at the CloudAccount. The CloudIdentity belongs to one team's namespace, and it says how that team's workstations are built and which CloudAccount they use. [Cloud identities](https://docs.ringleader.dev/cloud-accounts/cloud-identities/) covers it.
4. A developer labels a workstation with the label the CloudIdentity selects. That is all a developer does.

A [Storage](https://docs.ringleader.dev/reference/resources/storage/) object, written by a namespace administrator, names a bucket in the same cloud account. [Storage buckets](https://docs.ringleader.dev/cloud-accounts/storage-buckets/) covers it.

## Grants that are on by default

Three grants beyond the base setup are on by default on every cloud. The permissions pages list what each one adds and the switch that turns it off.

- **Runtime identities** let Ringleader give your developers their own cloud identity to work as. [Cloud runtime identities](https://docs.ringleader.dev/cloud-accounts/cloud-identities/runtime-identities/) covers them and how to turn them off.
- **Egress control** lets Ringleader restrict where a workstation may connect, as [Outbound restrictions](https://docs.ringleader.dev/security/outbound/outbound-restrictions/) and [Enforcement points](https://docs.ringleader.dev/security/outbound/enforcement/) describe.
- **Artifact storage** lets Ringleader keep your organization's session transcripts and uploaded files in your own cloud account. [Storage buckets](https://docs.ringleader.dev/cloud-accounts/storage-buckets/) covers it.

## Next steps

- [Keyless cloud access](https://docs.ringleader.dev/cloud-accounts/keyless-access/) explains how Ringleader signs in to your cloud without a key.
- [Onboard Google Cloud](https://docs.ringleader.dev/guides/onboard-gcp/), [Onboard Microsoft Azure](https://docs.ringleader.dev/guides/onboard-azure/) and [Onboard AWS](https://docs.ringleader.dev/guides/onboard-aws/) set up your cloud account.


## Pages in this section

- [Keyless cloud access](https://docs.ringleader.dev/cloud-accounts/keyless-access/index.md): Ringleader signs in to your cloud with a short-lived token that names your organization, so it holds no password or key for your account.
- [Cloud accounts and reachability](https://docs.ringleader.dev/cloud-accounts/accounts-reachability/index.md): A CloudAccount records which identity Ringleader signs in as in your cloud, and limits who can reach the workstations in that account.
- [Cloud identities](https://docs.ringleader.dev/cloud-accounts/cloud-identities/index.md): A CloudIdentity tells Ringleader how to sign in to your cloud and what shape the cloud workstations of one namespace take.
- [Storage buckets](https://docs.ringleader.dev/cloud-accounts/storage-buckets/index.md): Keep a namespace's session transcripts and uploaded files in a bucket in your own Google Cloud, AWS or Azure account.

