Cloud · head to head
Amazon VPC vs Heroku

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
- Heroku is a cloud platform as a service.
- Amazon VPC has a free plan, then $0.005/mo; Heroku starts at $5/mo.
- Only Amazon VPC lists subnets and routing; only Heroku lists git-based deployment.
- 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.
- Where Heroku falls short: there is no free dyno tier; the cheapest Eco dyno is $5 per month.
How do Amazon VPC and Heroku differ?
Amazon VPC and Heroku differ on starting price (Free against $5/month), pricing model and free tier (Yes against No). Only the attributes on which Amazon VPC and Heroku actually diverge.
| Attribute | Amazon VPC | Heroku |
|---|---|---|
| Starting price | Free | $5/month |
| Pricing model | Free VPC, metered NAT gateways, addresses and add-ons | Subscription |
| Free tier | Yes | No |
| Platforms | Web | Web, API, Workers |
Not yet recorded: category for Amazon VPC, founded for Amazon VPC.
Which features does each one have?
They share no listed features; 6 appear only for Amazon VPC and 20 only for Heroku. 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 VPC
- Subnets and routing
- Security groups and NACLs
- NAT gateways
- PrivateLink endpoints
- Flow Logs and Traffic Mirroring
- IPAM
Only in Heroku
- Git-based deployment
- Buildpacks
- Dynos (containers)
- Add-ons marketplace
- Postgres database
- Environment variables
- Logging
- API
What is each one used for?
Amazon VPC is most often brought in for isolating production, staging and development workloads in separate networks; Heroku for application hosting. The jobs each tool is most often brought in to do.
Amazon VPC
- Isolating production, staging and development workloads in separate networksnot Heroku
- Giving private subnets outbound access through a NAT gateway while blocking inbound trafficnot Heroku
- Reaching S3 and other AWS services over private endpoints to avoid NAT data chargesnot Heroku
- Capturing and mirroring traffic for intrusion detectionnot Heroku
Heroku
- Application hostingnot Amazon VPC
- Database as a servicenot Amazon VPC
- CI/CD pipelinesnot Amazon VPC
- API deploymentnot Amazon VPC
Where do Amazon VPC and Heroku fall short?
Amazon VPC's most cited limit: every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost. Heroku's: there is no free dyno tier; the cheapest Eco dyno is $5 per month. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
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
Heroku
- There is no free dyno tier; the cheapest Eco dyno is $5 per month
- Eco dynos sleep after 30 minutes of inactivity, are restricted to personal accounts and allow only 2 process types
- Free SSL and 10 process types start at the Basic dyno at $7 per month
- Private and Shield dyno types require a Private Space, which is billed on top of the dynos
- Private Space dynos start at $250 per month for Private-M and $500 per month for Private-L
- Dyno prices are per dyno per month, so an app with several process types multiplies the bill
How much do Amazon VPC and Heroku cost?
Amazon VPC has a free plan, with paid plans from $0.005/mo; Heroku starts at $5/mo. Plan by plan below, from each vendor's own pricing page.
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
Heroku
$5/month- Eco Dyno$5/mo
- 0.5 GB RAM
- Git/Docker deploy
- Custom domains
- Basic Dyno$7/mo
- 0.5 GB RAM
- Always-on
- Free SSL
- Standard-1X Dyno$25/mo
- 0.5 GB RAM
- Horizontal scaling
- App metrics
- Standard-2X Dyno$50/mo
- 1 GB RAM
- Horizontal scaling
- App metrics
Which should you pick?
Choose Amazon VPC if
- You need subnets and routing.
- You want to start without paying.
- You also want security groups and nacls.
Choose Heroku if
- You need git-based deployment.
- You work on Web, API, Workers.
- You also want buildpacks.
Questions people ask
- Is Amazon VPC or Heroku better?
- It depends on the job. Amazon VPC fits isolating production, staging and development workloads in separate networks; Heroku fits application hosting. Amazon VPC starts at Free and Heroku at $5/month.
- Which is cheaper, Amazon VPC or Heroku?
- Amazon VPC has a free tier; the other does not. Paid plans start at Free for Amazon VPC and $5/month for Heroku.
- Does Amazon VPC or Heroku run on more platforms?
- Amazon VPC runs on Web. Heroku runs on Web, API, Workers.
- Can I use Amazon VPC for free?
- Yes. Amazon VPC has a free tier, so you can try it without paying. Heroku starts at $5/month.
- What is Amazon VPC best used for?
- Amazon VPC is most often used for isolating production, staging and development workloads in separate networks, giving private subnets outbound access through a nat gateway while blocking inbound traffic, reaching s3 and other aws services over private endpoints to avoid nat data charges, capturing and mirroring traffic for intrusion detection. Of those, isolating production, staging and development workloads in separate networks and giving private subnets outbound access through a nat gateway while blocking inbound traffic are not what Heroku is typically brought in for.
- What can Amazon VPC do that Heroku cannot?
- Amazon VPC covers Subnets and routing, Security groups and NACLs, NAT gateways, PrivateLink endpoints. Heroku covers Git-based deployment, Buildpacks, Dynos (containers), Add-ons marketplace.
Answered from the vendors’ own pages
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.
Heroku: How much does Heroku cost?
Heroku dyno pricing starts at $5 per month USD for the Eco tier (with 30-minute inactivity sleep), $7 per month for Basic (always-on), and scales up to $1,500 per month for Performance-2XL with 126 GB RAM.
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.
Heroku: What is the cheapest always-on Heroku plan?
The Basic Dyno at $7 per month USD is Heroku's cheapest always-on container option. It provides 0.5 GB RAM, free SSL, and support for 10 process types.
SourceAmazon VPC: Are public IPv4 addresses charged?
Yes. $0.005 per hour per public IPv4 address, whether in use or idle.
Heroku: How is Heroku Postgres priced?
Heroku Postgres Essential tier (shared resources) starts at $5-$20 per month for 1-32 GB disk. Standard tier (dedicated) ranges $50-$12,000 per month. Premium, Private, Shield, and Advanced tiers offer higher performance at corresponding prices.
SourceRelated pages
Other head to heads
- Amazon VPC vs Google Cloud Platform
- Amazon VPC vs HAProxy
- Amazon VPC vs Cilium
- Amazon VPC vs Coolify
- Amazon VPC vs DigitalOcean
- Amazon VPC vs Hetzner Cloud
- Amazon VPC vs Nutanix
- Amazon VPC vs OVHcloud
- Amazon VPC vs OpenStack
- 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
- Amazon VPC vs Render
- Amazon VPC vs Porter
- Amazon VPC vs Railway
- Amazon VPC vs Qovery
- Amazon VPC vs AWS Elastic Beanstalk
- Amazon VPC vs Fly.io
- Amazon VPC vs Dokku
- Amazon VPC vs Upsun
- Amazon VPC vs AWS (Amazon Web Services)
- Amazon VPC vs Google Cloud Run
- Amazon VPC vs Bunny.net
- Amazon VPC vs CapRover
- Amazon VPC vs Cerebrium
- Amazon VPC vs Chef
- Amazon VPC vs CloudAMQP
- Amazon VPC vs containerd
- Heroku vs Google Cloud Platform
- Heroku vs HAProxy
- Heroku vs Cilium
- Heroku vs Coolify
- Heroku vs DigitalOcean
- Heroku vs Hetzner Cloud
- Heroku vs Nutanix
- Heroku vs OVHcloud
- Heroku vs OpenStack
- Heroku vs Proxmox VE
- Heroku vs Scaleway
- Heroku vs Portworx
- Heroku vs Nomad
- Heroku vs OpenEBS
- Heroku vs Paperspace
- Heroku vs Longhorn
- Heroku vs minikube
- Heroku vs Rook
- Heroku vs Render
- Heroku vs Porter
- Heroku vs Railway
- Heroku vs Qovery
- Heroku vs AWS Elastic Beanstalk
- Heroku vs Fly.io
- Heroku vs Dokku
- Heroku vs Upsun
- Heroku vs AWS (Amazon Web Services)
- Heroku vs Google Cloud Run
- Heroku vs Bunny.net
- Heroku vs CapRover
- Heroku vs Cerebrium
- Heroku vs Chef
- Heroku vs CloudAMQP
- Heroku vs containerd

