Softwr

Software · head to head

AWS CodePipeline vs AWS KMS

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

AWS KMS

Software

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

From
$1/month
Free plan
No

The short version

  • AWS CodePipeline starts at $0.002/mo, AWS KMS at $1/mo.
  • Only AWS CodePipeline lists stages and actions; only AWS KMS lists customer managed keys.
  • 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.
  • 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 AWS CodePipeline and AWS KMS differ?

AWS CodePipeline and AWS KMS differ on starting price ($0.002/minute against $1/month) and pricing model. Only the attributes on which AWS CodePipeline and AWS KMS actually diverge.

Attributes where AWS CodePipeline and AWS KMS differ
AttributeAWS CodePipelineAWS KMS
Starting price$0.002/minute$1/month
Pricing modelPer active pipeline or per action execution minutePer key per month plus per 10,000 requests

Identical on both: free tier (No), platforms (Web).

Which features does each one have?

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

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

Only in AWS KMS

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

What is each one used for?

AWS CodePipeline is most often brought in for teams that want IAM-controlled pipelines without hosting Jenkins; 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.

AWS CodePipeline

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

AWS KMS

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

Where do AWS CodePipeline and AWS KMS fall short?

AWS CodePipeline's most cited limit: it orchestrates but does not build, so you pay for CodeBuild or another build service on top of the pipeline charge. 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.

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

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 AWS CodePipeline and AWS KMS cost?

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

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

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 AWS CodePipeline if

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

Choose AWS KMS if

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

Questions people ask

Is AWS CodePipeline or AWS KMS better?
It depends on the job. AWS CodePipeline fits delivering a CloudFormation or CDK application from commit to production inside one AWS organisation; AWS KMS fits meeting a compliance requirement for customer-controlled encryption keys on S3 and RDS. AWS CodePipeline starts at $0.002/minute and AWS KMS at $1/month.
Which is cheaper, AWS CodePipeline or AWS KMS?
AWS CodePipeline starts at $0.002/minute and AWS KMS at $1/month.
Does AWS CodePipeline or AWS KMS run on more platforms?
Both run on Web, so platform support will not decide this one for you.
What is AWS CodePipeline best used for?
AWS CodePipeline is most often used for delivering a cloudformation or cdk application from commit to production inside one aws organisation, running staged deployments with manual approval gates across several aws accounts, teams that want iam-controlled pipelines without hosting jenkins, orchestrating codebuild, lambda and ecs deploys in one visual workflow. Of those, delivering a cloudformation or cdk application from commit to production inside one aws organisation and running staged deployments with manual approval gates across several aws accounts are not what AWS KMS is typically brought in for.
What can AWS CodePipeline do that AWS KMS cannot?
AWS CodePipeline covers Stages and actions, V2 pipeline type, Manual approvals, Cross-account deploys. AWS KMS covers Customer managed keys, Service integration, Automatic rotation, Custom key stores.

Answered from the vendors’ own pages

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.

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.

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.

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.

AWS CodePipeline: Does CodePipeline run my builds?

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

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