Softwr

Software · head to head

Amazon VPC vs AWS KMS

Amazon VPC logo

Amazon VPC

Software

The private network layer for AWS, free to create with paid NAT, endpoints and addresses

From
Free
Free plan
Yes
AWS KMS logo

AWS KMS

Software

Managed encryption key service used by most AWS storage and database services

From
$1/month
Free plan
No

The short version

  • Amazon VPC has a free plan, then $0.005/mo; AWS KMS starts at $1/mo.
  • Only Amazon VPC lists subnets and routing; only AWS KMS lists customer managed keys.
  • 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 AWS KMS falls short: every decrypt call is a billed request, and workloads that call KMS for each record can accumulate millions of billable requests.

How do Amazon VPC and AWS KMS differ?

Amazon VPC and AWS KMS differ on starting price (Free against $1/month), pricing model and free tier (Yes against No). Only the attributes on which Amazon VPC and AWS KMS actually diverge.

Attributes where Amazon VPC and AWS KMS differ
AttributeAmazon VPCAWS KMS
Starting priceFree$1/month
Pricing modelFree VPC, metered NAT gateways, addresses and add-onsPer key per month plus per 10,000 requests
Free tierYesNo

Identical on both: platforms (Web).

Which features does each one have?

They share no listed features; 6 appear only for Amazon VPC and 6 only for AWS KMS. 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 AWS KMS

  • Customer managed keys
  • Service integration
  • Automatic rotation
  • Custom key stores
  • CloudTrail logging
  • Envelope encryption

What is each one used for?

Amazon VPC is most often brought in for isolating production, staging and development workloads in separate networks; AWS KMS for signing artefacts or JWTs with asymmetric keys that never leave the HSM. The jobs each tool is most often brought in to do.

Amazon VPC

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

AWS KMS

  • Meeting a compliance requirement for customer-controlled encryption keys on S3 and RDSnot Amazon VPC
  • Signing artefacts or JWTs with asymmetric keys that never leave the HSMnot Amazon VPC
  • Encrypting application secrets and data keys with envelope encryptionnot Amazon VPC
  • Separating key administrators from data users with key policies and audit logsnot Amazon VPC

Where do Amazon VPC and AWS KMS 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. AWS KMS's: per-account request quotas can throttle high-volume workloads, forcing data key caching or architectural workarounds. 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

AWS KMS

  • Cost grows with key count, so organisations that create one key per tenant or per object class pay $1 per month for each one, including the keys they forgot
  • Every decrypt call is a billed request, and workloads that call KMS for each record can accumulate millions of billable requests
  • Per-account request quotas can throttle high-volume workloads, forcing data key caching or architectural workarounds
  • Keys are tied to AWS, so using the same keys with other clouds or on-premises systems needs external key stores or a separate tool such as HashiCorp Vault
  • Key policies and grants interact with IAM in non-obvious ways, and a misconfigured policy can lock administrators out of a key

How much do Amazon VPC and AWS KMS cost?

Amazon VPC has a free plan, with paid plans from $0.005/mo; AWS KMS starts at $1/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

AWS KMS

$1/month
  • Customer managed key$1/mo
    • $1 per key per month, prorated hourly
    • Same price for symmetric, asymmetric, HMAC and multi-Region keys
    • First and second rotation each add $1 per month
  • RequestsOn request
    • $0.03 per 10,000 requests
    • 20,000 free requests per month
    • $0.15 per 10,000 for most asymmetric requests, $12.00 per 10,000 for RSA GenerateDataKeyPair

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 AWS KMS if

  • You need customer managed keys.
  • You also want service integration.

Questions people ask

Is Amazon VPC or AWS KMS better?
It depends on the job. Amazon VPC fits isolating production, staging and development workloads in separate networks; AWS KMS fits meeting a compliance requirement for customer-controlled encryption keys on S3 and RDS. Amazon VPC starts at Free and AWS KMS at $1/month.
Which is cheaper, Amazon VPC or AWS KMS?
Amazon VPC has a free tier; the other does not. Paid plans start at Free for Amazon VPC and $1/month for AWS KMS.
Does Amazon VPC or AWS KMS run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Amazon VPC for free?
Yes. Amazon VPC has a free tier, so you can try it without paying. AWS KMS starts at $1/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 AWS KMS is typically brought in for.
What can Amazon VPC do that AWS KMS cannot?
Amazon VPC covers Subnets and routing, Security groups and NACLs, NAT gateways, PrivateLink endpoints. AWS KMS covers Customer managed keys, Service integration, Automatic rotation, Custom key stores.

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.

AWS KMS: How much does AWS KMS cost?

$1 per month per customer managed key, $0.03 per 10,000 requests, and a free tier of 20,000 requests per month, per the AWS pricing page.

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.

AWS KMS: Are AWS managed keys free?

Keys that AWS services create on your behalf (AWS managed keys) have no monthly fee; usage charges for requests may still apply as shown on the pricing page.

Amazon VPC: Are public IPv4 addresses charged?

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

AWS KMS: What is the difference between KMS and CloudHSM?

KMS is a multi-tenant key service integrated with AWS services. CloudHSM gives you dedicated single-tenant HSMs, and in the AWS example a two-HSM cluster costs $1.60 per HSM per hour.

Share

Related pages

Other head to heads