Softwr

Databases · head to head

AWS KMS vs Upstash

AWS KMS logo

AWS KMS

Databases

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

From
$1/month
Free plan
No
Upstash logo

Upstash

Databases

Serverless data for modern developers

From
Free
Free plan
Yes

The short version

  • Upstash has a free plan, then $10/mo; AWS KMS starts at $1/mo.
  • Only AWS KMS lists customer managed keys; only Upstash lists serverless Redis.
  • 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.
  • Where Upstash falls short: HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis.

How do AWS KMS and Upstash differ?

AWS KMS and Upstash differ on starting price ($1/month against Free), free tier (No against Yes) and platforms. Only the attributes on which AWS KMS and Upstash actually diverge.

Attributes where AWS KMS and Upstash differ
AttributeAWS KMSUpstash
Starting price$1/monthFree
Free tierNoYes
PlatformsWebAPI, Vercel Edge, Web, AWS Lambda

Not yet recorded: pricing model for Upstash, category for AWS KMS, founded for AWS KMS.

Which features does each one have?

They share no listed features; 6 appear only for AWS KMS and 20 only for Upstash. 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 KMS

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

Only in Upstash

  • Serverless Redis
  • Serverless Kafka
  • QStash
  • Global Replication
  • REST API
  • Edge Functions Support
  • Rate Limiting
  • Caching

What is each one used for?

AWS KMS is most often brought in for signing artefacts or JWTs with asymmetric keys that never leave the HSM; Upstash for caching. The jobs each tool is most often brought in to do.

AWS KMS

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

Upstash

  • Cachingnot AWS KMS
  • Session storagenot AWS KMS
  • Real-time messagingnot AWS KMS
  • Rate limitingnot AWS KMS
  • Serverless backendsnot AWS KMS

Where do AWS KMS and Upstash fall short?

AWS KMS's most cited limit: per-account request quotas can throttle high-volume workloads, forcing data key caching or architectural workarounds. Upstash's: HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

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

Upstash

  • HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis
  • Rate limiting occurs when traffic exceeds configured budget cap or request limits
  • Kafka service discontinued in March 2025, requiring migration to Upstash Workflow or alternatives
  • Limited Redis feature support compared to self-hosted Redis or Redis Cloud
  • High-request-volume workloads can accumulate significant costs due to per-request pricing model

How much do AWS KMS and Upstash cost?

AWS KMS starts at $1/mo; Upstash has a free plan, with paid plans from $10/mo. Plan by plan below, from each vendor's own pricing page.

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

Upstash

Free
  • FreeFree
    • 256 MB data
    • 500K commands per month
    • 10 GB bandwidth
  • Pay-as-you-go$0.2
    • Per-request billing
    • Storage at $0.25/GB
    • Unlimited commands
  • Fixed Plan$10/mo
    • 250 MB Redis
    • Predictable pricing
    • Global replication available at higher tiers

Which should you pick?

Choose AWS KMS if

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

Choose Upstash if

  • You need serverless redis.
  • You want to start without paying.
  • You work on API, Vercel Edge, Web, AWS Lambda.
  • You also want serverless kafka.

Questions people ask

Is AWS KMS or Upstash better?
It depends on the job. AWS KMS fits meeting a compliance requirement for customer-controlled encryption keys on S3 and RDS; Upstash fits caching. AWS KMS starts at $1/month and Upstash at Free.
Which is cheaper, AWS KMS or Upstash?
Upstash has a free tier; the other does not. Paid plans start at $1/month for AWS KMS and Free for Upstash.
Does AWS KMS or Upstash run on more platforms?
AWS KMS runs on Web. Upstash runs on API, Vercel Edge, Web, AWS Lambda.
Can I use Upstash for free?
Yes. Upstash has a free tier, so you can try it without paying. AWS KMS starts at $1/month.
What is AWS KMS best used for?
AWS KMS is most often used for meeting a compliance requirement for customer-controlled encryption keys on s3 and rds, signing artefacts or jwts with asymmetric keys that never leave the hsm, encrypting application secrets and data keys with envelope encryption, separating key administrators from data users with key policies and audit logs. Of those, meeting a compliance requirement for customer-controlled encryption keys on s3 and rds and signing artefacts or jwts with asymmetric keys that never leave the hsm are not what Upstash is typically brought in for.
What can AWS KMS do that Upstash cannot?
AWS KMS covers Customer managed keys, Service integration, Automatic rotation, Custom key stores. Upstash covers Serverless Redis, Serverless Kafka, QStash, Global Replication.

Answered from the vendors’ own pages

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.

Upstash: Does Upstash have a free tier?

Yes. The free tier provides 256 MB of data and 500,000 commands per month with 10 GB of bandwidth in a single region, no credit card required.

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.

Upstash: How does Upstash work with edge platforms like Vercel and Cloudflare Workers?

Upstash uses a REST API instead of TCP connections, enabling it to work from Vercel Edge, Cloudflare Workers, and AWS Lambda without persistent connections or connection pooling.

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.

Upstash: What programming languages are supported?

Upstash provides native SDKs for Python, Node.js, Go, and Rust. Java, C#, and PHP developers can use the REST API or community libraries.

Source
Upstash: Is Upstash Kafka still available?

No. Upstash Kafka was deprecated on September 11, 2024 and fully discontinued on March 11, 2025. Upstash Workflow is now recommended for durable serverless messaging and task queuing.

Source
Upstash: How is Upstash pricing structured?

Upstash uses per-request pricing at $0.20 per 100K commands for Redis, $0.25/GB for storage, and $0.40 per 100K requests for Vector database. Idle applications cost nothing.

Source
Upstash: Can Upstash be used with AWS Lambda?

Yes. Upstash works with AWS Lambda via its REST API, eliminating the need for connection pooling and making it ideal for stateless serverless functions.

Source
Share

Related pages

Other head to heads