Softwr

Software · head to head

Amazon SNS vs AWS CodePipeline

Amazon SNS logo

Amazon SNS

Software

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

From
On request
Free plan
No
AWS CodePipeline logo

AWS CodePipeline

Software

Managed release pipelines on AWS billed per active pipeline or per action minute

From
$0.002/minute
Free plan
No

The short version

  • AWS CodePipeline starts at $0.002/mo; Amazon SNS prices on request.
  • Only Amazon SNS lists topics and subscriptions; only AWS CodePipeline lists stages and actions.
  • 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.
  • Where AWS CodePipeline falls short: it orchestrates but does not build, so you pay for CodeBuild or another build service on top of the pipeline charge.

How do Amazon SNS and AWS CodePipeline differ?

Amazon SNS and AWS CodePipeline differ on starting price (On request against $0.002/minute), pricing model and platforms. Only the attributes on which Amazon SNS and AWS CodePipeline actually diverge.

Attributes where Amazon SNS and AWS CodePipeline differ
AttributeAmazon SNSAWS CodePipeline
Starting priceOn request$0.002/minute
Pricing modelPer request and per delivery, by protocolPer active pipeline or per action execution minute
PlatformsWeb, iOS, Android, LinuxWeb

Identical on both: free tier (No).

Which features does each one have?

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

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

Only in AWS CodePipeline

  • Stages and actions
  • V2 pipeline type
  • Manual approvals
  • Cross-account deploys
  • Third-party actions
  • Execution history

What is each one used for?

Amazon SNS is most often brought in for fanning one order event out to billing, fulfilment and analytics queues; AWS CodePipeline for teams that want IAM-controlled pipelines without hosting Jenkins. The jobs each tool is most often brought in to do.

Amazon SNS

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

AWS CodePipeline

  • Delivering a CloudFormation or CDK application from commit to production inside one AWS organisationnot Amazon SNS
  • Running staged deployments with manual approval gates across several AWS accountsnot Amazon SNS
  • Teams that want IAM-controlled pipelines without hosting Jenkinsnot Amazon SNS
  • Orchestrating CodeBuild, Lambda and ECS deploys in one visual workflownot Amazon SNS

Where do Amazon SNS and AWS CodePipeline fall short?

Amazon SNS's most cited limit: payload-based filtering is charged per GB scanned per subscription, which adds cost at high volumes. AWS CodePipeline's: it orchestrates but does not build, so you pay for CodeBuild or another build service on top of the pipeline charge. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

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

AWS CodePipeline

  • It orchestrates but does not build, so you pay for CodeBuild or another build service on top of the pipeline charge
  • The workflow definition is more rigid than YAML-in-repo tools like GitHub Actions or GitLab CI, and complex branching logic often needs custom Lambda actions
  • Pipelines run in a single Region, and cross-Region or cross-account deployment needs artefact buckets and role setup that teams often get wrong
  • V2 billing per action minute includes time spent waiting on approval or external actions, which makes long-running actions costlier than they appear
  • Third-party ecosystem and community examples are smaller, so integrating non-AWS tooling takes more custom work

How much do Amazon SNS and AWS CodePipeline cost?

AWS CodePipeline starts at $0.002/mo. Plan by plan below, from each vendor's own pricing page.

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

AWS CodePipeline

$0.002/minute
  • V1 pipeline$1/mo
    • $1.00 per active pipeline per month
    • One free active pipeline per month
    • No charge for pipelines with no code changes in the month
  • V2 pipeline$0.002/minute
    • $0.002 per action execution minute, rounded up per action
    • 100 free action execution minutes per month across the account

Which should you pick?

Choose Amazon SNS if

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

Choose AWS CodePipeline if

  • You need stages and actions.
  • You also want v2 pipeline type.

Questions people ask

Is Amazon SNS or AWS CodePipeline better?
It depends on the job. Amazon SNS fits fanning one order event out to billing, fulfilment and analytics queues; AWS CodePipeline fits delivering a CloudFormation or CDK application from commit to production inside one AWS organisation. Amazon SNS starts at On request and AWS CodePipeline at $0.002/minute.
Which is cheaper, Amazon SNS or AWS CodePipeline?
Amazon SNS starts at On request and AWS CodePipeline at $0.002/minute.
Does Amazon SNS or AWS CodePipeline run on more platforms?
Amazon SNS runs on Web, iOS, Android, Linux. AWS CodePipeline runs on Web.
What is Amazon SNS best used for?
Amazon SNS is most often used for fanning one order event out to billing, fulfilment and analytics queues, sending operational alerts from cloudwatch alarms to email and chat webhooks, mobile push notifications for an app without running a push gateway, pairing with sqs fifo for ordered event distribution across services. Of those, fanning one order event out to billing, fulfilment and analytics queues and sending operational alerts from cloudwatch alarms to email and chat webhooks are not what AWS CodePipeline is typically brought in for.
What can Amazon SNS do that AWS CodePipeline cannot?
Amazon SNS covers Topics and subscriptions, FIFO topics, Message filtering, Mobile push. AWS CodePipeline covers Stages and actions, V2 pipeline type, Manual approvals, Cross-account deploys.

Answered from the vendors’ own pages

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.

AWS CodePipeline: How much does CodePipeline cost?

V1 pipelines are $1.00 per active pipeline per month; V2 pipelines are $0.002 per action execution minute, per AWS. One V1 pipeline or 100 V2 minutes per month are free.

Amazon SNS: Does SNS keep messages?

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

AWS CodePipeline: What is the difference between V1 and V2 pipelines?

V1 is flat per active pipeline. V2 adds pipeline variables, more trigger options and per-minute billing.

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.

AWS CodePipeline: Does CodePipeline run my builds?

No. It calls CodeBuild, Jenkins or another action provider, which is billed separately.

Share

Related pages

Other head to heads