Skip to content
Beam Docs
Beam Studio

Deploy Studio on Azure

Launch a dedicated Beam Studio in your own Azure subscription with one click: the VM, its disks and network are yours, and Studio installs itself.

One click creates a dedicated Azure VM in your subscription and installs Beam Studio on it with the standard installer. You own and pay for everything it creates; Beam hosts nothing for it. Your transfers keep using the Beam network directly: nothing in the deployment proxies or stores your data.

Deploy Beam Studio onMicrosoft AzureOne click · runs in your Azure subscriptionDeploy

Deploy to Azure

The button opens the Azure portal's custom deployment page with the template loaded, so you can review every resource before you create it. Use a new resource group for each Studio.

On AWS instead? See Deploy Studio on AWS.


What gets deployed

ResourceDetails
Virtual machineUbuntu 24.04, Trusted Launch (Secure Boot, vTPM), no managed identity
Studio dataIts own managed data disk, encrypted at rest
NetworkA dedicated virtual network, a network security group and a static public IP with a free DNS name
ManagementAzure Run Command, and SSH in private mode only
Cloud permissionsNone: the VM has no Azure identity
Default sizeStandard_D2s_v5 (2 vCPU, 8 GiB)
Approximate costabout $81 a month

The cost is the pay-as-you-go list price in East US, including the disks and the public IP. Studio's own data transfer is small. The minimum size is Standard_B2s (2 vCPU, 4 GiB). B-series sizes cost less, but many subscriptions, including new pay-as-you-go ones, cannot get them in most regions.

Studio's internal services are never reachable from the internet:

  • its web port (3004);
  • its API (8787);
  • its MCP server (8766);
  • PostgreSQL, NATS and Docker.

Choose how people reach Studio

  • HTTPS (default): Studio is served at https://<label>.<region>.cloudapp.azure.com with an automatic Let's Encrypt certificate, or at your own name if you set customHostname. Only port 443 is open.
  • Private: set accessMode to private, and give an SSH public key (sshPublicKey) and the address range you connect from (sshSourceCidr). Only SSH from that range is open, with key login only, and you open Studio through an SSH tunnel.

The deployment stops before creating the VM when private mode is missing either value, or when an address range is open to the whole internet. Azure's error then names the problem, for example sshSourceCidr-is-required-for-private-access.

In private mode, features that need Studio to be reachable from the internet are not available:

  • webhook triggers;
  • Room transfers between an agent and a bucket member;
  • Box sign-in beyond localhost.

The deployment succeeds when Studio is installed and healthy, in about 10 to 20 minutes. It never waits for DNS or the certificate; the statusCommand output shows the HTTPS state separately.

Open and claim Studio

A new Studio serves nobody until your organization claims it:

  1. Open Studio:
    • HTTPS: open the studioUrl output. If you set customHostname, first create the record in dnsRecordToCreate.
    • Private: run the privateAccessCommand output on your computer, keep it running, then open http://localhost:3004.
  2. Choose Continue with Beam Auth and approve the code at auth.b1m.ai/device.
  3. Read the claim code on the VM: open runCommandUrl from the outputs, choose RunShellScript and run /usr/local/bin/beam-updater claim-code, or run the claimCodeCommand output with the Azure CLI.
  4. In Studio, go to Settings → Access, choose your organization, enter the code, and approve Studio's instance key.

Only someone allowed to use Run Command on the VM can read the code.

Connect an AI agent

Studio's MCP server lets agents such as Claude Code, Cursor or VS Code list and run your workflows. It is not exposed publicly unless you enable it for one address range.

  1. Create a token in Studio at MCP → Tokens → New token. Choose the smallest preset that works and an expiry.

  2. Reach the endpoint:

    • Private deployments: the SSH tunnel already forwards port 8766. Use http://localhost:8766/mcp.
    • HTTPS deployments: enable mcpRemoteAccess for your agents' address range (mcpSourceCidr), and use https://<studio-host>:8443/mcp.
  3. Add it to your agent. The claudeCodeMcpCommand output is ready for Claude Code:

    claude mcp add --transport http beam-studio <endpoint> \
      --header "Authorization: Bearer ${BEAM_STUDIO_MCP_TOKEN}"

    Through Run Command, /usr/local/sbin/beam-studio-cloud mcp-config prints ready-to-use configuration for Claude Code, Cursor and VS Code.

Clients that only support OAuth-based connectors, such as custom connectors in claude.ai or Claude Desktop, are not supported.

Update, stop and resize

  • Studio updates itself from signed releases when an admin applies them in Settings. Each update backs up the database first and rolls back if Studio does not come back healthy.
  • Ubuntu installs security updates automatically.
  • Stop (deallocate) and start the VM in the portal. Studio starts with the VM. A deallocated VM stops compute charges; its disks and public IP are still charged.
  • Resize in the portal under Size. Do not redeploy the template for this.

Back up and restore

The data disk (dataDiskId in the outputs) holds everything Studio needs: the database, its secrets and configuration, and every container volume.

  • Back up by taking a snapshot of the data disk into another resource group, so that it survives the deletion of this one:

    az group create --name beam-studio-backups --location <region>
    az snapshot create --resource-group beam-studio-backups --name beam-studio-$(date +%Y%m%d) \
      --source <dataDiskId>

    Take snapshots while no run is in progress: a run in progress at that moment stays stuck after a restore.

  • Restore by deploying again into a new resource group with the snapshot's resource ID as restoreSnapshotId. The restored Studio keeps its claim, instance key, MCP tokens, credentials, workflows and schedules.

Never run the original and a restored Studio at the same time: they share one instance key and would both run your schedules. Stop or delete the original first.

Delete the deployment

Deleting the VM keeps the data disk, but deleting the resource group deletes the data disk too.

  1. Through Run Command, run /usr/local/bin/beam-updater uninstall to revoke Studio's Beam instance key. If the VM is already gone, revoke Studio: ‹host› under API Keys in the Console.
  2. To keep Studio's data, take a final snapshot into another resource group (see Back up and restore).
  3. Delete the resource group.

Snapshots you keep and DNS records you created at your own provider remain until you delete them.

Troubleshooting

SymptomFix
SkuNotAvailableYour subscription cannot get that VM size in that region. Deploy into a new resource group with another vmSize or region.
QuotaExceeded for a family such as standardDSv5FamilyThe subscription's vCPU quota for that family is too low, which is common on new subscriptions. In the portal, open Quotas → Compute, choose the region and raise that family's vCPUs (2 for the default size). Then deploy again.
https: pending-certificate in the statusLet's Encrypt has not issued yet. It retries automatically; port 443 must be reachable from the internet.
https: pending-dns in the statusYour custom name does not point at the public IP yet.

Next steps

Decentralized distributed bandwidth infrastructure.

On this page