Amazon ElastiCache

awsCacheaws-elasticache

Managed Valkey, Memcached or Redis OSS cache created as a serverless cache or a node-based cluster.

Provider
aws
Kind
Cache
Category
Data
Properties · 5 set by this component
propertytypevaluesrequiredkind defaultthis component
clusterMode · component propertyboolean—nofalseinherited
deployment · component propertyenumserverless | node-basednoserverlessinherited
durability · component propertyboolean—nofalseinherited
encryptionAtRest · component propertyboolean—notrueinherited
engine · component propertyenumvalkey | redis-oss | memcachedno—inherited
evictionPolicyenumlru | lfu | ttl | noneno—inherited
hashing · advancedenumnone | consistentnononeinherited
invalidationenumttl | event | nonenottlinherited
managedboolean—nofalse▸ true
materialised · advancedboolean—nofalseinherited
persistenceboolean—nofalse▸ false
readBarrier · advancedboolean—nofalseinherited
replicationenumnone | single-az | multi-az | multi-regionnononeinherited
shardsinteger—no—inherited
structure · advancedenumkey-value | bloom-filter | hash-set | sorted-setnokey-value▸ key-value
tier · advancedenumcore | edgenocore▸ core
ttlJitter · advancedboolean—nofalseinherited
ttlSecondsinteger—no—inherited
usedAsPrimaryStore · advancedboolean—nofalse▸ false
Rules that apply · 3

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

cache-as-primary-store-without-persistence

This cache is the only copy of its data and has persistence turned off. A restart loses the data outright.

  • — all of these hold:
  • — the node's `usedAsPrimaryStore` is true
  • — the node's `persistence` is false
cache-missing-eviction-policy

A cache with no declared eviction policy inherits whatever the vendor chose, and most vendors default to evicting nothing. The cache fills up and then starts refusing writes.

  • — any of these hold:
  • — the node's `evictionPolicy` has no value
  • — the node's `evictionPolicy` is "none"
materialised-cache-without-rebuild-path

A cache holding materialised views has to be rebuildable from a durable store or a worker. With nothing feeding it, a cold cache is a permanent gap rather than a slow start.

  • — all of these hold:
  • — the node's `materialised` is true
  • — this does not hold:
  • — the node has at least one incoming edge from a sql-database, nosql-database, worker or stream
Use it in a design
nodes:
  - { id: "elasticache", component: "aws-elasticache" }
Other Cache products · 36
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Amazon ElastiCache: managed in-memory cache running Valkey, Memcached or Redis OSS, created either as
# a serverless cache or as a node-based cluster ("What is Amazon ElastiCache?"). "At-Rest Encryption in
# ElastiCache" states that at-rest encryption is always enabled on a serverless cache and on clusters
# with durability enabled, and is opt-in at creation for other node-based clusters.
schemaVersion: "1"
type: "component"
id: "aws-elasticache"
kind: "cache"
provider: "aws"
docs: "https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/at-rest-encryption.html"
defaults:
  managed: true
  persistence: false
  usedAsPrimaryStore: false
  structure: "key-value"
  tier: "core"
properties:
  engine:
    type: "enum"
    values: ["valkey", "redis-oss", "memcached"]
  deployment:
    type: "enum"
    values: ["serverless", "node-based"]
    default: "serverless"
  encryptionAtRest:
    type: "boolean"
    default: true
  durability:
    type: "boolean"
    default: false
  clusterMode:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/aws-elasticache.md