Cloud · head to head
Amazon EC2 vs AWS Secrets Manager

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

AWS Secrets Manager
Cloud
Managed store for database credentials and API keys with automatic rotation
- From
- $0.4/month
- Free plan
- No
The short version
- Amazon EC2 is free; AWS Secrets Manager starts at $0.4/mo.
- Only Amazon EC2 lists over 1,000 instance types; only AWS Secrets Manager lists automatic rotation.
- Where Amazon EC2 falls short: cost forecasting is complex across purchase options and instance types.
- 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 EC2 and AWS Secrets Manager differ?
Amazon EC2 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 EC2 and AWS Secrets Manager actually diverge.
| Attribute | Amazon EC2 | AWS Secrets Manager |
|---|---|---|
| Starting price | Free | $0.4/month |
| Pricing model | Usage-based | Per secret per month plus per 10,000 API calls |
| Free tier | Yes | No |
| Platforms | Web, Linux, Windows, macOS | Web |
Not yet recorded: category for AWS Secrets Manager.
Which features does each one have?
They share no listed features; 7 appear only for Amazon EC2 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 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 AWS Secrets Manager
- Automatic rotation
- KMS encryption
- Cross-Region replication
- Fine-grained access
- Audit trail
- Versioning
What is each one used for?
Amazon EC2 is most often brought in for hosting web applications and APIs; 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 EC2
- Hosting web applications and APIsnot AWS Secrets Manager
- Running GPU and machine learning workloadsnot AWS Secrets Manager
- Building and signing macOS appsnot AWS Secrets Manager
- Bursting capacity with Spot Instancesnot AWS Secrets Manager
AWS Secrets Manager
- Rotating RDS or Aurora database passwords on a schedule without code changesnot Amazon EC2
- Giving ECS tasks and Lambda functions credentials at runtime instead of in environment filesnot Amazon EC2
- Replicating secrets to a second Region for disaster recoverynot Amazon EC2
- Centralising third-party API keys with audit logs for compliancenot Amazon EC2
Where do Amazon EC2 and AWS Secrets Manager fall short?
Amazon EC2's most cited limit: cost forecasting is complex across purchase options and instance types. 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 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
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 EC2 and AWS Secrets Manager cost?
Amazon EC2 is free to use; AWS Secrets Manager starts at $0.4/mo. Plan by plan below, from each vendor's own pricing page.
Amazon EC2
FreeNo published plan breakdown. See the Amazon EC2 review.
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 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 AWS Secrets Manager if
- You need automatic rotation.
- You also want kms encryption.
Questions people ask
- Is Amazon EC2 or AWS Secrets Manager better?
- It depends on the job. Amazon EC2 fits hosting web applications and APIs; AWS Secrets Manager fits rotating RDS or Aurora database passwords on a schedule without code changes. Amazon EC2 starts at Free and AWS Secrets Manager at $0.4/month.
- Which is cheaper, Amazon EC2 or AWS Secrets Manager?
- Amazon EC2 has a free tier; the other does not. Paid plans start at Free for Amazon EC2 and $0.4/month for AWS Secrets Manager.
- Does Amazon EC2 or AWS Secrets Manager run on more platforms?
- Amazon EC2 runs on Web, Linux, Windows, macOS. AWS Secrets Manager runs on Web.
- Can I use Amazon EC2 for free?
- Yes. Amazon EC2 has a free tier, so you can try it without paying. AWS Secrets Manager starts at $0.4/month.
- 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 AWS Secrets Manager is typically brought in for.
- What can Amazon EC2 do that AWS Secrets Manager cannot?
- Amazon EC2 covers Over 1,000 instance types, Intel, AMD and Arm (Graviton) processors, Per-second billing, Spot Instances and Savings Plans. AWS Secrets Manager covers Automatic rotation, KMS encryption, Cross-Region replication, Fine-grained access.
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.
SourceAWS 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 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.
SourceAWS 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 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.
SourceAWS Secrets Manager: Does it rotate secrets automatically?
Yes. It has managed rotation for supported AWS databases and uses Lambda functions for other secret types.
Related pages
More on AWS Secrets Manager
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 Doppler
- Amazon EC2 vs Infisical
- Amazon EC2 vs HashiCorp Vault
- Amazon EC2 vs Keeper Password Manager
- Amazon EC2 vs Delinea
- Amazon EC2 vs Aikido
- Amazon EC2 vs Akeyless
- Amazon EC2 vs Legit Security
- Amazon EC2 vs HID Global
- Amazon EC2 vs Teleport
- Amazon EC2 vs Bitwarden
- Amazon EC2 vs NordPass
- Amazon EC2 vs ManageEngine Vulnerability Manager Plus
- Amazon EC2 vs Mandiant
- Amazon EC2 vs Menlo Security
- Amazon EC2 vs Microsoft Defender for Cloud
- Amazon EC2 vs Nmap
- Amazon EC2 vs Microsoft Defender XDR
- AWS Secrets Manager vs Google Compute Engine
- AWS Secrets Manager vs DigitalOcean
- AWS Secrets Manager vs Hetzner Cloud
- AWS Secrets Manager vs Linode
- AWS Secrets Manager vs OpenStack
- AWS Secrets Manager vs Exoscale
- AWS Secrets Manager vs Huawei Cloud
- AWS Secrets Manager vs Vast.ai
- AWS Secrets Manager vs Fireworks AI
- AWS Secrets Manager vs Nebius
- AWS Secrets Manager vs VMware vSphere
- AWS Secrets Manager vs Gcore
- AWS Secrets Manager vs HPE GreenLake
- AWS Secrets Manager vs IBM Turbonomic
- AWS Secrets Manager vs KeyCDN
- AWS Secrets Manager vs ManageEngine M365 Manager Plus
- AWS Secrets Manager vs Google Cloud Platform
- AWS Secrets Manager vs Google App Engine
- AWS Secrets Manager vs Doppler
- AWS Secrets Manager vs Infisical
- AWS Secrets Manager vs HashiCorp Vault
- AWS Secrets Manager vs Keeper Password Manager
- AWS Secrets Manager vs Delinea
- AWS Secrets Manager vs Aikido
- AWS Secrets Manager vs Akeyless
- AWS Secrets Manager vs Legit Security
- AWS Secrets Manager vs HID Global
- AWS Secrets Manager vs Teleport
- AWS Secrets Manager vs Bitwarden
- AWS Secrets Manager vs NordPass
- AWS Secrets Manager vs ManageEngine Vulnerability Manager Plus
- AWS Secrets Manager vs Mandiant
- AWS Secrets Manager vs Menlo Security
- AWS Secrets Manager vs Microsoft Defender for Cloud
- AWS Secrets Manager vs Nmap
- AWS Secrets Manager vs Microsoft Defender XDR
