Softwr

Cloud · head to head

Amazon S3 vs Azure Cosmos DB

Amazon S3 logo

Amazon S3

Cloud

Amazon Web Services' pay-as-you-go object storage service

From
On request
Free plan
No
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 S3 prices on request.
  • Only Amazon S3 lists object storage in buckets; only Azure Cosmos DB lists global Distribution.
  • Where Amazon S3 falls short: billing depends on storage class, requests and transfer, so total cost is hard to predict.
  • 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 S3 and Azure Cosmos DB differ?

Amazon S3 and Azure Cosmos DB differ on starting price (On request against Free), free tier (No against Yes) and platforms (Web against Web, Azure). Only the attributes on which Amazon S3 and Azure Cosmos DB actually diverge.

Attributes where Amazon S3 and Azure Cosmos DB differ
AttributeAmazon S3Azure Cosmos DB
Starting priceOn requestFree
Free tierNoYes
PlatformsWebWeb, Azure
CategoryCloudDatabases

Identical on both: pricing model (Usage-based).

Not yet recorded: founded for Amazon S3.

Which features does each one have?

They share no listed features; 9 appear only for Amazon S3 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 S3

  • Object storage in buckets
  • Multiple storage classes including Glacier
  • S3 Intelligent-Tiering
  • Versioning
  • Replication
  • Encryption by default
  • Static website hosting
  • Time-limited authenticated URLs

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 S3 is most often brought in for data lake storage for analytics; 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 S3

  • Data lake storage for analyticsnot Azure Cosmos DB
  • Application and mobile app file storagenot Azure Cosmos DB
  • Long-term archives in Glacier classesnot Azure Cosmos DB
  • Static website hostingnot Azure Cosmos DB

Azure Cosmos DB

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

Where do Amazon S3 and Azure Cosmos DB fall short?

Amazon S3's most cited limit: billing depends on storage class, requests and transfer, so total cost is hard to predict. 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 S3

  • Billing depends on storage class, requests and transfer, so total cost is hard to predict
  • Outbound internet data transfer is charged beyond the first 100 GB per month
  • Objects larger than 5 GB need multipart upload because single uploads are capped at 5 GB
  • Versioning is disabled by default and must be switched on per bucket
  • Available only on AWS; moving data elsewhere means egress and re-integration work

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 S3 and Azure Cosmos DB cost?

Azure Cosmos DB is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon S3

On request

No published plan breakdown. See the Amazon S3 review.

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 S3 if

  • You need object storage in buckets.
  • You also want multiple storage classes including glacier.

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 S3 or Azure Cosmos DB better?
It depends on the job. Amazon S3 fits data lake storage for analytics; Azure Cosmos DB fits running a globally distributed multi model database on Azure. Amazon S3 starts at On request and Azure Cosmos DB at Free.
Which is cheaper, Amazon S3 or Azure Cosmos DB?
Azure Cosmos DB has a free tier; the other does not. Paid plans start at On request for Amazon S3 and Free for Azure Cosmos DB.
Does Amazon S3 or Azure Cosmos DB run on more platforms?
Amazon S3 runs on Web. Azure Cosmos DB runs on Web, Azure.
Can I use Azure Cosmos DB for free?
Yes. Azure Cosmos DB has a free tier, so you can try it without paying. Amazon S3 starts at On request.
What is Amazon S3 best used for?
Amazon S3 is most often used for data lake storage for analytics, application and mobile app file storage, long-term archives in glacier classes, static website hosting. Of those, data lake storage for analytics and application and mobile app file storage are not what Azure Cosmos DB is typically brought in for.
What can Amazon S3 do that Azure Cosmos DB cannot?
Amazon S3 covers Object storage in buckets, Multiple storage classes including Glacier, S3 Intelligent-Tiering, Versioning. Azure Cosmos DB covers Global Distribution, Multi-model APIs, Elastic Scaling, Five Consistency Levels.

Answered from the vendors’ own pages

Amazon S3: What is Amazon S3?

Amazon S3 is an object storage service from AWS, described as built to retrieve any amount of data from anywhere. It is used for data lakes, cloud-native applications and mobile apps.

Source
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 S3: How is S3 priced?

AWS says the cost depends on object size, storage duration and storage class, with no minimum charge. Inbound transfer from the internet is free, as are transfers between buckets in the same Region, and the first 100 GB per month out to the internet is free.

Source
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 S3: What is the maximum object size in S3?

Objects can be up to 5 TB. A single upload operation is capped at 5 GB, so larger objects use the multipart upload API.

Source
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
Amazon S3: Is S3 versioning on by default?

No. Versioning is available but disabled by default. Default bucket-level encryption was added in November 2017.

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