[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A82T5HN4S164PV467ZFC3P":3,"skill-same:01M7A82T5HN4S164PV467ZFC3P":146},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7A82T5HN4S164PV467ZFC3P","elasticache-cache-deployer",null,"Provisions ElastiCache (Redis OSS \u002F Memcached) clusters with production defaults: engine selection (Redis for persistence, clustering, pub\u002Fsub, TLS vs Memcached for simple key-value, multi-threaded, no persistence), cluster mode enabled vs disabled, node type sizing, Multi-AZ failover (Redis only), VPC-only networking, encryption at-rest + in-transit + AUTH (Redis only), subnet group, parameter group maxmemory-policy, snapshot retention, ElastiCache Serverless, Global Datastore. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an ElastiCache cluster, choosing between Redis and Memcached, designing a Multi-AZ Redis failover topology, sizing cache nodes, or generating provisioning CLI commands \u002F IaC templates. Triggers: create ElastiCache, provision Redis, provision Memcached, ElastiCache cluster mode, Redis replication group, Global Datastore, ElastiCache Serverless, cache node type sizing.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: elasticache-cache-deployer\ndescription: 'Provisions ElastiCache (Redis OSS \u002F Memcached) clusters with production defaults: engine selection (Redis for persistence, clustering, pub\u002Fsub, TLS vs Memcached for simple key-value, multi-threaded, no persistence), cluster mode enabled vs disabled, node type sizing, Multi-AZ failover (Redis only), VPC-only networking, encryption at-rest + in-transit + AUTH (Redis only), subnet group, parameter group maxmemory-policy, snapshot retention, ElastiCache Serverless, Global Datastore. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an ElastiCache cluster, choosing between Redis and Memcached, designing a Multi-AZ Redis failover topology, sizing cache nodes, or generating provisioning CLI commands \u002F IaC templates. Triggers: create ElastiCache, provision Redis, provision Memcached, ElastiCache cluster mode, Redis replication group, Global Datastore, ElastiCache Serverless, cache node type sizing.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with elasticache, ec2, kms, and iam access. Works with Terraform aws_elasticache_cluster \u002F aws_elasticache_replication_group resources and CloudFormation AWS::ElastiCache::* templates.'\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '1'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Databases\n  task_type: deploy\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  tags: aws, elasticache, redis, memcached, cloudops, deploy, databases, cache, provisioning, replication-group, multi-az, encryption, global-datastore, serverless\n  dependencies: aws-orchestrator\n  keywords: aws, elasticache, redis, memcached, cloudops, deploy, provisioning, cache, replication group, cluster mode, multi-az, failover, encryption at rest, encryption in transit, auth token, tls, subnet group, parameter group, maxmemory-policy, allkeys-lru, noeviction, snapshot, backup, global datastore, elasticache serverless, outposts\n  when_to_use: Invoke when the user wants to create a new ElastiCache cluster (Redis or Memcached), design a Multi-AZ Redis failover topology, choose between Redis and Memcached, size cache nodes for a workload, harden an existing cluster before production (TLS, AUTH, encryption at rest), set up a Global Datastore for cross-region replication, provision an ElastiCache Serverless cache, or generate provisioning CLI commands \u002F IaC templates. Do NOT invoke for auditing existing cluster posture (use elasticache-cluster-auditor), or for non-ElastiCache caches (DynamoDB DAX, MemoryDB for Redis, self-managed Redis on EC2).\n---\n\n# ElastiCache Cache Deployer\n\nAn AWS CloudOps agent skill that provisions ElastiCache (Redis OSS \u002F\nMemcached) clusters with correct defaults. The skill walks the operator\nthrough a 10-step provisioning procedure, captures the operator's\nengine, topology, security, and capacity decisions, explains why each\ndefault matters, and emits a READY_TO_DEPLOY checklist with\ncopy-pasteable verification commands.\n\n## Activation keywords\n\ncreate ElastiCache, provision Redis, provision Memcached, ElastiCache\ndeployment, replication group, cluster mode enabled, cluster mode\ndisabled, Multi-AZ Redis, automatic failover, encryption at rest,\nencryption in transit, AUTH token, TLS, subnet group, parameter group,\nmaxmemory-policy, allkeys-lru, noeviction, snapshot retention,\nGlobal Datastore, ElastiCache Serverless, Outposts, cache node type,\ncache.t3, cache.r6g, cache.x2g.\n\n## Invocation contract (hard requirement)\n\nWhen this skill is invoked with a cache-provisioning request (cluster\nname, engine choice, workload shape, region, or a partial configuration),\nthe agent MUST respond with the READY_TO_DEPLOY checklist defined in\n§\"Output format\" using the literal all-caps labels `CACHE:`, `VERDICT:`,\n`CHECKLIST:`, and `VERIFICATION_COMMANDS:`. Do NOT preface the checklist\nwith prose, headings, or disclaimers — emit the block as the first lines\nof the response. This contract is what assertion-based evals and\ndownstream provisioning pipelines rely on; deviating from the literal\nlabels breaks automation silently.\n\n## Mindset\n\n**One-line takeaway:** ElastiCache correctness is decided at creation\ntime. Engine choice (Redis vs Memcached), cluster-mode topology, node\ntype, and the Multi-AZ + encryption bundle are impossible or disruptive\nto change later — the provisioning procedure treats each as a one-way\ndoor and forces an explicit decision before the `create` call.\n\nThree misconceptions dominate ElastiCache misdesign at provisioning time:\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Mindset misconceptions\".\n> Load when: you need the full argument behind the engine\u002Fcluster-mode\u002FMulti-AZ misconceptions.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| §\"Prerequisites\" | Always — verify before provisioning |\n| §\"Step 1 — Engine selection\" | Picking Redis vs Memcached |\n| §\"Step 2 — Cluster mode decision\" | Single-shard vs sharded Redis |\n| §\"Step 3 — Node type sizing\" | Picking cache.t3 \u002F r6g \u002F x2g |\n| §\"Step 4 — Multi-AZ + failover\" | Production Redis topology |\n| §\"Step 5 — Network + security\" | VPC, subnet group, SG, ports |\n| §\"Step 6 — Encryption + AUTH + TLS\" | Redis-only security bundle |\n| §\"Step 7 — Parameter groups\" | maxmemory-policy, timeout |\n| §\"Step 8 — Snapshots \u002F backups\" | Redis-only automated backups |\n| §\"Step 9 — Serverless \u002F Global Datastore\" | Latest 2023-2026 features |\n| §\"Step 10 — CloudWatch alarms\" | Operational hygiene |\n| §\"NEVER do these things\" | Review before signing off |\n| §\"Output format\" | The literal checklist template |\n| references\u002Fengine-and-topology.md | Deep Redis-vs-Memcached + cluster-mode math |\n| references\u002Fprovisioning-cli-commands.md | Copy-pasteable CLI sequence |\n\n## Reasoning framework (why provisioning order matters)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Reasoning framework\".\n> Load when: sequencing engine, cluster mode, encryption, subnet group, node type, and parameter decisions.\n\n## ElastiCache configuration dependency graph (novel heuristic)\n\nElastiCache configurations are NOT independent. Many are immutable\nafter creation, others silently downgrade. Use this graph both to\nsequence provisioning and to debug \"why can't I add this?\" later.\n\n| Configuration | Hard dependencies (API error without) | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Engine (Redis \u002F Memcached) | none — `create` argument | **IMMUTABLE** — migration = full cluster swap + client rewrite | persistence, replication, clustering, encryption, pub\u002Fsub (Redis only) |\n| Cluster mode (enabled \u002F disabled) | Redis engine | **IMMUTABLE for write scaling** — switching disabled → enabled requires new group + cutover | horizontal write scaling, up to 500 shards |\n| Node type | none — `create` argument | changeable via `modify` with rolling node replacement (disconnects clients) | memory budget, CPU, network |\n| Multi-AZ with automatic failover | Redis engine + subnet group spanning >=2 AZs + >=1 replica | failover promoted only if replica is in a different AZ than primary | primary-AZ-failure resilience |\n| Number of replicas | Redis engine | 0-5 per shard (cluster mode enabled); 0-5 total (cluster mode disabled) | read scaling + failover |\n| Encryption at rest | Redis engine + must enable at creation | **CANNOT be added post-creation** without dump-and-restore; Memcached: NOT supported | compliance (PCI-DSS, HIPAA) |\n| Encryption in transit (TLS) | Redis engine + must enable at creation + AUTH token recommended | can be enabled via `modify` with rolling replacement (client disconnects); Memcached: NOT supported | TLS-only clients, network sniffing defense |\n| AUTH token | Redis engine + encryption in transit strongly recommended | AUTH requires TLS — without TLS the token traverses network in plaintext | password-protected Redis |\n| Subnet group (CacheSubnetGroupName) | VPC + >=1 subnet; >=2 AZs for Multi-AZ | **subnets CANNOT be removed** once added; can only add | VPC-only addressing |\n| Security group | VPC | port 6379 (Redis) or 11211 (Memcached) inbound from application SG | network isolation |\n| Parameter group | none — `create` argument | changes apply on next reboot (parameter group modifications are not immediate) | maxmemory-policy, timeout, tcp-keepalive |\n| Snapshot retention (automated) | Redis engine + `snapshotRetentionLimit > 0` | Memcached: NOT supported; restore creates a NEW cluster | point-in-time recovery for Redis |\n| Snapshot window | Redis engine + snapshots enabled | maintenance \u002F snapshot windows must NOT overlap | deterministic backup timing |\n| Maintenance window | none | ElastiCache applies engine upgrades in this window | controlled upgrade timing |\n| Global Datastore | Redis engine + cluster mode enabled + >=2 regions + each region's cluster already provisioned | primary cluster must be cluster-mode-enabled; each region uses its own KMS key \u002F node type | cross-region low-latency reads, DR |\n| ElastiCache Serverless | none — separate API (`create-serverless-cache`) | NOT compatible with cluster mode, Global Datastore, Outposts; VPC-only | no capacity management, automatic scaling |\n| Outposts | Redis engine + Outpost in account | subset of node types only; data residency constraint | on-prem latency, data-sovereign workloads |\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Configuration dependency graph\".\n> Load when: the immutability analysis and cross-dependency gotchas behind the table.\n\n## Expert heuristic: effective memory calculator\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Expert heuristic: effective memory calculator\".\n> Load when: sizing real usable memory (Redis 50% rule vs Memcached 90%).\nnumbers.\n\n## Expert heuristic: cluster mode shard count estimator\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Expert heuristic: cluster mode shard count estimator\".\n> Load when: computing shard count from sustained write rate (60% rule) and scenario shapes.\n\n## Expert heuristic: failover promotion semantics\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Expert heuristic: failover promotion semantics\".\n> Load when: reasoning about promotion time, data-loss windows, and Memcached cross-az.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING** with a\nspecific gap citation.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account with ElastiCache access | Can't provision without it | `aws sts get-caller-identity` |\n| Region selected | Cache nodes, subnet groups, snapshots are region-scoped | `aws configure get region` |\n| VPC ID + at least 2 subnets in different AZs (for Multi-AZ Redis) | ElastiCache is VPC-only; Multi-AZ requires multi-AZ subnet group | `aws ec2 describe-subnets --filters \"Name=vpc-id,Values=\u003Cvpc>\"` — confirm >=2 distinct `AvailabilityZone` values |\n| Cluster name unique in this region | Names are region-unique | `aws elasticache describe-replication-groups --replication-group-id \u003Cname>` returns `ReplicationGroupNotFound` |\n| KMS key ARN (if encryption at rest with customer CMK) | Custom encryption requires a CMK in the same region | `aws kms describe-key --key-id \u003Ccmk-id>` |\n| Security group with correct port (6379 Redis \u002F 11211 Memcached) inbound from application SG | Network isolation; wrong port = silent connectivity failure | `aws ec2 describe-security-groups --group-ids \u003Csg>` — verify inbound rule on 6379 or 11211 |\n| AUTH token strength (if Redis AUTH) | Must be 16-128 chars, printable, non-whitespace | Generate via `openssl rand -base64 24` |\n| Workload description (cache vs store, write rate, data size) | Drives engine, cluster mode, node type, replica count, maxmemory-policy decisions | Captured in the prompt or follow-up question |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## 10-step provisioning procedure\n\n### Step 1 — Engine selection (immutable — decide BEFORE create)\n\nThe engine decision is the highest-impact ElastiCache design choice\nand is **immutable** without a full migration.\n\n**Decision tree:**\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 1\".\n> Load when: walking the Redis-vs-Memcached engine decision. The condensed tree lives in § Decision tree: Redis vs Memcached.\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 1\".\n> Load when: comparing engines feature-by-feature or reviewing the Memcached migration mistake.\n\n### Step 2 — Cluster mode decision (immutable for write scaling — decide BEFORE create)\n\nFor Redis, cluster mode determines whether writes scale horizontally.\nThis is the second-highest-impact decision and is **effectively\nimmutable** without a full cluster migration.\n\n**Decision tree:**\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 2\".\n> Load when: walking the cluster-mode decision incl. MULTI\u002FEXEC. The condensed tree lives in § Decision tree: Redis cluster mode enabled vs disabled.\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 2\".\n> Load when: hash slots, CROSSSLOT limits, or the disabled→enabled migration mistake.\n\n### Step 3 — Node type sizing\n\nElastiCache offers cache.node-type families. Choose based on workload\nshape.\n\n**Node family selection:**\n\n| Family | Optimized for | Use when |\n|---|---|---|\n| `cache.r7g`, `cache.r6g` | Memory | General-purpose Redis; large datasets; production |\n| `cache.x2g` | Memory (max) | Very large datasets; dense packing |\n| `cache.m7g`, `cache.m6g` | Balanced (memory + compute) | Mixed workloads; mid-size datasets |\n| `cache.c7g`, `cache.c6g` | Compute | Computed-heavy (Lua scripts, SORT) |\n| `cache.t4g`, `cache.t3` | Burst | Dev \u002F test \u002F low-traffic; non-production |\n| `cache.t1`, `cache.m1`, `cache.m2` | Legacy | DO NOT USE — end-of-life |\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 3\".\n> Load when: picking node families\u002Fsizes and applying the 50%\u002F90% memory rules.\n\n### Step 4 — Multi-AZ + automatic failover (Redis only)\n\nMulti-AZ with automatic failover is the primary resilience control for\nRedis. Memcached does NOT support Multi-AZ.\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 4\".\n> Load when: checking the five gating requirements for Multi-AZ failover.\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 4\".\n> Load when: promotion flow, endpoint behavior, or AZ topology examples.\n\n### Step 5 — Network + security (VPC, subnet group, security group)\n\nElastiCache is **VPC-only** — there is no public IP option (unlike\nRDS). All clusters live inside a VPC.\n\n**Subnet group creation:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 5\".\n> Load when: creating the multi-AZ cache subnet group.\n\nVerify the subnets span >=2 AZs:\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 5\".\n> Load when: verifying the subnet group spans >=2 AZs before create.\n\n**Security group rules:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 5\".\n> Load when: opening port 6379\u002F11211 inbound from the application SG.\n\n**NEVER** open the cache port to `0.0.0.0\u002F0` — even with AUTH, this\nexposes the cluster to internet scanning. Always scope inbound to the\napplication's SG.\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 5\".\n> Load when: the cluster is unreachable or the SG was not attached at creation.\n\n### Step 6 — Encryption + AUTH + TLS (Redis only)\n\nEncryption and AUTH are Redis-only. Memcached has NO encryption\nsupport — if compliance requires encryption, the answer is Redis.\n\n**Encryption at rest:**\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 6\".\n> Load when: using a customer CMK or adding encryption to an existing cluster.\n\n**Encryption in transit (TLS):**\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 6\".\n> Load when: enabling TLS post-creation or reasoning about rolling replacement.\n\n**AUTH token:**\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 6\".\n> Load when: generating and applying the Redis AUTH token.\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 6\".\n> Load when: using ACL user groups or pairing AUTH with TLS.\n\n### Step 7 — Parameter groups (maxmemory-policy, timeout)\n\nParameter groups control Redis \u002F Memcached runtime behavior. Changes\napply on next reboot (not immediate).\n\n**Redis maxmemory-policy decision (load-bearing):**\n\n| Policy | Behavior when memory fills | Use when |\n|---|---|---|\n| `allkeys-lru` | Evict least-recently-used key | General cache (data is disposable; LRU is optimal) |\n| `allkeys-lfu` | Evict least-frequently-used key | Cache with skewed access (long-tail popular keys) |\n| `volatile-lru` | Evict LRU among keys with TTL only | Mixed store + cache (TTL'd items evicted, persistent kept) |\n| `volatile-ttl` | Evict closest-to-expiry TTL'd key | Priority-based cache (soon-to-expire items go first) |\n| `noeviction` | Return OOM error on writes | Session store, persistent store (NEVER silently evict) |\n| `allkeys-random` | Evict random key | Uniform-access cache (rarely optimal) |\n| `volatile-random` | Evict random TTL'd key | Rare; use volatile-lru instead |\n\n**Decision rule:**\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 7\".\n> Load when: mapping cache vs store vs mix workloads to a policy.\n  with TTL on disposable keys.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 7\".\n> Load when: setting non-maxmemory parameters for Redis or Memcached.\n\n### Step 8 — Snapshots \u002F backups (Redis only)\n\nRedis supports automated snapshots (RDB files) for point-in-time\nrecovery. Memcached does NOT support snapshots.\n\n**Enable automated snapshots at creation:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 8\".\n> Load when: enabling snapshot retention\u002Fwindow at creation.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 8\".\n> Load when: choosing retention days and windows.\n\n**Manual snapshot:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 8\".\n> Load when: taking an on-demand snapshot.\n\n**Restore from snapshot creates a NEW cluster:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 8\".\n> Load when: restoring a replication group from a snapshot ARN.\n\n**Common mistake:** setting retention limit to 0 (snapshots disabled).\nFor production Redis, set retention 7-35 days. For dev, 1-3 days is fine.\n\n### Step 9 — ElastiCache Serverless \u002F Global Datastore (latest features)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 9\".\n> Load when: provisioning serverless, Global Datastore, or Outposts topologies.\n\n### Step 10 — CloudWatch alarms (operational hygiene)\n\nRecommended CloudWatch alarms on every production cluster:\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 10\".\n> Load when: creating CPU\u002Fswap\u002Feviction\u002Freplication-lag alarms.\n\n## NEVER do these things\n\n1. **NEVER pick Memcached for a workload that may need persistence,\n   failover, encryption, or pub\u002Fsub.** Memcached → Redis is a full\n   migration: application client rewrite + cache-miss cold-start. Pick\n   Redis unless Memcached's specific properties are explicitly required.\n\n2. **NEVER enable AUTH without TLS.** AUTH without TLS sends the\n   password in plaintext over the network. Always pair\n   `--auth-token` with `--transit-encryption-enabled=true`.\n\n3. **NEVER use a single-AZ subnet group for Multi-AZ Redis.** Multi-AZ\n   requires the replica in a different AZ than the primary. Verify\n   `aws ec2 describe-subnets` shows >=2 distinct AZs in the subnet\n   group before `create-replication-group`.\n\n4. **NEVER open the cache security group to `0.0.0.0\u002F0`.** Even with\n   AUTH, internet exposure invites scanning and exploit attempts.\n   Always scope inbound to the application's SG.\n\n5. **NEVER use `noeviction` maxmemory-policy for a cache.** `noeviction`\n   returns OOM on writes when memory fills — use `allkeys-lru` (or\n   `allkeys-lfu` for skewed access). `noeviction` is for STORES, not\n   caches.\n\n6. **NEVER use `allkeys-lru` maxmemory-policy for a session store.**\n   Silent eviction breaks sessions. Use `noeviction` and plan capacity\n   so memory never fills.\n\n7. **NEVER assume Memcached `AZMode=cross-az` provides failover.** It\n   only distributes nodes across AZs — a failed node's data is LOST\n   (no persistence, no replication). Only Redis has true Multi-AZ.\n\n8. **NEVER add encryption in transit to an existing production Redis\n   cluster without a maintenance window.** The rolling node replacement\n   disconnects every client for 30-90 seconds per node. Enable at\n   creation.\n\n9. **NEVER plan to \"switch to cluster mode later.\"** Migrating\n   cluster-mode-disabled → cluster-mode-enabled requires a full cluster\n   migration (new group + client repoint). For any workload whose write\n   rate may grow, default to cluster mode enabled up front.\n\n10. **NEVER size Redis nodes by spec-sheet memory.** Redis needs ~50%\n    overhead for fork-on-BGSAVE, query buffers, copy-on-write. Plan\n    for 50% of nominal; for Memcached, plan for 90%.\n\n11. **NEVER set `snapshot-retention-limit` to 0 on a production Redis\n    cluster.** Disabling snapshots means no point-in-time recovery.\n    Use 7-35 days for production, 1-3 for dev.\n\n12. **NEVER assume replicas add memory capacity.** Redis replicas hold\n    a copy of the same data — they add READ capacity and availability,\n    NOT storage. To add memory, add shards (cluster mode enabled) or\n    larger nodes.\n\n13. **NEVER mix maintenance and snapshot windows.** ElastiCache will\n    reject overlapping windows, or worse, silently skip one. Set them\n    at least 2 hours apart.\n\n14. **NEVER use end-of-life node families** (`cache.t1`, `cache.m1`,\n    `cache.m2`, `cache.r3` and older). Use Graviton (g-series:\n    `cache.r6g`, `cache.m6g`, `cache.t4g`) for best price\u002Fperformance.\n\n## Output format\n\n```text\nCACHE: \u003Ccluster-or-replication-group-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Engine: redis | valkey | memcached\n  [✓|✗] Cluster mode: ENABLED (\u003CN> shards) | DISABLED (single primary)\n  [✓|✗] Node type: cache.\u003Cfamily>.\u003Csize> (\u003Cmemory> GiB nominal; \u003Cusable> GiB usable)\n  [✓|✗] Replicas: \u003CN> per shard | None (Memcached)\n  [✓|✗] Multi-AZ with automatic failover: Enabled (replica in different AZ) | Disabled (Memcached N\u002FA)\n  [✓|✗] Subnet group: \u003Cname> (spans \u003CN> AZs)\n  [✓|✗] Security group: \u003Csg-id> (inbound port 6379 Redis \u002F 11211 Memcached from \u003Capp-sg>)\n  [✓|✗] Encryption at rest: Enabled (customer CMK \u003Ckey-arn> | AWS-managed) | Disabled (Memcached N\u002FA)\n  [✓|✗] Encryption in transit (TLS): Enabled | Disabled (Memcached N\u002FA)\n  [✓|✗] AUTH token: Enabled (16+ chars) | Disabled\n  [✓|✗] Parameter group: \u003Cname> (maxmemory-policy=\u003Cpolicy>, timeout=\u003Cs>)\n  [✓|✗] Snapshot retention: \u003CN> days (window: \u003CUTC-range>) | Disabled (Memcached N\u002FA)\n  [✓|✗] Maintenance window: \u003CUTC-range>\n  [✓|✗] Global Datastore: members in \u003Cregions> | Single-region\n  [✓|✗] ElastiCache Serverless: Yes | No\nVERIFICATION_COMMANDS:\n  aws elasticache describe-replication-groups --replication-group-id \u003Cname>\n  aws elasticache describe-cache-clusters --cache-cluster-id \u003Cname> --show-cache-node-info\n  aws elasticache describe-cache-parameter-groups --cache-parameter-group-name \u003Cpg>\n  aws ec2 describe-subnets --subnet-ids \u003Csubnet-ids>\n  aws kms describe-key --key-id \u003Ccmk-id>\n```\n\n### Worked example — production Redis cluster mode enabled\n\n```text\nCACHE: prod-cache\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Engine: redis\n  [✓] Cluster mode: ENABLED (3 shards)\n  [✓] Node type: cache.r6g.2xlarge (62.34 GiB nominal; 31.17 GiB usable per shard; 93.51 GiB total usable)\n  [✓] Replicas: 1 per shard (3 total) — read scaling + Multi-AZ failover\n  [✓] Multi-AZ with automatic failover: Enabled (replica in different AZ per shard)\n  [✓] Subnet group: prod-cache-subnet (spans 3 AZs: us-east-1a\u002Fb\u002Fc)\n  [✓] Security group: sg-cache123 (inbound port 6379 from sg-app456)\n  [✓] Encryption at rest: Enabled (customer CMK alias\u002Fprod-cache-kms)\n  [✓] Encryption in transit (TLS): Enabled\n  [✓] AUTH token: Enabled (24-char base64, stored in Secrets Manager)\n  [✓] Parameter group: prod-redis-pg (maxmemory-policy=allkeys-lru, timeout=300, tcp-keepalive=60)\n  [✓] Snapshot retention: 7 days (window: 03:00-05:00 UTC)\n  [✓] Maintenance window: sun:05:00-sun:07:00\n  [✓] Global Datastore: Single-region (us-east-1)\n  [✓] ElastiCache Serverless: No\nVERIFICATION_COMMANDS:\n  aws elasticache describe-replication-groups --replication-group-id prod-cache\n  aws elasticache describe-cache-clusters --cache-cluster-id prod-cache-0001 --show-cache-node-info\n  aws elasticache describe-cache-parameter-groups --cache-parameter-group-name prod-redis-pg\n  aws ec2 describe-subnets --subnet-ids subnet-0aaa subnet-0bbb subnet-0ccc\n  aws kms describe-key --key-id alias\u002Fprod-cache-kms\n```\n\n## Decision tree: Redis cluster mode enabled vs disabled\n\n```text\nIs the workload write-heavy (> 50,000 writes\u002Fsec sustained)?\n├── YES → Cluster mode ENABLED\n│         (single primary cannot keep up; need horizontal write scaling)\n└── NO → Is the write rate expected to grow beyond ~100k writes\u002Fsec?\n    ├── YES → Cluster mode ENABLED (default for growing workloads)\n    └── NO → Is multi-key transactional consistency (MULTI\u002FEXEC across keys)\n            required?\n        ├── YES → Cluster mode DISABLED\n        │         (all keys on one primary; transactions trivial)\n        │         OR cluster mode ENABLED with hash-tag keys ({tag})\n        └── NO → Is the workload stable and modest (\u003C 50k writes\u002Fsec)?\n            ├── YES → Cluster mode DISABLED (simpler client config)\n            └── NO → Cluster mode ENABLED\n```\n\n## Decision tree: Redis vs Memcached\n\n```text\nDoes the workload need ANY of:\n  persistence, replication, failover, encryption, pub\u002Fsub,\n  sorted sets, Lua, streams, Global Datastore?\n├── YES → Redis OSS (or Valkey)\n└── NO → Is genuinely simple, ephemeral, multi-threaded key-value cache\n         acceptable WITH no failover, no persistence, no encryption?\n    ├── YES → Memcached\n    │         (multi-threading per node; LRU only; max 1 MB items)\n    └── NO → Redis OSS  (default; the safest choice)\n```\n\n## Error handling\n\n> **Moved verbatim** → [references\u002Ferror-handling.md](references\u002Ferror-handling.md) § \"Error handling\".\n> Load when: an API error fires, a cluster is stuck MODIFYING, or a migration is needed.\n\n## Worked example — provisioned Redis cluster mode enabled with Multi-AZ\n\n> **Moved verbatim** → [references\u002Fworked-examples.md](references\u002Fworked-examples.md) § \"Worked example\".\n> Load when: emitting the full CLI sequence and checklist for the canonical production pattern.\n\n## Recent AWS features (2023-2026)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Recent AWS features 2023-2026\".\n> Load when: deciding on Valkey, Graviton nodes, Redis 7.x, or serverless.\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — canonical production Redis cluster-mode-enabled CLI sequence + checklist\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — API error triage: name exists, subnet single-AZ, AUTH\u002FTLS, snapshot restore, MODIFYING stuck, cluster-mode migration\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — reasoning framework, dependency-graph deep dive, misconceptions, ACL detail, Serverless\u002FGlobal Datastore\u002FOutposts, recent AWS features\n- [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) — engine math, shard estimator, failover semantics, feature matrix, sizing rules (extended with SKILL.md detail)\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — copy-pasteable CLI sequence (extended with subnet group, SG, snapshot, restore, alarms, parameters)\n\n## Domain\n\nAWS CloudOps \u002F ElastiCache Provisioning & Cache Topology Design.\n\n## AWS documentation\n\n- **Amazon ElastiCache User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FWelcome.html\n- **Redis replication groups** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FReplication.html\n- **Memcached clusters** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fmem-ug\u002FWhatIs.html\n- **ElastiCache cluster mode** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FClusterMode.html\n- **Encryption and AUTH** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fencryption.html\n- **ElastiCache Serverless** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fserverless.html\n- **Global Datastore** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FRedis-Global-Datastore.html\n- **Choosing a node type** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fnodes-select-size.html\n","# ElastiCache Cache Deployer\n\nAn AWS CloudOps agent skill that provisions ElastiCache (Redis OSS \u002F\nMemcached) clusters with correct defaults. The skill walks the operator\nthrough a 10-step provisioning procedure, captures the operator's\nengine, topology, security, and capacity decisions, explains why each\ndefault matters, and emits a READY_TO_DEPLOY checklist with\ncopy-pasteable verification commands.\n\n## Activation keywords\n\ncreate ElastiCache, provision Redis, provision Memcached, ElastiCache\ndeployment, replication group, cluster mode enabled, cluster mode\ndisabled, Multi-AZ Redis, automatic failover, encryption at rest,\nencryption in transit, AUTH token, TLS, subnet group, parameter group,\nmaxmemory-policy, allkeys-lru, noeviction, snapshot retention,\nGlobal Datastore, ElastiCache Serverless, Outposts, cache node type,\ncache.t3, cache.r6g, cache.x2g.\n\n## Invocation contract (hard requirement)\n\nWhen this skill is invoked with a cache-provisioning request (cluster\nname, engine choice, workload shape, region, or a partial configuration),\nthe agent MUST respond with the READY_TO_DEPLOY checklist defined in\n§\"Output format\" using the literal all-caps labels `CACHE:`, `VERDICT:`,\n`CHECKLIST:`, and `VERIFICATION_COMMANDS:`. Do NOT preface the checklist\nwith prose, headings, or disclaimers — emit the block as the first lines\nof the response. This contract is what assertion-based evals and\ndownstream provisioning pipelines rely on; deviating from the literal\nlabels breaks automation silently.\n\n## Mindset\n\n**One-line takeaway:** ElastiCache correctness is decided at creation\ntime. Engine choice (Redis vs Memcached), cluster-mode topology, node\ntype, and the Multi-AZ + encryption bundle are impossible or disruptive\nto change later — the provisioning procedure treats each as a one-way\ndoor and forces an explicit decision before the `create` call.\n\nThree misconceptions dominate ElastiCache misdesign at provisioning time:\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Mindset misconceptions\".\n> Load when: you need the full argument behind the engine\u002Fcluster-mode\u002FMulti-AZ misconceptions.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| §\"Prerequisites\" | Always — verify before provisioning |\n| §\"Step 1 — Engine selection\" | Picking Redis vs Memcached |\n| §\"Step 2 — Cluster mode decision\" | Single-shard vs sharded Redis |\n| §\"Step 3 — Node type sizing\" | Picking cache.t3 \u002F r6g \u002F x2g |\n| §\"Step 4 — Multi-AZ + failover\" | Production Redis topology |\n| §\"Step 5 — Network + security\" | VPC, subnet group, SG, ports |\n| §\"Step 6 — Encryption + AUTH + TLS\" | Redis-only security bundle |\n| §\"Step 7 — Parameter groups\" | maxmemory-policy, timeout |\n| §\"Step 8 — Snapshots \u002F backups\" | Redis-only automated backups |\n| §\"Step 9 — Serverless \u002F Global Datastore\" | Latest 2023-2026 features |\n| §\"Step 10 — CloudWatch alarms\" | Operational hygiene |\n| §\"NEVER do these things\" | Review before signing off |\n| §\"Output format\" | The literal checklist template |\n| references\u002Fengine-and-topology.md | Deep Redis-vs-Memcached + cluster-mode math |\n| references\u002Fprovisioning-cli-commands.md | Copy-pasteable CLI sequence |\n\n## Reasoning framework (why provisioning order matters)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Reasoning framework\".\n> Load when: sequencing engine, cluster mode, encryption, subnet group, node type, and parameter decisions.\n\n## ElastiCache configuration dependency graph (novel heuristic)\n\nElastiCache configurations are NOT independent. Many are immutable\nafter creation, others silently downgrade. Use this graph both to\nsequence provisioning and to debug \"why can't I add this?\" later.\n\n| Configuration | Hard dependencies (API error without) | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Engine (Redis \u002F Memcached) | none — `create` argument | **IMMUTABLE** — migration = full cluster swap + client rewrite | persistence, replication, clustering, encryption, pub\u002Fsub (Redis only) |\n| Cluster mode (enabled \u002F disabled) | Redis engine | **IMMUTABLE for write scaling** — switching disabled → enabled requires new group + cutover | horizontal write scaling, up to 500 shards |\n| Node type | none — `create` argument | changeable via `modify` with rolling node replacement (disconnects clients) | memory budget, CPU, network |\n| Multi-AZ with automatic failover | Redis engine + subnet group spanning >=2 AZs + >=1 replica | failover promoted only if replica is in a different AZ than primary | primary-AZ-failure resilience |\n| Number of replicas | Redis engine | 0-5 per shard (cluster mode enabled); 0-5 total (cluster mode disabled) | read scaling + failover |\n| Encryption at rest | Redis engine + must enable at creation | **CANNOT be added post-creation** without dump-and-restore; Memcached: NOT supported | compliance (PCI-DSS, HIPAA) |\n| Encryption in transit (TLS) | Redis engine + must enable at creation + AUTH token recommended | can be enabled via `modify` with rolling replacement (client disconnects); Memcached: NOT supported | TLS-only clients, network sniffing defense |\n| AUTH token | Redis engine + encryption in transit strongly recommended | AUTH requires TLS — without TLS the token traverses network in plaintext | password-protected Redis |\n| Subnet group (CacheSubnetGroupName) | VPC + >=1 subnet; >=2 AZs for Multi-AZ | **subnets CANNOT be removed** once added; can only add | VPC-only addressing |\n| Security group | VPC | port 6379 (Redis) or 11211 (Memcached) inbound from application SG | network isolation |\n| Parameter group | none — `create` argument | changes apply on next reboot (parameter group modifications are not immediate) | maxmemory-policy, timeout, tcp-keepalive |\n| Snapshot retention (automated) | Redis engine + `snapshotRetentionLimit > 0` | Memcached: NOT supported; restore creates a NEW cluster | point-in-time recovery for Redis |\n| Snapshot window | Redis engine + snapshots enabled | maintenance \u002F snapshot windows must NOT overlap | deterministic backup timing |\n| Maintenance window | none | ElastiCache applies engine upgrades in this window | controlled upgrade timing |\n| Global Datastore | Redis engine + cluster mode enabled + >=2 regions + each region's cluster already provisioned | primary cluster must be cluster-mode-enabled; each region uses its own KMS key \u002F node type | cross-region low-latency reads, DR |\n| ElastiCache Serverless | none — separate API (`create-serverless-cache`) | NOT compatible with cluster mode, Global Datastore, Outposts; VPC-only | no capacity management, automatic scaling |\n| Outposts | Redis engine + Outpost in account | subset of node types only; data residency constraint | on-prem latency, data-sovereign workloads |\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Configuration dependency graph\".\n> Load when: the immutability analysis and cross-dependency gotchas behind the table.\n\n## Expert heuristic: effective memory calculator\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Expert heuristic: effective memory calculator\".\n> Load when: sizing real usable memory (Redis 50% rule vs Memcached 90%).\nnumbers.\n\n## Expert heuristic: cluster mode shard count estimator\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Expert heuristic: cluster mode shard count estimator\".\n> Load when: computing shard count from sustained write rate (60% rule) and scenario shapes.\n\n## Expert heuristic: failover promotion semantics\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Expert heuristic: failover promotion semantics\".\n> Load when: reasoning about promotion time, data-loss windows, and Memcached cross-az.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING** with a\nspecific gap citation.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account with ElastiCache access | Can't provision without it | `aws sts get-caller-identity` |\n| Region selected | Cache nodes, subnet groups, snapshots are region-scoped | `aws configure get region` |\n| VPC ID + at least 2 subnets in different AZs (for Multi-AZ Redis) | ElastiCache is VPC-only; Multi-AZ requires multi-AZ subnet group | `aws ec2 describe-subnets --filters \"Name=vpc-id,Values=\u003Cvpc>\"` — confirm >=2 distinct `AvailabilityZone` values |\n| Cluster name unique in this region | Names are region-unique | `aws elasticache describe-replication-groups --replication-group-id \u003Cname>` returns `ReplicationGroupNotFound` |\n| KMS key ARN (if encryption at rest with customer CMK) | Custom encryption requires a CMK in the same region | `aws kms describe-key --key-id \u003Ccmk-id>` |\n| Security group with correct port (6379 Redis \u002F 11211 Memcached) inbound from application SG | Network isolation; wrong port = silent connectivity failure | `aws ec2 describe-security-groups --group-ids \u003Csg>` — verify inbound rule on 6379 or 11211 |\n| AUTH token strength (if Redis AUTH) | Must be 16-128 chars, printable, non-whitespace | Generate via `openssl rand -base64 24` |\n| Workload description (cache vs store, write rate, data size) | Drives engine, cluster mode, node type, replica count, maxmemory-policy decisions | Captured in the prompt or follow-up question |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## 10-step provisioning procedure\n\n### Step 1 — Engine selection (immutable — decide BEFORE create)\n\nThe engine decision is the highest-impact ElastiCache design choice\nand is **immutable** without a full migration.\n\n**Decision tree:**\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 1\".\n> Load when: walking the Redis-vs-Memcached engine decision. The condensed tree lives in § Decision tree: Redis vs Memcached.\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 1\".\n> Load when: comparing engines feature-by-feature or reviewing the Memcached migration mistake.\n\n### Step 2 — Cluster mode decision (immutable for write scaling — decide BEFORE create)\n\nFor Redis, cluster mode determines whether writes scale horizontally.\nThis is the second-highest-impact decision and is **effectively\nimmutable** without a full cluster migration.\n\n**Decision tree:**\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 2\".\n> Load when: walking the cluster-mode decision incl. MULTI\u002FEXEC. The condensed tree lives in § Decision tree: Redis cluster mode enabled vs disabled.\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 2\".\n> Load when: hash slots, CROSSSLOT limits, or the disabled→enabled migration mistake.\n\n### Step 3 — Node type sizing\n\nElastiCache offers cache.node-type families. Choose based on workload\nshape.\n\n**Node family selection:**\n\n| Family | Optimized for | Use when |\n|---|---|---|\n| `cache.r7g`, `cache.r6g` | Memory | General-purpose Redis; large datasets; production |\n| `cache.x2g` | Memory (max) | Very large datasets; dense packing |\n| `cache.m7g`, `cache.m6g` | Balanced (memory + compute) | Mixed workloads; mid-size datasets |\n| `cache.c7g`, `cache.c6g` | Compute | Computed-heavy (Lua scripts, SORT) |\n| `cache.t4g`, `cache.t3` | Burst | Dev \u002F test \u002F low-traffic; non-production |\n| `cache.t1`, `cache.m1`, `cache.m2` | Legacy | DO NOT USE — end-of-life |\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 3\".\n> Load when: picking node families\u002Fsizes and applying the 50%\u002F90% memory rules.\n\n### Step 4 — Multi-AZ + automatic failover (Redis only)\n\nMulti-AZ with automatic failover is the primary resilience control for\nRedis. Memcached does NOT support Multi-AZ.\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 4\".\n> Load when: checking the five gating requirements for Multi-AZ failover.\n\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 4\".\n> Load when: promotion flow, endpoint behavior, or AZ topology examples.\n\n### Step 5 — Network + security (VPC, subnet group, security group)\n\nElastiCache is **VPC-only** — there is no public IP option (unlike\nRDS). All clusters live inside a VPC.\n\n**Subnet group creation:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 5\".\n> Load when: creating the multi-AZ cache subnet group.\n\nVerify the subnets span >=2 AZs:\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 5\".\n> Load when: verifying the subnet group spans >=2 AZs before create.\n\n**Security group rules:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 5\".\n> Load when: opening port 6379\u002F11211 inbound from the application SG.\n\n**NEVER** open the cache port to `0.0.0.0\u002F0` — even with AUTH, this\nexposes the cluster to internet scanning. Always scope inbound to the\napplication's SG.\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 5\".\n> Load when: the cluster is unreachable or the SG was not attached at creation.\n\n### Step 6 — Encryption + AUTH + TLS (Redis only)\n\nEncryption and AUTH are Redis-only. Memcached has NO encryption\nsupport — if compliance requires encryption, the answer is Redis.\n\n**Encryption at rest:**\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 6\".\n> Load when: using a customer CMK or adding encryption to an existing cluster.\n\n**Encryption in transit (TLS):**\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 6\".\n> Load when: enabling TLS post-creation or reasoning about rolling replacement.\n\n**AUTH token:**\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 6\".\n> Load when: generating and applying the Redis AUTH token.\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 6\".\n> Load when: using ACL user groups or pairing AUTH with TLS.\n\n### Step 7 — Parameter groups (maxmemory-policy, timeout)\n\nParameter groups control Redis \u002F Memcached runtime behavior. Changes\napply on next reboot (not immediate).\n\n**Redis maxmemory-policy decision (load-bearing):**\n\n| Policy | Behavior when memory fills | Use when |\n|---|---|---|\n| `allkeys-lru` | Evict least-recently-used key | General cache (data is disposable; LRU is optimal) |\n| `allkeys-lfu` | Evict least-frequently-used key | Cache with skewed access (long-tail popular keys) |\n| `volatile-lru` | Evict LRU among keys with TTL only | Mixed store + cache (TTL'd items evicted, persistent kept) |\n| `volatile-ttl` | Evict closest-to-expiry TTL'd key | Priority-based cache (soon-to-expire items go first) |\n| `noeviction` | Return OOM error on writes | Session store, persistent store (NEVER silently evict) |\n| `allkeys-random` | Evict random key | Uniform-access cache (rarely optimal) |\n| `volatile-random` | Evict random TTL'd key | Rare; use volatile-lru instead |\n\n**Decision rule:**\n> **Moved verbatim** → [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) § \"Step 7\".\n> Load when: mapping cache vs store vs mix workloads to a policy.\n  with TTL on disposable keys.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 7\".\n> Load when: setting non-maxmemory parameters for Redis or Memcached.\n\n### Step 8 — Snapshots \u002F backups (Redis only)\n\nRedis supports automated snapshots (RDB files) for point-in-time\nrecovery. Memcached does NOT support snapshots.\n\n**Enable automated snapshots at creation:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 8\".\n> Load when: enabling snapshot retention\u002Fwindow at creation.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 8\".\n> Load when: choosing retention days and windows.\n\n**Manual snapshot:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 8\".\n> Load when: taking an on-demand snapshot.\n\n**Restore from snapshot creates a NEW cluster:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 8\".\n> Load when: restoring a replication group from a snapshot ARN.\n\n**Common mistake:** setting retention limit to 0 (snapshots disabled).\nFor production Redis, set retention 7-35 days. For dev, 1-3 days is fine.\n\n### Step 9 — ElastiCache Serverless \u002F Global Datastore (latest features)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 9\".\n> Load when: provisioning serverless, Global Datastore, or Outposts topologies.\n\n### Step 10 — CloudWatch alarms (operational hygiene)\n\nRecommended CloudWatch alarms on every production cluster:\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 10\".\n> Load when: creating CPU\u002Fswap\u002Feviction\u002Freplication-lag alarms.\n\n## NEVER do these things\n\n1. **NEVER pick Memcached for a workload that may need persistence,\n   failover, encryption, or pub\u002Fsub.** Memcached → Redis is a full\n   migration: application client rewrite + cache-miss cold-start. Pick\n   Redis unless Memcached's specific properties are explicitly required.\n\n2. **NEVER enable AUTH without TLS.** AUTH without TLS sends the\n   password in plaintext over the network. Always pair\n   `--auth-token` with `--transit-encryption-enabled=true`.\n\n3. **NEVER use a single-AZ subnet group for Multi-AZ Redis.** Multi-AZ\n   requires the replica in a different AZ than the primary. Verify\n   `aws ec2 describe-subnets` shows >=2 distinct AZs in the subnet\n   group before `create-replication-group`.\n\n4. **NEVER open the cache security group to `0.0.0.0\u002F0`.** Even with\n   AUTH, internet exposure invites scanning and exploit attempts.\n   Always scope inbound to the application's SG.\n\n5. **NEVER use `noeviction` maxmemory-policy for a cache.** `noeviction`\n   returns OOM on writes when memory fills — use `allkeys-lru` (or\n   `allkeys-lfu` for skewed access). `noeviction` is for STORES, not\n   caches.\n\n6. **NEVER use `allkeys-lru` maxmemory-policy for a session store.**\n   Silent eviction breaks sessions. Use `noeviction` and plan capacity\n   so memory never fills.\n\n7. **NEVER assume Memcached `AZMode=cross-az` provides failover.** It\n   only distributes nodes across AZs — a failed node's data is LOST\n   (no persistence, no replication). Only Redis has true Multi-AZ.\n\n8. **NEVER add encryption in transit to an existing production Redis\n   cluster without a maintenance window.** The rolling node replacement\n   disconnects every client for 30-90 seconds per node. Enable at\n   creation.\n\n9. **NEVER plan to \"switch to cluster mode later.\"** Migrating\n   cluster-mode-disabled → cluster-mode-enabled requires a full cluster\n   migration (new group + client repoint). For any workload whose write\n   rate may grow, default to cluster mode enabled up front.\n\n10. **NEVER size Redis nodes by spec-sheet memory.** Redis needs ~50%\n    overhead for fork-on-BGSAVE, query buffers, copy-on-write. Plan\n    for 50% of nominal; for Memcached, plan for 90%.\n\n11. **NEVER set `snapshot-retention-limit` to 0 on a production Redis\n    cluster.** Disabling snapshots means no point-in-time recovery.\n    Use 7-35 days for production, 1-3 for dev.\n\n12. **NEVER assume replicas add memory capacity.** Redis replicas hold\n    a copy of the same data — they add READ capacity and availability,\n    NOT storage. To add memory, add shards (cluster mode enabled) or\n    larger nodes.\n\n13. **NEVER mix maintenance and snapshot windows.** ElastiCache will\n    reject overlapping windows, or worse, silently skip one. Set them\n    at least 2 hours apart.\n\n14. **NEVER use end-of-life node families** (`cache.t1`, `cache.m1`,\n    `cache.m2`, `cache.r3` and older). Use Graviton (g-series:\n    `cache.r6g`, `cache.m6g`, `cache.t4g`) for best price\u002Fperformance.\n\n## Output format\n\n```text\nCACHE: \u003Ccluster-or-replication-group-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Engine: redis | valkey | memcached\n  [✓|✗] Cluster mode: ENABLED (\u003CN> shards) | DISABLED (single primary)\n  [✓|✗] Node type: cache.\u003Cfamily>.\u003Csize> (\u003Cmemory> GiB nominal; \u003Cusable> GiB usable)\n  [✓|✗] Replicas: \u003CN> per shard | None (Memcached)\n  [✓|✗] Multi-AZ with automatic failover: Enabled (replica in different AZ) | Disabled (Memcached N\u002FA)\n  [✓|✗] Subnet group: \u003Cname> (spans \u003CN> AZs)\n  [✓|✗] Security group: \u003Csg-id> (inbound port 6379 Redis \u002F 11211 Memcached from \u003Capp-sg>)\n  [✓|✗] Encryption at rest: Enabled (customer CMK \u003Ckey-arn> | AWS-managed) | Disabled (Memcached N\u002FA)\n  [✓|✗] Encryption in transit (TLS): Enabled | Disabled (Memcached N\u002FA)\n  [✓|✗] AUTH token: Enabled (16+ chars) | Disabled\n  [✓|✗] Parameter group: \u003Cname> (maxmemory-policy=\u003Cpolicy>, timeout=\u003Cs>)\n  [✓|✗] Snapshot retention: \u003CN> days (window: \u003CUTC-range>) | Disabled (Memcached N\u002FA)\n  [✓|✗] Maintenance window: \u003CUTC-range>\n  [✓|✗] Global Datastore: members in \u003Cregions> | Single-region\n  [✓|✗] ElastiCache Serverless: Yes | No\nVERIFICATION_COMMANDS:\n  aws elasticache describe-replication-groups --replication-group-id \u003Cname>\n  aws elasticache describe-cache-clusters --cache-cluster-id \u003Cname> --show-cache-node-info\n  aws elasticache describe-cache-parameter-groups --cache-parameter-group-name \u003Cpg>\n  aws ec2 describe-subnets --subnet-ids \u003Csubnet-ids>\n  aws kms describe-key --key-id \u003Ccmk-id>\n```\n\n### Worked example — production Redis cluster mode enabled\n\n```text\nCACHE: prod-cache\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Engine: redis\n  [✓] Cluster mode: ENABLED (3 shards)\n  [✓] Node type: cache.r6g.2xlarge (62.34 GiB nominal; 31.17 GiB usable per shard; 93.51 GiB total usable)\n  [✓] Replicas: 1 per shard (3 total) — read scaling + Multi-AZ failover\n  [✓] Multi-AZ with automatic failover: Enabled (replica in different AZ per shard)\n  [✓] Subnet group: prod-cache-subnet (spans 3 AZs: us-east-1a\u002Fb\u002Fc)\n  [✓] Security group: sg-cache123 (inbound port 6379 from sg-app456)\n  [✓] Encryption at rest: Enabled (customer CMK alias\u002Fprod-cache-kms)\n  [✓] Encryption in transit (TLS): Enabled\n  [✓] AUTH token: Enabled (24-char base64, stored in Secrets Manager)\n  [✓] Parameter group: prod-redis-pg (maxmemory-policy=allkeys-lru, timeout=300, tcp-keepalive=60)\n  [✓] Snapshot retention: 7 days (window: 03:00-05:00 UTC)\n  [✓] Maintenance window: sun:05:00-sun:07:00\n  [✓] Global Datastore: Single-region (us-east-1)\n  [✓] ElastiCache Serverless: No\nVERIFICATION_COMMANDS:\n  aws elasticache describe-replication-groups --replication-group-id prod-cache\n  aws elasticache describe-cache-clusters --cache-cluster-id prod-cache-0001 --show-cache-node-info\n  aws elasticache describe-cache-parameter-groups --cache-parameter-group-name prod-redis-pg\n  aws ec2 describe-subnets --subnet-ids subnet-0aaa subnet-0bbb subnet-0ccc\n  aws kms describe-key --key-id alias\u002Fprod-cache-kms\n```\n\n## Decision tree: Redis cluster mode enabled vs disabled\n\n```text\nIs the workload write-heavy (> 50,000 writes\u002Fsec sustained)?\n├── YES → Cluster mode ENABLED\n│         (single primary cannot keep up; need horizontal write scaling)\n└── NO → Is the write rate expected to grow beyond ~100k writes\u002Fsec?\n    ├── YES → Cluster mode ENABLED (default for growing workloads)\n    └── NO → Is multi-key transactional consistency (MULTI\u002FEXEC across keys)\n            required?\n        ├── YES → Cluster mode DISABLED\n        │         (all keys on one primary; transactions trivial)\n        │         OR cluster mode ENABLED with hash-tag keys ({tag})\n        └── NO → Is the workload stable and modest (\u003C 50k writes\u002Fsec)?\n            ├── YES → Cluster mode DISABLED (simpler client config)\n            └── NO → Cluster mode ENABLED\n```\n\n## Decision tree: Redis vs Memcached\n\n```text\nDoes the workload need ANY of:\n  persistence, replication, failover, encryption, pub\u002Fsub,\n  sorted sets, Lua, streams, Global Datastore?\n├── YES → Redis OSS (or Valkey)\n└── NO → Is genuinely simple, ephemeral, multi-threaded key-value cache\n         acceptable WITH no failover, no persistence, no encryption?\n    ├── YES → Memcached\n    │         (multi-threading per node; LRU only; max 1 MB items)\n    └── NO → Redis OSS  (default; the safest choice)\n```\n\n## Error handling\n\n> **Moved verbatim** → [references\u002Ferror-handling.md](references\u002Ferror-handling.md) § \"Error handling\".\n> Load when: an API error fires, a cluster is stuck MODIFYING, or a migration is needed.\n\n## Worked example — provisioned Redis cluster mode enabled with Multi-AZ\n\n> **Moved verbatim** → [references\u002Fworked-examples.md](references\u002Fworked-examples.md) § \"Worked example\".\n> Load when: emitting the full CLI sequence and checklist for the canonical production pattern.\n\n## Recent AWS features (2023-2026)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Recent AWS features 2023-2026\".\n> Load when: deciding on Valkey, Graviton nodes, Redis 7.x, or serverless.\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — canonical production Redis cluster-mode-enabled CLI sequence + checklist\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — API error triage: name exists, subnet single-AZ, AUTH\u002FTLS, snapshot restore, MODIFYING stuck, cluster-mode migration\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — reasoning framework, dependency-graph deep dive, misconceptions, ACL detail, Serverless\u002FGlobal Datastore\u002FOutposts, recent AWS features\n- [references\u002Fengine-and-topology.md](references\u002Fengine-and-topology.md) — engine math, shard estimator, failover semantics, feature matrix, sizing rules (extended with SKILL.md detail)\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — copy-pasteable CLI sequence (extended with subnet group, SG, snapshot, restore, alarms, parameters)\n\n## Domain\n\nAWS CloudOps \u002F ElastiCache Provisioning & Cache Topology Design.\n\n## AWS documentation\n\n- **Amazon ElastiCache User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FWelcome.html\n- **Redis replication groups** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FReplication.html\n- **Memcached clusters** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fmem-ug\u002FWhatIs.html\n- **ElastiCache cluster mode** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FClusterMode.html\n- **Encryption and AUTH** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fencryption.html\n- **ElastiCache Serverless** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fserverless.html\n- **Global Datastore** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FRedis-Global-Datastore.html\n- **Choosing a node type** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fnodes-select-size.html\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":41},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"supports_pipeline":38},"aws, elasticache, redis, memcached, cloudops, deploy, databases, cache, provisioning, replication-group, multi-az, encryption, global-datastore, serverless","1","Jacky Chan — AWS Community Builder","aws-cloudops","Databases","0.1.0","aws, elasticache, redis, memcached, cloudops, deploy, provisioning, cache, replication group, cluster mode, multi-az, failover, encryption at rest, encryption in transit, auth token, tls, subnet group, parameter group, maxmemory-policy, allkeys-lru, noeviction, snapshot, backup, global datastore, elasticache serverless, outposts","deploy","high","false","capability","Invoke when the user wants to create a new ElastiCache cluster (Redis or Memcached), design a Multi-AZ Redis failover topology, choose between Redis and Memcached, size cache nodes for a workload, harden an existing cluster before production (TLS, AUTH, encryption at rest), set up a Global Datastore for cross-region replication, provision an ElastiCache Serverless cache, or generate provisioning CLI commands \u002F IaC templates. Do NOT invoke for auditing existing cluster posture (use elasticache-cluster-auditor), or for non-ElastiCache caches (DynamoDB DAX, MemoryDB for Redis, self-managed Redis on EC2).","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with elasticache, ec2, kms, and iam access. Works with Terraform aws_elasticache_cluster \u002F aws_elasticache_replication_group resources and CloudFormation AWS::ElastiCache::* templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Felasticache-cache-deployer",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill elasticache-cache-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill elasticache-cache-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill elasticache-cache-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6865,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fglobal-datastore-cross-region.md",1162,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Fbaselines\u002Fglobal-datastore-cross-region.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fmemcached-simple-cache.md",695,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Fbaselines\u002Fmemcached-simple-cache.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fmissing-subnet-group-and-sg.md",873,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Fbaselines\u002Fmissing-subnet-group-and-sg.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fproduction-redis-cluster-mode.md",1085,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Fbaselines\u002Fproduction-redis-cluster-mode.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fsession-store-redis-replication.md",912,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Fbaselines\u002Fsession-store-redis-replication.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1839,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",14003,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fglobal-datastore-cross-region.md",787,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Fprompts\u002Fglobal-datastore-cross-region.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fmemcached-simple-cache.md",689,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Fprompts\u002Fmemcached-simple-cache.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fmissing-subnet-group-and-sg.md",461,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Fprompts\u002Fmissing-subnet-group-and-sg.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fproduction-redis-cluster-mode.md",884,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Fprompts\u002Fproduction-redis-cluster-mode.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fsession-store-redis-replication.md",876,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fevals\u002Fprompts\u002Fsession-store-redis-replication.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",8461,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",10421,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fengine-and-topology.md",27486,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Freferences\u002Fengine-and-topology.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ferror-handling.md",3348,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Freferences\u002Ferror-handling.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fprovisioning-cli-commands.md",20244,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Freferences\u002Fprovisioning-cli-commands.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Fworked-examples.md",4674,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Freferences\u002Fworked-examples.md",{"path":143,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":144,"sourceHtmlUrl":145},"skill.usf.yaml",4403,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cache-deployer\u002Fskill.usf.yaml",[147,154,161,168,175,182],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":188,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]