Softwr

Software · head to head

Amazon VPC vs AWS Secrets Manager

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 Secrets Manager logo

AWS Secrets Manager

Software

Managed store for database credentials and API keys with automatic rotation

From
$0.4/month
Free plan
No

The short version

  • Amazon VPC has a free plan, then $0.005/mo; AWS Secrets Manager starts at $0.4/mo.
  • Only Amazon VPC lists subnets and routing; only AWS Secrets Manager lists automatic rotation.
  • 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 Secrets Manager falls short: replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage.

How do Amazon VPC and AWS Secrets Manager differ?

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

Attributes where Amazon VPC and AWS Secrets Manager differ
AttributeAmazon VPCAWS Secrets Manager
Starting priceFree$0.4/month
Pricing modelFree VPC, metered NAT gateways, addresses and add-onsPer secret per month plus per 10,000 API calls
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 Secrets Manager. 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 Secrets Manager

  • Automatic rotation
  • KMS encryption
  • Cross-Region replication
  • Fine-grained access
  • Audit trail
  • Versioning

What is each one used for?

Amazon VPC is most often brought in for isolating production, staging and development workloads in separate networks; AWS Secrets Manager for rotating RDS or Aurora database passwords on a schedule without code changes. The jobs each tool is most often brought in to do.

Amazon VPC

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

AWS Secrets Manager

  • Rotating RDS or Aurora database passwords on a schedule without code changesnot Amazon VPC
  • Giving ECS tasks and Lambda functions credentials at runtime instead of in environment filesnot Amazon VPC
  • Replicating secrets to a second Region for disaster recoverynot Amazon VPC
  • Centralising third-party API keys with audit logs for compliancenot Amazon VPC

Where do Amazon VPC and AWS Secrets Manager 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 Secrets Manager's: replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage. 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 Secrets Manager

  • The $0.40 per secret fee applies to every secret including rarely used ones, so organisations with thousands of per-service secrets see a steady monthly charge
  • Replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage
  • Rotation for anything other than the supported AWS databases means writing and maintaining your own Lambda function
  • It stores static secrets only; unlike HashiCorp Vault it does not issue short-lived dynamic credentials for many targets
  • It is AWS-only, so workloads on other clouds or on-premises must call AWS APIs across the network, tying their secret access to AWS availability

How much do Amazon VPC and AWS Secrets Manager cost?

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

$0.4/month
  • Secrets$0.4/mo
    • $0.40 per secret per month, prorated hourly
    • Each replica secret is billed as a separate secret
  • API callsOn request
    • $0.05 per 10,000 API calls
    • Rotation, retrieval and management calls all count

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 Secrets Manager if

  • You need automatic rotation.
  • You also want kms encryption.

Questions people ask

Is Amazon VPC or AWS Secrets Manager better?
It depends on the job. Amazon VPC fits isolating production, staging and development workloads in separate networks; AWS Secrets Manager fits rotating RDS or Aurora database passwords on a schedule without code changes. Amazon VPC starts at Free and AWS Secrets Manager at $0.4/month.
Which is cheaper, Amazon VPC or AWS Secrets Manager?
Amazon VPC has a free tier; the other does not. Paid plans start at Free for Amazon VPC and $0.4/month for AWS Secrets Manager.
Does Amazon VPC or AWS Secrets Manager 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 Secrets Manager starts at $0.4/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 Secrets Manager is typically brought in for.
What can Amazon VPC do that AWS Secrets Manager cannot?
Amazon VPC covers Subnets and routing, Security groups and NACLs, NAT gateways, PrivateLink endpoints. AWS Secrets Manager covers Automatic rotation, KMS encryption, Cross-Region replication, Fine-grained access.

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 Secrets Manager: How much does Secrets Manager cost?

$0.40 per secret per month and $0.05 per 10,000 API calls, per the AWS pricing page. A replica in another Region is billed as another secret.

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 Secrets Manager: Is Secrets Manager cheaper than Parameter Store?

Parameter Store standard parameters carry no charge, so for static values that do not need rotation it is cheaper. Secrets Manager adds rotation and replication.

Amazon VPC: Are public IPv4 addresses charged?

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

AWS Secrets Manager: Does it rotate secrets automatically?

Yes. It has managed rotation for supported AWS databases and uses Lambda functions for other secret types.

Share

Related pages

Other head to heads