AWS alternatives
What can I use instead of AWS?
You can use DigitalOcean instead of AWS from $4.00/month, Cloudflare Workers from $5/month on its paid plan, or the other clouds below. Costbrake watches spend on AWS, Google Cloud, Azure, DigitalOcean, Cloudflare and Railway in one place and alerts you on spikes and budget thresholds.
Start with the price and the cap
Compare the thing you're buying: a VM, a web service, request-based compute. The starter prices below aren't equivalent machines, and a monthly price isn't necessarily a spending ceiling.
The AWS baseline is an On-Demand Linux t4g.nano in US East (N. Virginia). Its $3.07 monthly compute price assumes 730 hours.
| Provider | Best fit | Starter price | Free tier or credit | Native hard spending cap |
|---|---|---|---|---|
| AWS | Small VM baseline | $3.07/month, t4g.nano | $100 credits at sign-up, up to $200 on the Free plan; 100 GB/month internet transfer out, with regional exclusions | Project spend limit from $20/month on the Paid plan, new AWS experience only; AWS pauses the project at the limit |
| Google Cloud | Eligible free VM use; service-scoped caps | $6.11/month, e2-micro in Iowa | $300 for 90 days; eligible e2-micro usage | Yes, for specified eligible services; restricted scope |
| Azure | Credit-backed VM testing | $6.86/month, B2ats_v2 in East US | USD 200 credit for a free account | Credit subscriptions only; no custom limit or pay-as-you-go cap |
| DigitalOcean | VM with disk and transfer bundled | $4.00/month, Regular Basic Droplet | Not listed | Not listed |
| Hetzner | Shared VMs; European locations | €6.49/month maximum, Regular Performance, excl. VAT | Not listed | Not listed |
| Oracle Cloud | Always Free compute and storage | Always Free services | US$300 for up to 30 days | Not listed |
| Cloudflare | Request-based apps and static assets | Workers Free; Workers Paid minimum $5/month | 100,000 requests/day on Workers Free | Spend policy for Workers or Durable Objects |
| Railway | Apps with metered resources and hard limits | Free plan; Hobby includes $5 monthly usage credits | $5 trial credit for 30 days, then $1/month | Yes, hard and soft limits listed |
| Render | Web services with separate database pricing | Free web service; paid from $7/month | Free web service and database tiers, with limitations | Not listed |
"Not listed" means the provider's pricing pages don't mention one.
Check Google Cloud and Azure caps before upgrading
Google Cloud
Google Cloud is worth checking if your VM fits the eligible e2-micro free allowance. That allowance covers hours equal to the current month's hours, combined across supported regions.
For paid compute, Google's pricing lists e2-micro at $6.11/month in Iowa, against AWS t4g.micro at $6.13/month in N. Virginia. That's not a like-for-like CPU comparison: Google's instance lists 0.25 vCPU billed and 1 GB memory; AWS lists 2 vCPU and 1 GiB memory.
The cap needs attention. Google Cloud Spend Caps pause a specified eligible service when gross, estimated costs exceed 100% of the budget. Each cap covers a single project and a single eligible service on a monthly period. Savings and credits don't count toward that calculation.
Not an account-wide ceiling.
Azure
Azure's starter Linux VM here is $6.86/month in East US. Its free-account spending limit equals the credit amount, USD 200, and you can't change it to a custom amount.
When the credit limit is reached, VMs stop and are deallocated, and storage becomes read-only. But Azure doesn't offer that limit on pay-as-you-go subscriptions. Separately billed external Marketplace services can still charge you.
Compare DigitalOcean and Hetzner as VM options
DigitalOcean
Want a VM price that includes disk and transfer? The $4.00/month Regular Basic Droplet includes 512 MiB memory, 1 vCPU, 10 GiB SSD and 500 GiB transfer.
The $6.00/month option gives you 1 GiB memory, 25 GiB SSD and 1,000 GiB transfer. Backups cost extra: percentage-based backups are 20% for Weekly or 30% for Daily. Snapshots cost $0.06/GB per month.
DigitalOcean doesn't list a hard spending cap, and a powered-off Droplet still bills until you destroy it. See Is AWS cheaper than DigitalOcean? for a side-by-side monthly bill.
Hetzner
Hetzner's shared Regular Performance plans start from €6.49 a month, excluding VAT, as a monthly maximum. The cheaper Cost-Optimized plan from €5.99 is marked currently not available, so don't budget around it.
Hetzner lists locations in Germany, Finland, the USA and Singapore. Its cloud page doesn't list free credit or a hard spending cap.
Check whether Oracle Cloud or Cloudflare fits the workload
Oracle Cloud
Oracle's Always Free services include AMD-based compute, Arm-based Ampere A1 compute, block storage and object storage. The trial adds US$300 for up to 30 days.
You can keep using Always Free services without upgrading after the trial. Accounts idle for 30 days or more may be suspended or terminated, though, and signup requires an accepted card for identity verification.
Cloudflare
Workers is the option here for request-based compute; it isn't a VM quote. Workers Free includes 100,000 requests/day with up to 10 milliseconds of CPU time per invocation.
Workers Paid starts at $5/month and includes 10 million monthly requests and 30 million CPU milliseconds. Extra usage costs more. Static asset requests are free and unlimited, and Workers has no egress charges.
Cloudflare supports a spend policy that can block Workers or Durable Objects usage. That doesn't establish a cap across every Cloudflare service.
Price Railway and Render beyond the starting plan
Railway
Railway's trial gives you $5 for 30 days without a card, followed by $1/month of free-plan credits. Hobby includes $5 monthly usage credits; extra resource usage is charged after those credits.
Railway lists hard and soft limits. Its hard limit can take every workload in a workspace offline, with a $10 minimum. Check the scope before using it.
Render
Render separates workspace fees from compute. Hobby costs $0/month plus compute; Pro costs $25/month plus compute.
A paid web service starts at $7/month for 512 MB RAM. Paid Postgres starts separately at $6/month, and persistent disks cost $0.25/GB per month. Free options have limitations, and Render's pricing page doesn't list a hard spending cap.
Watch the bills that remain outside the cap
Costbrake watches spending across 35 cloud, AI and SaaS providers. Checks run hourly on Free and every 5 minutes on Pro and Team, with faster checks during spikes where supported.
Its brakes are opt-in and reversible. An admin must click and confirm; Costbrake never brakes automatically or deletes resources. Brakes are available for 18 providers, not every connection. See agent setup and Costbrake pricing.
Pick the provider, then set the stop condition
- For a bundled VM, compare DigitalOcean's included disk and transfer with your AWS bill.
- For eligible free compute, check Google Cloud and Oracle Cloud.
- For request-based apps, price Cloudflare's requests and CPU time.
- For web services, compare Railway's metered usage with Render's compute and workspace charges.
Then choose what happens at the limit: an alert, a paused service, a stopped workspace. On Google Cloud, verify service eligibility. On Azure, verify the subscription type. On Railway, check which workloads the hard limit will stop.
Questions and answers
What is the cheapest alternative to AWS?
Google Cloud offers eligible free e2-micro usage, and Oracle Cloud has Always Free compute. Among the paid VM starters listed here, DigitalOcean starts at $4.00/month, while AWS t4g.nano compute starts at $3.07/month; their included resources differ.
Is DigitalOcean better than AWS?
For a VM with disk and transfer included, DigitalOcean gives you a concrete bundle to compare. Its $4.00/month Droplet includes 10 GiB SSD and 500 GiB transfer, but DigitalOcean doesn't list a hard spending cap.
Which cloud provider has a spending limit?
AWS has a project spend limit from $20/month on the Paid plan, but only for accounts in the new AWS experience; see AWS spending limits. Google Cloud has service-scoped Spend Caps, Railway lists hard limits, and Cloudflare supports spend policies for Workers or Durable Objects. Azure has spending limits on qualifying credit subscriptions, not pay-as-you-go subscriptions.
Is Google Cloud cheaper than AWS?
The listed e2-micro costs $6.11/month in Iowa, while AWS t4g.micro costs $6.13/month in N. Virginia. Their CPU specifications differ, and Google offers eligible free e2-micro usage, so those prices alone don't settle the bill comparison.
Does a spending cap guarantee the invoice won't exceed my budget?
Don't assume that. Google uses gross, estimated costs and restricted service scope; Azure excludes some separately billed external services, and Railway's hard limit applies across workspace workloads.
Sources
- EC2 On-Demand Instance Pricing
- Amazon Lightsail Pricing
- Free Google Cloud features and trial offer - Google Cloud Free Program - Google Cloud
- VM instance pricing - Compute Engine - Google Cloud
- Manage spend cap budgets - Cloud Billing - Google Cloud Documentation
- Linux Virtual Machines Pricing - Microsoft Azure
- Azure spending limit - Microsoft Cost Management - Microsoft Learn
- Droplet Pricing - DigitalOcean
- AWS Free Tier FAQs
Updated