Softwr

Cloud · head to head

Amazon S3 vs Azure Functions

Amazon S3 logo

Amazon S3

Cloud

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

From
On request
Free plan
No
Azure Functions logo

Azure Functions

Cloud

Event-driven serverless compute on Azure

From
Free
Free plan
Yes

The short version

  • Azure Functions is free; Amazon S3 prices on request.
  • Where Amazon S3 falls short: billing depends on storage class, requests and transfer, so total cost is hard to predict.
  • Where Azure Functions falls short: the newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month.

How do Amazon S3 and Azure Functions differ?

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

Attributes where Amazon S3 and Azure Functions differ
AttributeAmazon S3Azure Functions
Starting priceOn requestFree
Free tierNoYes

Identical on both: pricing model (Usage-based), platforms (Web), category (Cloud).

Which features does each one have?

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

Nothing recorded that Amazon S3 does not also cover.

What is each one used for?

Amazon S3 is most often brought in for data lake storage for analytics; Azure Functions for event-driven computing. The jobs each tool is most often brought in to do.

Amazon S3

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

Azure Functions

  • Event-driven computingnot Amazon S3
  • Serverless application backendnot Amazon S3
  • Scalable API endpointsnot Amazon S3

Where do Amazon S3 and Azure Functions fall short?

Amazon S3's most cited limit: billing depends on storage class, requests and transfer, so total cost is hard to predict. Azure Functions's: the newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month. 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 Functions

  • Consumption plan free grant is capped at 1 million executions and 400,000 GB-seconds of resource consumption per month per subscription, billed per GB-second beyond that
  • The newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month
  • Premium plan avoids per-execution charges but bills continuously for allocated core seconds and memory regardless of invocation volume
  • Memory is rounded up to the nearest 128 MB and execution time to the nearest 1 ms for billing, so small overages round upward

How much do Amazon S3 and Azure Functions cost?

Azure Functions 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 Functions

Free
  • Consumption PlanOn request
    • 1 million requests free monthly
    • 400,000 GB-seconds free monthly
    • Billed per second and executions
  • Flex Consumption PlanOn request
    • 250,000 executions free monthly
    • 100,000 GB-seconds free monthly
    • Event-driven scaling
  • Premium PlanOn request
    • No execution charges
    • At least one instance required
    • Includes automatic scaling and VNET access

Which should you pick?

Choose Amazon S3 if

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

Choose Azure Functions if

  • You want to start without paying.

Questions people ask

Is Amazon S3 or Azure Functions better?
It depends on the job. Amazon S3 fits data lake storage for analytics; Azure Functions fits event-driven computing. Amazon S3 starts at On request and Azure Functions at Free.
Which is cheaper, Amazon S3 or Azure Functions?
Azure Functions has a free tier; the other does not. Paid plans start at On request for Amazon S3 and Free for Azure Functions.
Does Amazon S3 or Azure Functions run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Azure Functions for free?
Yes. Azure Functions 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 Functions is typically brought in for.
What can Amazon S3 do that Azure Functions cannot?
Amazon S3 covers Object storage in buckets, Multiple storage classes including Glacier, S3 Intelligent-Tiering, Versioning.

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 Functions: Does Azure Functions have a free tier?

Yes, Azure Functions includes a monthly free grant of 1 million requests and 400,000 GB-seconds on the Consumption Plan, or 250,000 executions and 100,000 GB-seconds on Flex Consumption.

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 Functions: What is Azure Functions' pricing model?

Azure Functions uses usage-based pricing. Consumption plans charge per second of resource consumption and per execution, measured in gigabyte-seconds and rounded to the nearest 128 MB.

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 Functions: What is the minimum execution time for Azure Functions?

The minimum execution time is 100 milliseconds on Consumption plans. Premium plans charge based on core seconds and allocated memory.

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
Share

Related pages

Other head to heads