Volumes
Persistent block volumes attachable to pods and workspaces.
What it is
Volumes are encrypted, redundant block devices that survive pod restarts. Attach to a pod or workspace at mount time; detach to re-attach elsewhere.
When to use it
- Database storage for a managed DB run on Atlas.
- Long-lived scratch space for a workspace.
Quickstart
asc volumes create data --size 200Gi --region apac
asc pods run --image my/db --volume data:/var/lib/postgresqlv = client.volumes.create('data', size='200Gi', region='apac')
client.pods.run(image='my/db', volumes=[{'volume': v.id, 'path': '/var/lib/postgresql'}])const v = await client.volumes.create({ name: 'data', size: '200Gi', region: 'apac' });Limits & quotas
| Limit | Default | Burst | Notes |
|---|---|---|---|
| Max size | 16 TiB | — | |
| Replication | 3-way intra-region | — | |
| Encryption | AES-256-GCM | — |
Pricing
See pricing. Pay-as-you-go, billed monthly via Stripe.
API surface
POST /v1/volumes
Required scope(s): volumes:write. See Scopes.
Security
All access is authenticated and scoped. See Auth & scopes and Network controls.