Deploy SAM

DigitalOcean

Droplets in ten regions across four continents

Connect a DigitalOcean personal access token and SAM provisions Droplets for workspaces and app deployments, with Block Storage for deployment data.

What you get

Ten regions

Frankfurt, Amsterdam, London, New York (two), San Francisco, Toronto, Singapore, Bangalore and Sydney.

Persistent volumes

Same-region Block Storage for deployment environments, grow-only.

Token sign-in

A full-access personal access token, or custom scopes for the resources SAM manages.

The SAM Nodes page showing machines on Vultr, Scaleway and Hetzner with their location, hardware, monthly price, resource use and the workspaces running on each.The SAM Nodes page showing machines on Vultr, Scaleway and Hetzner with their location, hardware, monthly price, resource use and the workspaces running on each.
Machines from every connected provider appear on one Nodes page, with hardware, price and the workspaces each one runs. Full size

Set it up in 3 steps

  1. Create a token

    In the DigitalOcean API settings, generate a personal access token.

  2. Connect it

    Paste the token in Settings → Infrastructure → Cloud accounts. SAM checks it against the account endpoint.

  3. Run work

    SAM creates Ubuntu 24.04 Droplets, in Frankfurt by default.

Good for

Second provider

Add DigitalOcean next to another provider for regional choice and fallback capacity.

Persistent app environments

Keep databases, uploads and other state on Block Storage across deployments.

Questions

Which scopes does the token need?

Full access, or custom scopes covering droplets, block storage, tags, account, actions, images, regions and sizes.

Do I need my own DigitalOcean account?

Only if nobody else provides one. SAM uses a project's cloud account first, then yours, then one the installation administrator connected. With none of those, a profile can still run Instant sessions on Cloudflare Containers.

How is my credential stored?

Encrypted with AES-256-GCM and a unique IV in your installation's database. Machines never receive it: the control plane makes the provider API calls.


Get your coding agents off your laptop

SAM is open source. Deploy it to your Cloudflare account and connect your agent. Add a cloud provider when you want full environments on your own servers.