Softwr

Cloud · head to head

Amazon EC2 vs Amazon S3

Amazon EC2 logo

Amazon EC2

Cloud

Resizable virtual server compute service on AWS

From
Free
Free plan
Yes
Amazon S3 logo

Amazon S3

Cloud

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

From
On request
Free plan
No

The short version

  • Amazon EC2 is free; Amazon S3 prices on request.
  • Only Amazon EC2 lists over 1,000 instance types; only Amazon S3 lists object storage in buckets.
  • Where Amazon EC2 falls short: cost forecasting is complex across purchase options and instance types.
  • Where Amazon S3 falls short: billing depends on storage class, requests and transfer, so total cost is hard to predict.

How do Amazon EC2 and Amazon S3 differ?

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

Attributes where Amazon EC2 and Amazon S3 differ
AttributeAmazon EC2Amazon S3
Starting priceFreeOn request
Free tierYesNo
PlatformsWeb, Linux, Windows, macOSWeb

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

Which features does each one have?

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

  • Over 1,000 instance types
  • Intel, AMD and Arm (Graviton) processors
  • Per-second billing
  • Spot Instances and Savings Plans
  • Dedicated Hosts
  • EC2 Mac instances
  • Nitro System isolation

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

What is each one used for?

Amazon EC2 is most often brought in for hosting web applications and APIs; Amazon S3 for data lake storage for analytics. The jobs each tool is most often brought in to do.

Amazon EC2

  • Hosting web applications and APIsnot Amazon S3
  • Running GPU and machine learning workloadsnot Amazon S3
  • Building and signing macOS appsnot Amazon S3
  • Bursting capacity with Spot Instancesnot Amazon S3

Amazon S3

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

Where do Amazon EC2 and Amazon S3 fall short?

Amazon EC2's most cited limit: cost forecasting is complex across purchase options and instance types. Amazon S3's: billing depends on storage class, requests and transfer, so total cost is hard to predict. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon EC2

  • Cost forecasting is complex across purchase options and instance types
  • Spot instances carry no SLA and can be reclaimed on two minutes' notice
  • Instance-store data is lost when an instance stops or terminates
  • You manage OS patching, scaling and security configuration

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

How much do Amazon EC2 and Amazon S3 cost?

Amazon EC2 is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon EC2

Free

No published plan breakdown. See the Amazon EC2 review.

Amazon S3

On request

No published plan breakdown. See the Amazon S3 review.

Which should you pick?

Choose Amazon EC2 if

  • You need over 1,000 instance types.
  • You want to start without paying.
  • You work on Web, Linux, Windows, macOS.
  • You also want intel, amd and arm (graviton) processors.

Choose Amazon S3 if

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

Questions people ask

Is Amazon EC2 or Amazon S3 better?
It depends on the job. Amazon EC2 fits hosting web applications and APIs; Amazon S3 fits data lake storage for analytics. Amazon EC2 starts at Free and Amazon S3 at On request.
Which is cheaper, Amazon EC2 or Amazon S3?
Amazon EC2 has a free tier; the other does not. Paid plans start at Free for Amazon EC2 and On request for Amazon S3.
Does Amazon EC2 or Amazon S3 run on more platforms?
Amazon EC2 runs on Web, Linux, Windows, macOS. Amazon S3 runs on Web.
Can I use Amazon EC2 for free?
Yes. Amazon EC2 has a free tier, so you can try it without paying. Amazon S3 starts at On request.
What is Amazon EC2 best used for?
Amazon EC2 is most often used for hosting web applications and apis, running gpu and machine learning workloads, building and signing macos apps, bursting capacity with spot instances. Of those, hosting web applications and apis and running gpu and machine learning workloads are not what Amazon S3 is typically brought in for.
What can Amazon EC2 do that Amazon S3 cannot?
Amazon EC2 covers Over 1,000 instance types, Intel, AMD and Arm (Graviton) processors, Per-second billing, Spot Instances and Savings Plans. Amazon S3 covers Object storage in buckets, Multiple storage classes including Glacier, S3 Intelligent-Tiering, Versioning.

Answered from the vendors’ own pages

Amazon EC2: How is Amazon EC2 billed?

Usage is billed in one-second increments with a minimum charge of 60 seconds, across all purchase options and Regions.

Source
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
Amazon EC2: When did EC2 launch?

A limited public beta started on 25 August 2006, and the beta label was dropped on 23 October 2008 with the addition of an SLA.

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
Amazon EC2: How much can Spot Instances save?

AWS says Spot Instances save up to 90 percent versus On-Demand, and Savings Plans up to 72 percent. Wikipedia notes Spot can be reclaimed with two minutes' notice.

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