Cloud server costs

How much does a cloud server cost per month?

A small Linux cloud server costs from $3.07 per month on AWS, $6.11 on Google Cloud or $6.86 on Azure for the options below, before disk and other charges. Costbrake watches spend on AWS, Google Cloud and Azure in one place and alerts you on spikes, budget thresholds and month-end forecasts.

Compare the VM price first

Use 730 hours for a monthly estimate. These are On-Demand or pay-as-you-go Linux prices, with AWS in US East (N. Virginia), Google Cloud in Iowa (us-central1), and Azure in East US.

Compute only.

ProviderVM typevCPU and memoryMonthly price
AWSt4g.nano2 vCPU, 0.5 GiB$3.07
AWSt4g.micro2 vCPU, 1 GiB$6.13
AWSt4g.small2 vCPU, 2 GiB$12.26
AWSt4g.medium2 vCPU, 4 GiB$24.53
Google Cloude2-micro2 shared vCPUs, 0.25 vCPU billed, 1 GB$6.11
Google Cloude2-small2 shared vCPUs, 0.5 vCPU billed, 2 GB$12.23
Google Cloude2-medium2 shared vCPUs, 1 vCPU billed, 4 GB$24.46
AzureB2ats_v2Basv2 series$6.86
AzureB1sBS series$7.59

The hourly rates behind the smallest entries are $0.0042 for t4g.nano, $0.0084 for e2-micro and $0.0094 for B2ats_v2. Monthly totals use the listed pricing figures; displayed hourly rates can be rounded.

AWS has the cheapest paid VM in this selection. Google Cloud's e2-micro is close to AWS t4g.micro on price, but don't read the vCPU column as a promise of identical CPU capacity, and check the memory units too.

Sources: AWS compute pricing, Google Cloud VM pricing, Azure Linux VM pricing.

Add the server's disk

The VM price isn't your disk budget. Add storage separately:

  • AWS EBS gp3: $0.08 per GB-month in N. Virginia.
  • Google Cloud standard persistent disk: $0.04 per GiB-month in Iowa. Balanced persistent disk costs $0.10 per GiB-month.

AWS bills EBS for provisioned capacity until you release it, with additional charges for IOPS and throughput provisioned beyond baseline performance. gp3 includes 3,000 IOPS and 125 MB/s throughput.

There's a bundled option on AWS too. Lightsail starts at $5 USD/month with a public IPv4 address, 0.5 GB memory, 2 vCPUs, 20 GB SSD disk and 1 TB transfer. Compare that bundle with EC2 plus its separate charges, not just the EC2 compute line.

Price object storage separately

How much does cloud storage cost per GB? For these Standard storage options:

Keep the units as quoted (Google uses binary gigabytes). These are storage charges, not an all-in bucket price.

S3 Standard also charges $0.005 per 1,000 PUT, COPY, POST or LIST requests and $0.0004 per 1,000 GET, SELECT and other requests. Google Standard storage in a flat namespace charges $0.005 per 1,000 Class A operations and $0.0004 per 1,000 Class B operations.

Check what else can bill

Before you settle on a monthly budget, check the resources alongside the VM:

  • IP addresses. AWS charges $0.005 per hour for each public IPv4 address, in use or idle, which is $3.65 a month.
  • Data transfer. AWS includes 100 GB of monthly internet data transfer out, aggregated across services and regions except China and GovCloud.
  • CPU credits. T4g instances in Unlimited mode can incur CPU Credit charges of $0.04 per vCPU-Hour for Linux.
  • Databases and load balancers. The Lightsail example prices a standard managed database at $15 USD/month and a load balancer at $18 USD/month.

And check transfer allowances closely: Lightsail counts inbound and outbound traffic toward the allowance, though only outbound traffic beyond it incurs overage charges.

Apply the free offer last

Keep a paid estimate alongside the free offer. Credits expire.

AWS gives new accounts $100 immediately, with up to $100 more available through exploring services. The Free plan closes after 6 months or when credits run out, whichever comes first. You aren't charged unless you convert to a Paid plan; all credits expire within 12 months of account creation.

Google Cloud offers a $300 trial credit valid for 90 days. Without an upgrade, the trial account closes and resources stop when time or credit runs out. Its ongoing Compute Engine Free Tier includes 1 non-preemptible e2-micro in eligible US regions, 30 GB-months of standard persistent disk and 1 GB of eligible outbound transfer. VM hours are combined across supported regions.

Azure offers new customers $200 for 30 days, plus free monthly service amounts. For 12 months, that includes 750 hours each of B1s, B2pts v2 and B2ats v2 VMs. When the credit or trial period ends, services are disabled unless you move to pay-as-you-go.

Watch spending after deployment

Costbrake checks spending across 35 providers, including AWS, Google Cloud and Azure. Checks run hourly on Free and every 5 minutes on Pro and Team.

Brakes, its opt-in, reversible killswitch, are available on Pro and Team. An admin must click and confirm; Costbrake never brakes on its own, and brakes don't delete resources. See agent setup to connect your providers, or Costbrake pricing for plan limits.

Questions and answers

Which cloud is cheapest for a small server?

Among these paid VMs, AWS t4g.nano is cheapest at $3.07 per month, before disk and other charges. Google's eligible e2-micro Free Tier can cover the VM within its usage limits.

Is AWS cheaper than Azure?

For the listed options, AWS t4g.nano at $3.07 and t4g.micro at $6.13 cost less than Azure B2ats_v2 at $6.86 per month. That isn't a like-for-like performance comparison, and it excludes disk, IP addresses and transfer.

How much does cloud storage cost per GB?

AWS EBS gp3 costs $0.08 per GB-month, while S3 Standard starts at $0.023 per GB-month in N. Virginia. In Iowa, Google standard persistent disk costs $0.04 per GiB-month and Standard object storage costs $0.020 per GiB-month.

Does the monthly VM price include a database?

The compute prices in the table don't include a managed database. Lightsail lists its standard managed database separately at $15 USD/month.

Can Costbrake automatically stop a server when spending spikes?

No. Brakes are opt-in per connection on Pro and Team, and an admin must click and confirm before a brake runs.

Sources

Updated