Softwr

Cloud · head to head

Amazon CloudFront vs Amazon VPC

Amazon CloudFront logo

Amazon CloudFront

Cloud

AWS content delivery network with flat-rate and pay-as-you-go pricing

From
Free
Free plan
Yes
Amazon VPC logo

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

  • Free plans on both; paid from $15/mo and $0.005/mo.
  • Only Amazon CloudFront lists 750+ points of presence; only Amazon VPC lists subnets and routing.
  • Where Amazon CloudFront falls short: free plan has no logging, bot management or advanced DDoS protection.
  • 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 CloudFront and Amazon VPC differ?

Amazon CloudFront and Amazon VPC differ on pricing model. Only the attributes on which Amazon CloudFront and Amazon VPC actually diverge.

Attributes where Amazon CloudFront and Amazon VPC differ
AttributeAmazon CloudFrontAmazon VPC
Pricing modelUsage-basedFree VPC, metered NAT gateways, addresses and add-ons

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

Not yet recorded: category for Amazon VPC.

Which features does each one have?

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

  • 750+ points of presence
  • AWS Shield Standard DDoS protection
  • Serverless edge compute
  • Flat-rate plans with no overage
  • Pay-as-you-go pricing
  • Field-level encryption
  • gRPC and WebSockets support
  • Origin failover on Premium

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 CloudFront is most often brought in for website acceleration; Amazon VPC for isolating production, staging and development workloads in separate networks. The jobs each tool is most often brought in to do.

Amazon CloudFront

  • Website accelerationnot Amazon VPC
  • Video streaming deliverynot Amazon VPC
  • API accelerationnot Amazon VPC
  • Software and game update distributionnot Amazon VPC
  • IoT firmware updatesnot Amazon VPC

Amazon VPC

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

Where do Amazon CloudFront and Amazon VPC fall short?

Amazon CloudFront's most cited limit: free plan has no logging, bot management or advanced DDoS protection. 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 CloudFront

  • Free plan has no logging, bot management or advanced DDoS protection
  • Advanced DDoS protection and uptime SLA start at the Business plan
  • Pay-as-you-go cost varies month to month with traffic
  • Flat-rate plans cannot be combined with other offers or discounts

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 CloudFront and Amazon VPC cost?

Amazon CloudFront has a free plan, with paid plans from $15/mo; 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 CloudFront

Free
  • FreeFree
  • Pro$15/mo
  • Business$200/mo
  • Premium$1,000/mo

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

  • You need 750+ points of presence.
  • You want to start without paying.
  • You also want aws shield standard ddos protection.

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 CloudFront or Amazon VPC better?
It depends on the job. Amazon CloudFront fits website acceleration; Amazon VPC fits isolating production, staging and development workloads in separate networks. Amazon CloudFront starts at Free and Amazon VPC at Free.
Which is cheaper, Amazon CloudFront or Amazon VPC?
Amazon CloudFront starts at Free and Amazon VPC at Free.
Does Amazon CloudFront or Amazon VPC run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Amazon CloudFront for free?
Both have a free tier, so you can try either at no cost before committing.
What is Amazon CloudFront best used for?
Amazon CloudFront is most often used for website acceleration, video streaming delivery, api acceleration, software and game update distribution. Of those, website acceleration and video streaming delivery are not what Amazon VPC is typically brought in for.
What can Amazon CloudFront do that Amazon VPC cannot?
Amazon CloudFront covers 750+ points of presence, AWS Shield Standard DDoS protection, Serverless edge compute, Flat-rate plans with no overage. Amazon VPC covers Subnets and routing, Security groups and NACLs, NAT gateways, PrivateLink endpoints.

Answered from the vendors’ own pages

Amazon CloudFront: How is CloudFront priced?

It offers flat-rate plans billed monthly per distribution with no overage charges. Alternatively, pay-as-you-go bills each service separately by usage, so cost varies with traffic.

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

Amazon CloudFront: Is there a free plan?

Yes. The Free plan is $0 a month and includes 1M requests, 100GB of data transfer and a basic WAF with 5 rules.

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.

Amazon CloudFront: How many points of presence does it have?

The product page cites more than 750 globally dispersed points of presence. It also describes automated network mapping and intelligent routing.

Source
Amazon VPC: Are public IPv4 addresses charged?

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

Share

Related pages

Other head to heads