Softwr

Databases · head to head

AWS Secrets Manager vs Memcached

AWS Secrets Manager logo

AWS Secrets Manager

Databases

Managed store for database credentials and API keys with automatic rotation

From
$0.4/month
Free plan
No
M

Memcached

Databases

Distributed memory object caching system

From
Free
Free plan
Yes

The short version

  • Memcached is free; AWS Secrets Manager starts at $0.4/mo.
  • Only AWS Secrets Manager lists automatic rotation; only Memcached lists in-memory key-value cache.
  • Where AWS Secrets Manager falls short: replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage.
  • Where Memcached falls short: no persistence at all: restart a node and its cache is gone, which every design must assume.

How do AWS Secrets Manager and Memcached differ?

AWS Secrets Manager and Memcached differ on starting price ($0.4/month against Free), pricing model and free tier (No against Yes). Only the attributes on which AWS Secrets Manager and Memcached actually diverge.

Attributes where AWS Secrets Manager and Memcached differ
AttributeAWS Secrets ManagerMemcached
Starting price$0.4/monthFree
Pricing modelPer secret per month plus per 10,000 API callsOpen source, no licence fee; managed cloud billed separately
Free tierNoYes
PlatformsWebLinux, macOS, Windows, Self-hosted

Not yet recorded: category for AWS Secrets Manager, founded for AWS Secrets Manager.

Which features does each one have?

They share no listed features; 6 appear only for AWS Secrets Manager and 4 only for Memcached. 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 Secrets Manager

  • Automatic rotation
  • KMS encryption
  • Cross-Region replication
  • Fine-grained access
  • Audit trail
  • Versioning

Only in Memcached

  • In-memory key-value cache
  • Multithreaded
  • Client-side sharding
  • Predictable memory use

What is each one used for?

AWS Secrets Manager is most often brought in for rotating RDS or Aurora database passwords on a schedule without code changes; Memcached for caching expensive database query results to cut load. The jobs each tool is most often brought in to do.

AWS Secrets Manager

  • Rotating RDS or Aurora database passwords on a schedule without code changesnot Memcached
  • Giving ECS tasks and Lambda functions credentials at runtime instead of in environment filesnot Memcached
  • Replicating secrets to a second Region for disaster recoverynot Memcached
  • Centralising third-party API keys with audit logs for compliancenot Memcached

Memcached

  • Caching expensive database query results to cut loadnot AWS Secrets Manager
  • Session storage where losing sessions on restart is acceptablenot AWS Secrets Manager
  • Fronting an API whose responses are costly and change slowlynot AWS Secrets Manager

Where do AWS Secrets Manager and Memcached fall short?

AWS Secrets Manager's most cited limit: replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage. Memcached's: no persistence at all: restart a node and its cache is gone, which every design must assume. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS Secrets Manager

  • The $0.40 per secret fee applies to every secret including rarely used ones, so organisations with thousands of per-service secrets see a steady monthly charge
  • Replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage
  • Rotation for anything other than the supported AWS databases means writing and maintaining your own Lambda function
  • It stores static secrets only; unlike HashiCorp Vault it does not issue short-lived dynamic credentials for many targets
  • It is AWS-only, so workloads on other clouds or on-premises must call AWS APIs across the network, tying their secret access to AWS availability

Memcached

  • No persistence at all: restart a node and its cache is gone, which every design must assume
  • No replication or failover, so losing a node loses that share of the cache
  • Only simple key-value, with none of the lists, sorted sets or streams Redis offers
  • Values are capped at 1MB by default, which surprises teams caching large documents

How much do AWS Secrets Manager and Memcached cost?

AWS Secrets Manager starts at $0.4/mo; Memcached is free to use. Plan by plan below, from each vendor's own pricing page.

AWS Secrets Manager

$0.4/month
  • Secrets$0.4/mo
    • $0.40 per secret per month, prorated hourly
    • Each replica secret is billed as a separate secret
  • API callsOn request
    • $0.05 per 10,000 API calls
    • Rotation, retrieval and management calls all count

Memcached

Free
  • MemcachedFree
    • Full functionality
    • Self-hosted
    • No usage limits

Which should you pick?

Choose AWS Secrets Manager if

  • You need automatic rotation.
  • You also want kms encryption.

Choose Memcached if

  • You need in-memory key-value cache.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Self-hosted.
  • You also want multithreaded.

Questions people ask

Is AWS Secrets Manager or Memcached better?
It depends on the job. AWS Secrets Manager fits rotating RDS or Aurora database passwords on a schedule without code changes; Memcached fits caching expensive database query results to cut load. AWS Secrets Manager starts at $0.4/month and Memcached at Free.
Which is cheaper, AWS Secrets Manager or Memcached?
Memcached has a free tier; the other does not. Paid plans start at $0.4/month for AWS Secrets Manager and Free for Memcached.
Does AWS Secrets Manager or Memcached run on more platforms?
AWS Secrets Manager runs on Web. Memcached runs on Linux, macOS, Windows, Self-hosted.
Can I use Memcached for free?
Yes. Memcached has a free tier, so you can try it without paying. AWS Secrets Manager starts at $0.4/month.
What is AWS Secrets Manager best used for?
AWS Secrets Manager is most often used for rotating rds or aurora database passwords on a schedule without code changes, giving ecs tasks and lambda functions credentials at runtime instead of in environment files, replicating secrets to a second region for disaster recovery, centralising third-party api keys with audit logs for compliance. Of those, rotating rds or aurora database passwords on a schedule without code changes and giving ecs tasks and lambda functions credentials at runtime instead of in environment files are not what Memcached is typically brought in for.
What can AWS Secrets Manager do that Memcached cannot?
AWS Secrets Manager covers Automatic rotation, KMS encryption, Cross-Region replication, Fine-grained access. Memcached covers In-memory key-value cache, Multithreaded, Client-side sharding, Predictable memory use.

Answered from the vendors’ own pages

AWS Secrets Manager: How much does Secrets Manager cost?

$0.40 per secret per month and $0.05 per 10,000 API calls, per the AWS pricing page. A replica in another Region is billed as another secret.

Memcached: Is Memcached free?

Yes, open source with no licence fee.

AWS Secrets Manager: Is Secrets Manager cheaper than Parameter Store?

Parameter Store standard parameters carry no charge, so for static values that do not need rotation it is cheaper. Secrets Manager adds rotation and replication.

Memcached: Memcached or Redis?

Memcached is a pure cache: simpler, multithreaded and very predictable. Redis adds persistence, replication and rich data structures, which is why it is the default choice unless you specifically want a cache and nothing more.

AWS Secrets Manager: Does it rotate secrets automatically?

Yes. It has managed rotation for supported AWS databases and uses Lambda functions for other secret types.

Memcached: Does Memcached persist data?

No. Everything is in memory and lost on restart, by design.

Share

Related pages

Other head to heads