Softwr

Cloud · head to head

Amazon CloudFront vs AWS Secrets Manager

Amazon CloudFront logo

Amazon CloudFront

Cloud

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

From
Free
Free plan
Yes
AWS Secrets Manager logo

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 CloudFront has a free plan, then $15/mo; AWS Secrets Manager starts at $0.4/mo.
  • Only Amazon CloudFront lists 750+ points of presence; only AWS Secrets Manager lists automatic rotation.
  • Where Amazon CloudFront falls short: free plan has no logging, bot management or advanced DDoS protection.
  • 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 CloudFront and AWS Secrets Manager differ?

Amazon CloudFront 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 CloudFront and AWS Secrets Manager actually diverge.

Attributes where Amazon CloudFront and AWS Secrets Manager differ
AttributeAmazon CloudFrontAWS Secrets Manager
Starting priceFree$0.4/month
Pricing modelUsage-basedPer secret per month plus per 10,000 API calls
Free tierYesNo

Identical on both: platforms (Web).

Not yet recorded: category for AWS Secrets Manager.

Which features does each one have?

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

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

What is each one used for?

Amazon CloudFront is most often brought in for website acceleration; 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 CloudFront

  • Website accelerationnot AWS Secrets Manager
  • Video streaming deliverynot AWS Secrets Manager
  • API accelerationnot AWS Secrets Manager
  • Software and game update distributionnot AWS Secrets Manager
  • IoT firmware updatesnot AWS Secrets Manager

AWS Secrets Manager

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

Where do Amazon CloudFront and AWS Secrets Manager fall short?

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

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 CloudFront and AWS Secrets Manager cost?

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

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

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

Choose AWS Secrets Manager if

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

Questions people ask

Is Amazon CloudFront or AWS Secrets Manager better?
It depends on the job. Amazon CloudFront fits website acceleration; AWS Secrets Manager fits rotating RDS or Aurora database passwords on a schedule without code changes. Amazon CloudFront starts at Free and AWS Secrets Manager at $0.4/month.
Which is cheaper, Amazon CloudFront or AWS Secrets Manager?
Amazon CloudFront has a free tier; the other does not. Paid plans start at Free for Amazon CloudFront and $0.4/month for AWS Secrets Manager.
Does Amazon CloudFront 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 CloudFront for free?
Yes. Amazon CloudFront has a free tier, so you can try it without paying. AWS Secrets Manager starts at $0.4/month.
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 AWS Secrets Manager is typically brought in for.
What can Amazon CloudFront do that AWS Secrets Manager cannot?
Amazon CloudFront covers 750+ points of presence, AWS Shield Standard DDoS protection, Serverless edge compute, Flat-rate plans with no overage. AWS Secrets Manager covers Automatic rotation, KMS encryption, Cross-Region replication, Fine-grained access.

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