Softwr

Cloud · head to head

Amazon CloudFront vs AWS KMS

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

AWS KMS

Cloud

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

From
$1/month
Free plan
No

The short version

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

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

Attributes where Amazon CloudFront and AWS KMS differ
AttributeAmazon CloudFrontAWS KMS
Starting priceFree$1/month
Pricing modelUsage-basedPer key per month plus per 10,000 requests
Free tierYesNo

Identical on both: platforms (Web).

Not yet recorded: category for AWS KMS.

Which features does each one have?

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

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

What is each one used for?

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

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

AWS KMS

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

Where do Amazon CloudFront and AWS KMS fall short?

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

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

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

Choose AWS KMS if

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

Questions people ask

Is Amazon CloudFront or AWS KMS better?
It depends on the job. Amazon CloudFront fits website acceleration; AWS KMS fits meeting a compliance requirement for customer-controlled encryption keys on S3 and RDS. Amazon CloudFront starts at Free and AWS KMS at $1/month.
Which is cheaper, Amazon CloudFront or AWS KMS?
Amazon CloudFront has a free tier; the other does not. Paid plans start at Free for Amazon CloudFront and $1/month for AWS KMS.
Does Amazon CloudFront 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 CloudFront for free?
Yes. Amazon CloudFront has a free tier, so you can try it without paying. AWS KMS starts at $1/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 KMS is typically brought in for.
What can Amazon CloudFront do that AWS KMS cannot?
Amazon CloudFront covers 750+ points of presence, AWS Shield Standard DDoS protection, Serverless edge compute, Flat-rate plans with no overage. AWS KMS covers Customer managed keys, Service integration, Automatic rotation, Custom key stores.

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