Cloud · head to head
Amazon EC2 vs Amazon VPC

Amazon EC2
Cloud
Resizable virtual server compute service on AWS
- From
- Free
- Free plan
- Yes

Amazon VPC
Cloud
The private network layer for AWS, free to create with paid NAT, endpoints and addresses
- From
- Free
- Free plan
- Yes
The short version
- Amazon EC2 is free; Amazon VPC starts at $0.005/mo.
- Only Amazon EC2 lists over 1,000 instance types; only Amazon VPC lists subnets and routing.
- Where Amazon EC2 falls short: cost forecasting is complex across purchase options and instance types.
- 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.
How do Amazon EC2 and Amazon VPC differ?
Amazon EC2 and Amazon VPC differ on pricing model and platforms. Only the attributes on which Amazon EC2 and Amazon VPC actually diverge.
| Attribute | Amazon EC2 | Amazon VPC |
|---|---|---|
| Pricing model | Usage-based | Free VPC, metered NAT gateways, addresses and add-ons |
| Platforms | Web, Linux, Windows, macOS | Web |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: category for Amazon VPC.
Which features does each one have?
They share no listed features; 7 appear only for Amazon EC2 and 6 only for Amazon VPC. 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 VPC
- Subnets and routing
- Security groups and NACLs
- NAT gateways
- PrivateLink endpoints
- Flow Logs and Traffic Mirroring
- IPAM
What is each one used for?
Amazon EC2 is most often brought in for hosting web applications and APIs; Amazon VPC for isolating production, staging and development workloads in separate networks. The jobs each tool is most often brought in to do.
Amazon EC2
- Hosting web applications and APIsnot Amazon VPC
- Running GPU and machine learning workloadsnot Amazon VPC
- Building and signing macOS appsnot Amazon VPC
- Bursting capacity with Spot Instancesnot Amazon VPC
Amazon VPC
- Isolating production, staging and development workloads in separate networksnot Amazon EC2
- Giving private subnets outbound access through a NAT gateway while blocking inbound trafficnot Amazon EC2
- Reaching S3 and other AWS services over private endpoints to avoid NAT data chargesnot Amazon EC2
- Capturing and mirroring traffic for intrusion detectionnot Amazon EC2
Where do Amazon EC2 and Amazon VPC fall short?
Amazon EC2's most cited limit: cost forecasting is complex across purchase options and instance types. Amazon VPC's: every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost. 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 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
How much do Amazon EC2 and Amazon VPC cost?
Amazon EC2 is free to use; Amazon VPC has a free plan, with paid plans from $0.005/mo. Plan by plan below, from each vendor's own pricing page.
Amazon EC2
FreeNo published plan breakdown. See the Amazon EC2 review.
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
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 VPC if
- You need subnets and routing.
- You want to start without paying.
- You also want security groups and nacls.
Questions people ask
- Is Amazon EC2 or Amazon VPC better?
- It depends on the job. Amazon EC2 fits hosting web applications and APIs; Amazon VPC fits isolating production, staging and development workloads in separate networks. Amazon EC2 starts at Free and Amazon VPC at Free.
- Which is cheaper, Amazon EC2 or Amazon VPC?
- Amazon EC2 starts at Free and Amazon VPC at Free.
- Does Amazon EC2 or Amazon VPC run on more platforms?
- Amazon EC2 runs on Web, Linux, Windows, macOS. Amazon VPC runs on Web.
- Can I use Amazon EC2 for free?
- Both have a free tier, so you can try either at no cost before committing.
- 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 VPC is typically brought in for.
- What can Amazon EC2 do that Amazon VPC cannot?
- Amazon EC2 covers Over 1,000 instance types, Intel, AMD and Arm (Graviton) processors, Per-second billing, Spot Instances and Savings Plans. Amazon VPC covers Subnets and routing, Security groups and NACLs, NAT gateways, PrivateLink endpoints.
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.
SourceAmazon 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.
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.
SourceAmazon 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.
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.
SourceAmazon VPC: Are public IPv4 addresses charged?
Yes. $0.005 per hour per public IPv4 address, whether in use or idle.
Related pages
Other head to heads
- Amazon EC2 vs Google Compute Engine
- Amazon EC2 vs DigitalOcean
- Amazon EC2 vs Hetzner Cloud
- Amazon EC2 vs Linode
- Amazon EC2 vs OpenStack
- Amazon EC2 vs Exoscale
- Amazon EC2 vs Huawei Cloud
- Amazon EC2 vs Vast.ai
- Amazon EC2 vs Fireworks AI
- Amazon EC2 vs Nebius
- Amazon EC2 vs VMware vSphere
- Amazon EC2 vs Gcore
- Amazon EC2 vs HPE GreenLake
- Amazon EC2 vs IBM Turbonomic
- Amazon EC2 vs KeyCDN
- Amazon EC2 vs ManageEngine M365 Manager Plus
- Amazon EC2 vs Google Cloud Platform
- Amazon EC2 vs Google App Engine
- Amazon EC2 vs HAProxy
- Amazon EC2 vs Cilium
- Amazon EC2 vs Coolify
- Amazon EC2 vs Nutanix
- Amazon EC2 vs OVHcloud
- Amazon EC2 vs Proxmox VE
- Amazon EC2 vs Scaleway
- Amazon EC2 vs Portworx
- Amazon EC2 vs Nomad
- Amazon EC2 vs OpenEBS
- Amazon EC2 vs Paperspace
- Amazon EC2 vs Longhorn
- Amazon EC2 vs minikube
- Amazon EC2 vs Rook
- Amazon VPC vs Google Compute Engine
- Amazon VPC vs DigitalOcean
- Amazon VPC vs Hetzner Cloud
- Amazon VPC vs Linode
- Amazon VPC vs OpenStack
- Amazon VPC vs Exoscale
- Amazon VPC vs Huawei Cloud
- Amazon VPC vs Vast.ai
- Amazon VPC vs Fireworks AI
- Amazon VPC vs Nebius
- Amazon VPC vs VMware vSphere
- Amazon VPC vs Gcore
- Amazon VPC vs HPE GreenLake
- Amazon VPC vs IBM Turbonomic
- Amazon VPC vs KeyCDN
- Amazon VPC vs ManageEngine M365 Manager Plus
- Amazon VPC vs Google Cloud Platform
- Amazon VPC vs Google App Engine
- Amazon VPC vs HAProxy
- Amazon VPC vs Cilium
- Amazon VPC vs Coolify
- Amazon VPC vs Nutanix
- Amazon VPC vs OVHcloud
- Amazon VPC vs Proxmox VE
- Amazon VPC vs Scaleway
- Amazon VPC vs Portworx
- Amazon VPC vs Nomad
- Amazon VPC vs OpenEBS
- Amazon VPC vs Paperspace
- Amazon VPC vs Longhorn
- Amazon VPC vs minikube
- Amazon VPC vs Rook
