Softwr

Cloud · head to head

Amazon CloudFront vs Amazon SNS

Amazon CloudFront logo

Amazon CloudFront

Cloud

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

From
Free
Free plan
Yes
Amazon SNS logo

Amazon SNS

Cloud

Publish-subscribe messaging and mobile push, billed per request and per delivery

From
On request
Free plan
No

The short version

  • Amazon CloudFront starts at $15/mo; Amazon SNS prices on request.
  • Only Amazon CloudFront lists 750+ points of presence; only Amazon SNS lists topics and subscriptions.
  • Where Amazon CloudFront falls short: free plan has no logging, bot management or advanced DDoS protection.
  • Where Amazon SNS falls short: SMS pricing varies by country and can be expensive on international traffic, so an unbounded alert integration can generate a large bill.

How do Amazon CloudFront and Amazon SNS differ?

Amazon CloudFront and Amazon SNS differ on starting price (Free against On request), pricing model and free tier (Yes against No). Only the attributes on which Amazon CloudFront and Amazon SNS actually diverge.

Attributes where Amazon CloudFront and Amazon SNS differ
AttributeAmazon CloudFrontAmazon SNS
Starting priceFreeOn request
Pricing modelUsage-basedPer request and per delivery, by protocol
Free tierYesNo
PlatformsWebWeb, iOS, Android, Linux

Not yet recorded: category for Amazon SNS.

Which features does each one have?

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

  • Topics and subscriptions
  • FIFO topics
  • Message filtering
  • Mobile push
  • SMS and email
  • Message archiving and replay

What is each one used for?

Amazon CloudFront is most often brought in for website acceleration; Amazon SNS for fanning one order event out to billing, fulfilment and analytics queues. The jobs each tool is most often brought in to do.

Amazon CloudFront

  • Website accelerationnot Amazon SNS
  • Video streaming deliverynot Amazon SNS
  • API accelerationnot Amazon SNS
  • Software and game update distributionnot Amazon SNS
  • IoT firmware updatesnot Amazon SNS

Amazon SNS

  • Fanning one order event out to billing, fulfilment and analytics queuesnot Amazon CloudFront
  • Sending operational alerts from CloudWatch alarms to email and chat webhooksnot Amazon CloudFront
  • Mobile push notifications for an app without running a push gatewaynot Amazon CloudFront
  • Pairing with SQS FIFO for ordered event distribution across servicesnot Amazon CloudFront

Where do Amazon CloudFront and Amazon SNS fall short?

Amazon CloudFront's most cited limit: free plan has no logging, bot management or advanced DDoS protection. Amazon SNS's: payload-based filtering is charged per GB scanned per subscription, which adds cost at high volumes. 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

Amazon SNS

  • SMS pricing varies by country and can be expensive on international traffic, so an unbounded alert integration can generate a large bill
  • There is no message persistence for slow subscribers beyond delivery retries, so consumers that fall behind can lose messages unless an SQS queue sits between
  • It lacks the audience management, templating and campaign analytics of a marketing platform, so it cannot replace a customer messaging tool
  • Payload-based filtering is charged per GB scanned per subscription, which adds cost at high volumes
  • Delivery to HTTP endpoints requires your endpoint to confirm subscriptions and cope with retries and duplicates

How much do Amazon CloudFront and Amazon SNS cost?

Amazon CloudFront has a free plan, with paid plans from $15/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

Amazon SNS

On request
  • Publishes and mobile pushOn request
    • First 1 million requests free, then $0.50 per million
    • Mobile push free for the first 1 million, then $0.50 per million
  • HTTP, HTTPS and emailOn request
    • HTTP and HTTPS: first 100,000 free, then $0.60 per million
    • Email: first 1,000 free, then $2.00 per 100,000
    • SQS and Lambda deliveries: no per-delivery charge
  • SMSOn request
    • Priced per message by destination country, see the SNS pricing page
    • Not covered by the free tier in most regions

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 Amazon SNS if

  • You need topics and subscriptions.
  • You work on Web, iOS, Android, Linux.
  • You also want fifo topics.

Questions people ask

Is Amazon CloudFront or Amazon SNS better?
It depends on the job. Amazon CloudFront fits website acceleration; Amazon SNS fits fanning one order event out to billing, fulfilment and analytics queues. Amazon CloudFront starts at Free and Amazon SNS at On request.
Which is cheaper, Amazon CloudFront or Amazon SNS?
Amazon CloudFront has a free tier; the other does not. Paid plans start at Free for Amazon CloudFront and On request for Amazon SNS.
Does Amazon CloudFront or Amazon SNS run on more platforms?
Amazon CloudFront runs on Web. Amazon SNS runs on Web, iOS, Android, Linux.
Can I use Amazon CloudFront for free?
Yes. Amazon CloudFront has a free tier, so you can try it without paying. Amazon SNS starts at On request.
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 Amazon SNS is typically brought in for.
What can Amazon CloudFront do that Amazon SNS cannot?
Amazon CloudFront covers 750+ points of presence, AWS Shield Standard DDoS protection, Serverless edge compute, Flat-rate plans with no overage. Amazon SNS covers Topics and subscriptions, FIFO topics, Message filtering, Mobile push.

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
Amazon SNS: Is Amazon SNS free?

The first 1 million requests per month are free, plus small free allowances for HTTP and email deliveries, per AWS. SMS is not free.

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
Amazon SNS: Does SNS keep messages?

Standard topics do not store messages for slow subscribers; durability comes from subscribing an SQS queue.

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
Amazon SNS: Can I send email with SNS?

Yes, for alerts, but it is plain notification email. Amazon SES is the service for transactional and bulk email.

Share

Related pages

Other head to heads