Softwr

Databases · head to head

Amazon VPC vs Azure Cosmos DB

Amazon VPC logo

Amazon VPC

Databases

The private network layer for AWS, free to create with paid NAT, endpoints and addresses

From
Free
Free plan
Yes
Azure Cosmos DB logo

Azure Cosmos DB

Databases

Globally distributed, multi-model database service from Azure

From
Free
Free plan
Yes

The short version

  • Azure Cosmos DB is free; Amazon VPC starts at $0.005/mo.
  • Only Amazon VPC lists subnets and routing; only Azure Cosmos DB lists global Distribution.
  • Where Amazon VPC falls short: every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost.
  • Where Azure Cosmos DB falls short: autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used.

How do Amazon VPC and Azure Cosmos DB differ?

Amazon VPC and Azure Cosmos DB differ on pricing model and platforms (Web against Web, Azure). Only the attributes on which Amazon VPC and Azure Cosmos DB actually diverge.

Attributes where Amazon VPC and Azure Cosmos DB differ
AttributeAmazon VPCAzure Cosmos DB
Pricing modelFree VPC, metered NAT gateways, addresses and add-onsUsage-based
PlatformsWebWeb, Azure

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for Amazon VPC, founded for Amazon VPC.

Which features does each one have?

They share no listed features; 6 appear only for Amazon VPC and 14 only for Azure Cosmos DB. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Amazon VPC

  • Subnets and routing
  • Security groups and NACLs
  • NAT gateways
  • PrivateLink endpoints
  • Flow Logs and Traffic Mirroring
  • IPAM

Only in Azure Cosmos DB

  • Global Distribution
  • Multi-model APIs
  • Elastic Scaling
  • Five Consistency Levels
  • SLA-backed Latency
  • Automatic Indexing
  • Serverless
  • Azure Functions

What is each one used for?

Amazon VPC is most often brought in for isolating production, staging and development workloads in separate networks; Azure Cosmos DB for running a globally distributed multi model database on Azure. The jobs each tool is most often brought in to do.

Amazon VPC

  • Isolating production, staging and development workloads in separate networksnot Azure Cosmos DB
  • Giving private subnets outbound access through a NAT gateway while blocking inbound trafficnot Azure Cosmos DB
  • Reaching S3 and other AWS services over private endpoints to avoid NAT data chargesnot Azure Cosmos DB
  • Capturing and mirroring traffic for intrusion detectionnot Azure Cosmos DB

Azure Cosmos DB

  • Running a globally distributed multi model database on Azurenot Amazon VPC
  • Serving low latency reads and writes from multiple Azure regionsnot Amazon VPC
  • Storing document, key value and graph data behind a managed servicenot Amazon VPC

Where do Amazon VPC and Azure Cosmos DB fall short?

Amazon VPC's most cited limit: every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost. Azure Cosmos DB's: autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon VPC

  • NAT gateways charge $0.045 per hour and $0.045 per GB, so private workloads pulling large data volumes from the internet can generate a large bill with no obvious source
  • Every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost
  • Cross-Availability Zone traffic is billed per GB, so designs that spread chatty services across zones pay for the resilience in data transfer fees
  • Networking is regional and per account, so connecting many VPCs needs Transit Gateway or peering, each with its own pricing and limits
  • Security groups, NACLs and route tables are easy to misconfigure, and there is no built-in policy checking beyond tools such as Reachability Analyzer, which is billed per analysis

Azure Cosmos DB

  • Autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used
  • Provisioned throughput is charged in every region the account is replicated to, so multi region accounts multiply the RU bill
  • Storage charges cover data, indexes and backups in each replicated region
  • Egress out of Azure and between regions is charged, though ingress is free
  • The free allowance is one account per Azure subscription, limited to 1,000 RU/s and 25 GB
  • RU/s rates vary by region and are only shown through the pricing calculator rather than a flat published rate

How much do Amazon VPC and Azure Cosmos DB cost?

Amazon VPC has a free plan, with paid plans from $0.005/mo; Azure Cosmos DB is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon VPC

