Search⌘ K
AI Features

ElastiCache Serverless

Explore the ElastiCache Serverless deployment model, which removes the need for node selection and shard management by using a managed proxy and single DNS endpoint. Learn how this model changes operational tasks like scaling, patching, and monitoring to focus on application demand. Understand cost implications and when serverless is ideal, preparing you to manage caching infrastructure with greater simplicity and elasticity.

After choosing an engine, whether that engine is Valkey, Redis OSS, or Memcached, the next architectural choice is how that engine runs in production. ElastiCache supports two deployment models: serverless and node-based. The model you choose affects later operational decisions, including provisioning, scaling, patching, and client connectivity. This lesson focuses exclusively on ElastiCache Serverless, the model where AWS owns the infrastructure shape and your application interacts with a single, stable DNS endpoint. The core promise is straightforward: you never select a node type, never decide how many shards to create, and never schedule a maintenance window for engine patches. Behind that simplicity is a managed proxy layer, an automatic scaling mechanism, and a consumption-based pricing model that together change how teams think about caching infrastructure. The sections ahead cover capacity abstraction, the proxy layer and single endpoint, operational simplicity in day-two tasks, and the cost trade-offs that determine whether serverless is the right fit for a given workload. The next lesson examines the alternative node-based cluster model, so the comparison stays clean.

What does capacity abstraction mean?

In the traditional ElastiCache deployment model, a team makes several upfront decisions before a single key is written. They choose an instance family such as r6g or r7g, pick a specific size like large or xlarge, set the number of shards for horizontal partitioning, and decide how many read replicas each shard should carry. After launch, they monitor CPU utilization, memory pressure, and network throughput through CloudWatch. When thresholds are breached, they trigger a manual or policy-driven resize that can involve downtime risk or connection churn.

ElastiCache Serverless removes every one of those decisions from the deployment workflow. When you create a serverless cache, you specify the engine, a name, security configuration, and VPC placement. AWS handles everything else.

Note: Capacity abstraction does not mean capacity is unlimited. AWS scales resources behind the scenes, but the system still operates within service quotas and the physical constraints of the underlying infrastructure.
...