OpenClaw Azure VM Cost With Bastion Against a Managed Instance
The OpenClaw Azure guide puts Bastion at about $140 a month and the VM at about $55. Here is the total, the ways to trim it and when managed hosting is cheaper.
The OpenClaw Azure guide estimates the always-on setup at roughly $195 a month, about $140 for Azure Bastion and about $55 for the VM. ClawEngine hosts the same OpenClaw agent from $24 a month billed yearly, and this article lays the two routes side by side so you can see where the money and the hours go.
How much does OpenClaw cost to run on Azure?
The OpenClaw Azure guide has a cost section with approximate monthly figures and a reminder to check the Azure Pricing Calculator, since rates vary by region and change over time. It names two lines. Azure Bastion on the Standard SKU is roughly $140 a month, and a Standard_B2as_v2 VM is roughly $55 a month.
| Line in the guide | Monthly figure | Yearly |
|---|---|---|
| Azure Bastion, Standard SKU | roughly $140 | $1,680 |
| VM, Standard_B2as_v2 | roughly $55 | $660 |
| Total as the guide describes it | roughly $195 | $2,340 |
| With Basic Bastion (roughly $38) | roughly $93 | $1,116 |
Figures from the OpenClaw Azure guide as of November 29, 2026. They are the guide's own approximations, not a quote. Use the Azure Pricing Calculator for your region and add the 64 GB OS disk the guide's example uses.
Why is Bastion the biggest line?
The guide builds a locked-down network on purpose. The VM gets no public IP, the network security group allows SSH only from the Bastion subnet and denies SSH from the internet and from other VNet sources, and you reach the box through Azure Bastion. That is a sound design for a gateway that will hold company credentials.
The price of the design is that the managed access service costs more than the machine it protects. The guide itself says Bastion is the largest cost component. It also says the Standard SKU with tunneling is required for command line SSH through az network bastion ssh, while the Basic SKU at roughly $38 a month only supports Portal-based SSH.
Can you make OpenClaw on Azure cheaper?
Yes, with trade-offs. The guide lists three ways to trim the bill.
- Deallocate the VM when idle. This stops compute billing while disk charges continue. The gateway is unreachable the whole time, which rules it out for an agent that answers a chat channel.
- Delete Bastion when you do not need SSH. You recreate it when needed, and the guide says provisioning typically takes 5 to 10 minutes, sometimes 15 to 30. It is the largest saving and costs you a wait whenever you need to log in.
- Use the Basic Bastion SKU. At roughly $38 a month it covers Portal-based SSH only, so command line tunneling is gone.
An agent that works for a team all day cannot be deallocated, so the realistic floor is the VM plus Basic Bastion, about $93 a month by the guide's numbers.
What does the Azure route leave with you besides the bill?
The guide takes about 20 to 30 minutes and ends with openclaw doctor and a gateway status check. After that the machine is yours.
- Setup in the right order. Resource providers, VNet, two subnets, an NSG with three SSH rules, the VM, Bastion and the installer. A rule with the wrong priority leaves SSH open.
- Updates. Someone applies each OpenClaw release and operating system patch, then confirms the agent still answers.
- Quota and sizing. The guide tells you to check vCPU and disk quota and pick the closest SKU if yours is unavailable in the region.
- Backups. The guide covers installing and verifying the gateway, so a restore plan is a separate task for your team.
None of that is hard for an engineer who knows Azure. It is recurring work with a name attached, and it is the part people forget to price.
Is OpenClaw on Azure cheaper than managed hosting?
Only in narrow cases. Here is a worked example with labelled assumptions. Take the guide's roughly $195 a month for Standard Bastion and the VM, and assume an ops lead spends 2 hours a month on patches, rule checks and restarts, valued at $50 an hour. That adds $100, for roughly $295 a month, or $3,540 a year.
| Line | Azure with Standard Bastion | Azure with Basic Bastion | ClawEngine Team |
|---|---|---|---|
| Platform | roughly $195 a month | roughly $93 a month | $24 a month billed yearly, or $49 monthly |
| Hours (assumed 2 at $50) | $100 | $100 | 0 on infrastructure |
| Month total | roughly $295 | roughly $193 | $24 to $49 |
| Year one | roughly $3,540 | roughly $2,316 | $288 billed yearly, or $588 monthly |
Hours are the assumption you should change. Even at zero hours the Standard Bastion route is about $2,340 a year before disk, against $288 for Team billed yearly. Model tokens are billed by your own provider on every column, so they cancel out.
When is Azure the right choice?
It fits a company that already runs Azure, has a landing zone with Bastion in place, and needs the gateway inside its own subscription for policy reasons. In that case Bastion is a shared cost, not an OpenClaw cost, and the table above overstates it. It also fits teams who can use the GitHub Copilot provider through licenses they already pay for, which the guide mentions as an option during onboarding.
If you reconcile bank and payout data for clients, a tool such as Reconciles can sit next to the agent while the infrastructure question stays separate.
Who is the managed route for, and who is it not for?
A managed instance suits an ops lead, agency owner or small-team manager who wants an OpenClaw agent answering on Slack or another channel every day, with no one assigned to a VM. It suits teams where an engineer's hour costs more than the platform fee.
It does not suit a company that must keep the gateway inside its own Azure subscription, or an engineer who needs root on the machine. For those cases the guide is the right path.
What should you check before you create the resource group?
- Find out whether your subscription already has a Bastion host you can share.
- Decide Standard or Basic Bastion, knowing Basic means Portal-only SSH.
- Name the person who applies OpenClaw releases and operating system patches.
- Check vCPU quota in the target region before you start.
- Plan one restore test before any production credential lands on the VM.
- Write your hourly rate and monthly hours into the table above and compare year-one totals.
What does ClawEngine do instead?
ClawEngine runs the gateway in its own cloud, so there is no subscription, subnet or Bastion in your account. Each instance runs in an isolated container with hard CPU and RAM limits, daily backups of memory, workspace and configuration are kept for 7 days, and updates and gateway monitoring are handled for you. You bring your own model key. You do not get root access.
Compare the options in the hosting pricing comparison, see the Kubernetes route the Google Cloud VM route or the Render route for other self-run options, or read about OpenClaw for business. When you are ready, start with a plan and have an instance running today.
Frequently asked questions
Can I run OpenClaw on Azure?
Yes. The OpenClaw guide creates an Ubuntu VM with the Azure CLI, locks SSH to Azure Bastion, installs OpenClaw with the installer script and verifies the gateway. It estimates 20 to 30 minutes for the walk-through.
How much does OpenClaw on Azure cost per month?
The guide estimates roughly $140 for Standard Bastion and roughly $55 for a Standard_B2as_v2 VM, about $195 in total. It tells you to confirm current rates in the Azure Pricing Calculator for your region.
Do I need Azure Bastion for OpenClaw?
The guide uses it so the VM has no public IP. Standard SKU is needed for command line SSH tunneling, and Basic at roughly $38 a month supports Portal-based SSH only. A different access design is possible but you build it yourself.
Is managed OpenClaw hosting cheaper than Azure?
Usually once Bastion and your hours are counted. Team costs $24 a month billed yearly or $49 monthly, against roughly $195 for the guide's Standard Bastion and VM before any labor. Model tokens are billed by your provider on both.
Build the agent you just read about
Describe the job on our home page and get its workspace files, its first reply and the instance we would host for it.
Build your agent