Free
  • VPC, subnets and security groupsFree
    • No charge to create a VPC, subnets, route tables, security groups or network ACLs
  • NAT Gateway$0.045/hour
    • $0.045 per hour per gateway
    • $0.045 per GB processed
    • Regional NAT Gateway is $0.045 per hour per Availability Zone
  • Public IPv4 address$0.005/hour
    • $0.005 per hour, in use or idle
    • Traffic mirroring $0.015 per session hour
    • IPAM Advanced Tier $0.00027 per active IP address hour

Azure Cosmos DB

Free
  • Free TierFree
    • 1000 RU/s
    • 25GB storage
    • First 12 months
  • ServerlessFree
    • Pay per request
    • Auto-scaling
    • Event-driven workloads

Which should you pick?

Choose Amazon VPC if

  • You need subnets and routing.
  • You want to start without paying.
  • You also want security groups and nacls.

Choose Azure Cosmos DB if

  • You need global distribution.
  • You want to start without paying.
  • You work on Web, Azure.
  • You also want multi-model apis.

Questions people ask

Is Amazon VPC or Azure Cosmos DB better?
It depends on the job. Amazon VPC fits isolating production, staging and development workloads in separate networks; Azure Cosmos DB fits running a globally distributed multi model database on Azure. Amazon VPC starts at Free and Azure Cosmos DB at Free.
Which is cheaper, Amazon VPC or Azure Cosmos DB?
Amazon VPC starts at Free and Azure Cosmos DB at Free.
Does Amazon VPC or Azure Cosmos DB run on more platforms?
Amazon VPC runs on Web. Azure Cosmos DB runs on Web, Azure.
Can I use Amazon VPC for free?
Both have a free tier, so you can try either at no cost before committing.
What is Amazon VPC best used for?
Amazon VPC is most often used for isolating production, staging and development workloads in separate networks, giving private subnets outbound access through a nat gateway while blocking inbound traffic, reaching s3 and other aws services over private endpoints to avoid nat data charges, capturing and mirroring traffic for intrusion detection. Of those, isolating production, staging and development workloads in separate networks and giving private subnets outbound access through a nat gateway while blocking inbound traffic are not what Azure Cosmos DB is typically brought in for.
What can Amazon VPC do that Azure Cosmos DB cannot?
Amazon VPC covers Subnets and routing, Security groups and NACLs, NAT gateways, PrivateLink endpoints. Azure Cosmos DB covers Global Distribution, Multi-model APIs, Elastic Scaling, Five Consistency Levels.

Answered from the vendors’ own pages

Amazon VPC: Is Amazon VPC free?

Creating a VPC, subnets, route tables and security groups is free. NAT gateways, public IPv4 addresses, traffic mirroring and PrivateLink endpoints are charged.

Azure Cosmos DB: Is there a free tier for Azure Cosmos DB?

Yes, Cosmos DB offers a free tier with 1,000 RU/s of throughput and 25 GB of storage per month for the lifetime of the account, available to new accounts.

Source
Amazon VPC: How much does a NAT gateway cost?

$0.045 per hour in US East plus $0.045 per GB processed, per the AWS pricing page, before standard data transfer charges.

Azure Cosmos DB: How is Cosmos DB priced after the free tier?

Cosmos DB uses three billing models: provisioned throughput billed per request unit per second, vCore pricing for certain APIs, or serverless consumption pricing where you pay only for requests processed. Reserved capacity offers 20% discount for one year or 30% for three years.

Source
Amazon VPC: Are public IPv4 addresses charged?

Yes. $0.005 per hour per public IPv4 address, whether in use or idle.

Azure Cosmos DB: Can I change my pricing model after choosing one?

No. Once you select a compute pricing model and API, they cannot be changed. This choice is permanent for that database.

Source
Azure Cosmos DB: Is there a trial period for Cosmos DB beyond the free tier?

Azure offers a 30-day free trial account for all Azure services. Additionally, Azure AI customers may be eligible for a 90-day free Cosmos DB subscription through the Azure AI Advantage program.

Source
Share

Related pages

Other head to heads