[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A83KMNBNMS539K2JNZXNP2":3,"skill-same:01M7A83KMNBNMS539K2JNZXNP2":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},"01M7A83KMNBNMS539K2JNZXNP2","elasticache-cluster-deployer",null,"Provisions Amazon ElastiCache clusters with production defaults: Redis OSS self-designed clusters vs cluster mode enabled (shards and replicas), Memcached clusters, replication groups (primary + read replicas), multi-AZ with automatic failover, node type sizing, subnet group creation, security groups, parameter groups, at-rest encryption (KMS), in-transit encryption (TLS), Redis AUTH tokens, Redis shard\u002Fslot mapping, backup and snapshot management (automated + manual), Global Datastore (cross-region replication), auto-scaling, and online cluster resizing (scale up\u002Fdown with use-online-resharding). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an ElastiCache cluster, setting up Redis replication groups, enabling multi-AZ. Triggers: create elasticache cluster, redis replication group, cluster mode enabled, elasticache multi-az failover, elasticache encryption kms tls, redis auth token, elasticache global datastore, online resharding, elasticache auto scaling, memcached...","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-cluster-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: elasticache-cluster-deployer\ndescription: 'Provisions Amazon ElastiCache clusters with production defaults: Redis OSS self-designed clusters vs cluster mode enabled (shards and replicas), Memcached clusters, replication groups (primary + read replicas), multi-AZ with automatic failover, node type sizing, subnet group creation, security groups, parameter groups, at-rest encryption (KMS), in-transit encryption (TLS), Redis AUTH tokens, Redis shard\u002Fslot mapping, backup and snapshot management (automated + manual), Global Datastore (cross-region replication), auto-scaling, and online cluster resizing (scale up\u002Fdown with use-online-resharding). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an ElastiCache cluster, setting up Redis replication groups, enabling multi-AZ. Triggers: create elasticache cluster, redis replication group, cluster mode enabled, elasticache multi-az failover, elasticache encryption kms tls, redis auth token, elasticache global datastore, online resharding, elasticache auto scaling, memcached...'\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 access. Works with Terraform aws_elasticache_replication_group \u002F aws_elasticache_cluster \u002F aws_elasticache_subnet_group resources and CloudFormation AWS::ElastiCache::ReplicationGroup \u002F AWS::ElastiCache::CacheCluster \u002F AWS::ElastiCache::SubnetGroup 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, provisioning, replication-group, cluster-mode, multi-az, encryption, global-datastore\n  dependencies: aws-orchestrator\n  keywords: aws, elasticache, redis, memcached, cloudops, deploy, provisioning, replication group, cluster mode, multi-az, failover, encryption, kms, tls, auth token, global datastore, online resharding, auto scaling\n  when_to_use: Invoke when the user wants to create an Amazon ElastiCache cluster (Redis OSS or Memcached), configure a Redis replication group with multi-AZ automatic failover, enable cluster mode with shards and read replicas, configure at-rest encryption (KMS) or in-transit encryption (TLS), set Redis AUTH tokens, create a Global Datastore for cross-region replication, perform online cluster resizing, or configure ElastiCache auto-scaling. Do NOT invoke for Amazon MemoryDB for Redis, Amazon DynamoDB, or self-managed Redis\u002FMemcached on EC2.\n---\n\n# ElastiCache Cluster Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon ElastiCache clusters\nwith correct defaults. The skill walks the operator through Redis OSS\ncluster mode vs non-cluster mode, Memcached topology, replication groups,\nmulti-AZ automatic failover, node type sizing, subnet groups, security\ngroups, parameter groups, encryption, AUTH tokens, shard\u002Fslot mapping,\nbackup management, Global Datastore, auto-scaling, and online cluster\nresizing — then emits a READY_TO_DEPLOY checklist with verification\ncommands.\n\n## Activation keywords\n\ncreate ElastiCache cluster, Redis replication group, cluster mode\nenabled, ElastiCache multi-AZ failover, ElastiCache encryption KMS TLS,\nRedis AUTH token, ElastiCache Global Datastore, online resharding,\nElastiCache auto scaling, Memcached cluster.\n\n## STRICT output contract\n\nWhen this skill is invoked with an ElastiCache-provisioning request\n(create a cluster, configure a replication group, enable multi-AZ\nfailover, set up encryption, create a Global Datastore, scale a cluster\nonline, or a partial configuration), the agent MUST respond with the\nREADY_TO_DEPLOY checklist defined in the \"Output format\" section using\nthe literal all-caps labels `ELASTICACHE_CLUSTER:`, `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\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n### FORBIDDEN output patterns\n\n1. **NEVER emit `VERDICT: READY_TO_DEPLOY` when any CHECKLIST item is\n   `[✗]`.** If even one prerequisite is unmet, the verdict MUST be\n   `PREREQUISITES_MISSING`. A mixed-verdict block is a contract\n   violation.\n\n2. **NEVER omit the `ELASTICACHE_CLUSTER:` header line.** It is the\n   parse anchor for downstream provisioning pipelines. Substituting a\n   markdown heading (`## ElastiCache`) or a lowercase variant breaks\n   automation silently.\n\n3. **NEVER mark encryption as \"TBD\", \"optional\", or \"post-creation.\"**\n   At-rest (KMS) and in-transit (TLS) encryption are creation-time-only\n   for Redis replication groups — they CANNOT be toggled on after the\n   cluster exists. The CHECKLIST MUST show an explicit encryption\n   decision (`Enabled` or `Disabled`), never a deferred one.\n\n4. **NEVER show multi-AZ failover as `Enabled` when\n   `replicas-per-node-group` is 0.** Multi-AZ automatic failover requires\n   at least one replica per shard as a promotion target. `Multi-AZ:\n   Enabled` with zero replicas is a silent no-op — failover has no\n   target to promote.\n\n5. **NEVER allow the snapshot window to overlap the maintenance window\n   in the CHECKLIST.** Overlap causes skipped backups or delayed\n   maintenance. The output MUST include both windows and confirm\n   non-overlap with at least 1 hour of separation.\n\n6. **NEVER use `--num-cache-clusters` (non-cluster mode) and\n   `--num-node-groups` (cluster mode) interchangeably in the CHECKLIST.**\n   These are different API paths requiring different client libraries\n   (cluster-aware vs standard Redis client). The topology line MUST\n   explicitly identify which mode is selected.\n\n7. **NEVER omit the `VERIFICATION_COMMANDS:` block.** The copy-pasteable\n   AWS CLI commands are how the operator confirms the deployment\n   succeeded. A checklist without verification commands is incomplete.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Redis vs Memcached engine selection | Engine choice |\n| Step 2 — Cluster mode enabled vs self-designed (Redis) | Redis topology |\n| Step 3 — Replication groups and multi-AZ failover | High availability |\n| Step 4 — Node type sizing | Capacity planning |\n| Step 5 — Subnet groups and security groups | Network + security |\n| Step 6 — Parameter groups | Engine configuration |\n| Step 7 — Encryption at rest (KMS) and in transit (TLS) | Security |\n| Step 8 — Redis AUTH tokens | Authentication |\n| Step 9 — Backup and snapshot management | Data durability |\n| Step 10 — Global Datastore (cross-region replication) | DR \u002F cross-region |\n| Step 11 — Auto-scaling | Capacity elasticity |\n| Step 12 — Online cluster resizing (use-online-resharding) | Scale operations |\n| Step 13 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fredis-topology-and-failover.md | Cluster mode + failover detail |\n| references\u002Fsecurity-and-encryption.md | Encryption + AUTH detail |\n\n## Mindset\n\n**One-line takeaway:** ElastiCache for Redis cluster mode enabled\npartitions data across shards using hash slots (16,384 total), each\nshard has a primary and 0-5 read replicas, multi-AZ failover promotes a\nreplica automatically when the primary fails. Encryption at rest and in\ntransit must be enabled at creation time — they CANNOT be toggled on\nafter the cluster exists. Online resharding lets you add\u002Fremove shards\nwith zero downtime using the use-online-resharding flag.\n\nThree misconceptions dominate ElastiCache misdesign at provisioning\ntime:\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Mindset misconceptions\".\n> Load when: you need the full argument behind encryption\u002Fcluster-mode\u002Fengine misconceptions.\n\n## Configuration dependency graph (novel heuristic)\n\nElastiCache configurations are NOT independent. Encryption must be\nenabled at creation time. Cluster mode is immutable without online\nresharding. Subnet groups must exist before the cluster. Use this graph\nto sequence provisioning.\n\n| Configuration | Hard dependencies | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Subnet group | Subnets in >= 2 AZs (multi-AZ); same VPC | Cross-VPC subnets rejected at API | cluster creation |\n| Security group | VPC exists; port 6379 (Redis) or 11211 (Memcached) | No ingress rule = client timeout (not API error) | client connectivity |\n| Replication group (Redis) | Subnet group + security group exist | Encryption must be set at creation — CANNOT toggle | cluster endpoints |\n| Cluster mode enabled | `--num-node-groups > 1` at creation | Switching modes requires migration | horizontal scaling |\n| Multi-AZ + failover | >= 1 replica per shard; nodes across >= 2 AZs | Multi-AZ without replicas = no failover target | high availability |\n| At-rest encryption (KMS) | KMS key exists; set at creation | CANNOT enable on existing cluster | compliance |\n| In-transit encryption (TLS) | Set at creation | CANNOT enable on existing cluster | compliance |\n| AUTH token | In-transit encryption MUST be enabled first | AUTH without TLS = token in cleartext | authentication |\n| Backup (automated) | Retention period > 0; snapshot window set | Overlap with maintenance window = skipped snapshots | data durability |\n| Global Datastore | Primary cluster in region A; same engine version | Encryption config must match across regions | cross-region DR |\n| Online resharding | Cluster mode enabled; async operation | Non-cluster mode CANNOT be resharded | scale without downtime |\n| Auto-scaling | Replication group exists; scaling policy defined | Min\u002Fmax must be within node-group limits | capacity elasticity |\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Configuration dependency graph\".\n> Load when: the cross-dependency gotchas behind the table.\n\n## Expert heuristic: cluster mode enabled topology + replica promotion priority + snapshot window vs maintenance window overlap\n\n> **Moved verbatim** → [references\u002Fconfig-patterns.md](references\u002Fconfig-patterns.md) § \"Expert heuristic: cluster mode topology, promotion priority, window overlap\".\n> Load when: designing shard\u002Freplica\u002FAZ layout, promotion priorities, or non-overlapping windows.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| VPC and subnets (>= 2 AZs) | Subnet group needs multi-AZ subnets | `aws ec2 describe-subnets` |\n| Subnet group exists or creatable | Cluster requires a subnet group | `aws elasticache describe-cache-subnet-groups` |\n| Security group (port 6379\u002F11211) | Client connectivity | `aws ec2 describe-security-groups` |\n| Node type selected | Memory, CPU, network capacity | `aws elasticache describe-cache-engine-versions` |\n| Engine + version | Encryption needs Redis >= 6.0 for TLS 1.3 | Confirm feature compatibility |\n| Encryption decision | MUST be at creation — cannot toggle later | Assess compliance requirements |\n| AUTH token decision | Requires in-transit encryption first | Assess authentication requirements |\n| Multi-AZ + failover decision | Requires >= 1 replica per shard | Assess availability requirements |\n| Cluster mode decision | Different API path and client libs | Assess scaling requirements |\n| Snapshot vs maintenance window | Must not overlap | Plan windows |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Redis vs Memcached engine selection\n\n| Feature | Redis OSS | Memcached |\n|---|---|---|\n| Persistence | Yes (RDB, AOF) | No |\n| Replication | Yes (primary + replicas) | No |\n| Multi-AZ failover | Yes (auto promotion) | No |\n| Cluster mode \u002F sharding | Yes (cluster mode enabled) | Yes (auto-discovery) |\n| Encryption at rest | Yes (KMS) | No |\n| Encryption in transit | Yes (TLS) | No |\n| AUTH token | Yes | No |\n| Snapshots \u002F backups | Yes | No |\n| Global Datastore | Yes (cross-region) | No |\n| Online resharding | Yes | No |\n| Multi-threaded | No (per shard) | Yes |\n| Data structures | Rich (lists, sets, hashes, streams) | Key-value only |\n\n**Choose Redis** for persistence, replication, encryption, HA, or rich\ndata structures. **Choose Memcached** for simple ephemeral multi-\nthreaded caching with no durability.\n\n## Step 2 — Cluster mode enabled vs self-designed (Redis)\n\n| Feature | Non-cluster (self-designed) | Cluster mode enabled |\n|---|---|---|\n| API params | `--num-cache-clusters` | `--num-node-groups` + `--replicas-per-node-group` |\n| Partitioning | Single primary (no sharding) | Hash slots across shards |\n| Max memory | One node's capacity | Sum of all shards |\n| Client library | Standard Redis client | Cluster-aware client |\n| Online resharding | Not supported | Supported |\n\n**Non-cluster mode:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 2\".\n> Load when: creating a non-cluster replication group.\n\n**Cluster mode enabled:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 2\".\n> Load when: creating a cluster-mode-enabled replication group.\n\n**Common mistake:** using `--num-cache-clusters` when you need cluster\nmode. Cluster mode uses `--num-node-groups` and `--replicas-per-node-group`.\n\n## Step 3 — Replication groups and multi-AZ failover\n\nA Redis replication group has a primary and 0-5 read replicas per shard.\nMulti-AZ with automatic failover promotes a replica in a different AZ\nwhen the primary fails.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 3\".\n> Load when: enabling multi-AZ + automatic failover at creation or via modify.\n\n**Critical:** multi-AZ without at least one replica per shard is\nineffective — failover has no target to promote.\n\n## Step 4 — Node type sizing\n\n| Workload | Recommended type | Rationale |\n|---|---|---|\n| Small cache (\u003C 5 GB) | cache.r6g.large | Cost-effective |\n| Medium (5-25 GB) | cache.r6g.xlarge or cluster mode | Balance memory + CPU |\n| Large (25-100 GB) | cache.r6g.2xlarge or more shards | Distribute memory |\n| High throughput | cache.r6g.4xlarge+ or more shards | CPU + network |\n\nFor cluster mode, total capacity = (node memory) x (num shards).\nPer-shard throughput scales with replicas (reads) and shards (writes).\n\n## Step 5 — Subnet groups and security groups\n\n**Create a subnet group (requires >= 2 AZs for multi-AZ):**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 5\".\n> Load when: creating the multi-AZ subnet group.\n\n**Security group (Redis 6379, Memcached 11211):**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 5\".\n> Load when: creating the SG and authorizing inbound from the app SG.\n\n**Critical:** the SG must allow inbound from the application SG (not\nCIDR) for least-privilege. Port differs: Redis = 6379, Memcached = 11211.\n\n## Step 6 — Parameter groups\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 6\".\n> Load when: creating and modifying a Redis parameter group.\n\n| Parameter | Default | Effect |\n|---|---|---|\n| maxmemory-policy | volatile-lru | Eviction policy when full |\n| timeout | 0 | Idle client timeout |\n| cluster-enabled | yes (cluster mode) | Redis cluster mode |\n\n## Step 7 — Encryption at rest (KMS) and in transit (TLS)\n\n**Encryption is creation-time-only for Redis replication groups.** It\nCANNOT be toggled on after the cluster exists.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 7\".\n> Load when: creating with KMS + TLS encryption at creation.\n\n| Encryption type | Parameter | Post-creation |\n|---|---|---|\n| At-rest (KMS) | `--at-rest-encryption-enabled` | CANNOT toggle |\n| In-transit (TLS) | `--transit-encryption-enabled` | CANNOT toggle |\n| AUTH token | `--auth-token` | CANNOT toggle |\n\n**Critical:** if you need encryption on an existing cluster, you must\ncreate a new encrypted cluster and migrate data.\n\n## Step 8 — Redis AUTH tokens\n\nAUTH tokens require in-transit encryption (TLS) — otherwise the token\nis sent in cleartext.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 8\".\n> Load when: setting an AUTH token and storing it for rotation.\n\n## Step 9 — Backup and snapshot management\n\n| Backup type | How | Retention |\n|---|---|---|\n| Automated | Daily snapshot in snapshot window | 0-35 days (0 = disabled) |\n| Manual | On-demand via API | Until manually deleted |\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 9\".\n> Load when: creating with automated snapshots or taking a manual snapshot.\n\n**Critical:** the snapshot window MUST NOT overlap the maintenance\nwindow. If they overlap, snapshots may be skipped.\n\n## Step 10 — Global Datastore (cross-region replication)\n\nGlobal Datastore provides cross-region replication for DR and low-\nlatency multi-region reads.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 10\".\n> Load when: building a Global Datastore with primary + secondary.\n\n**Constraints:** same engine version across regions; encryption config\nmust match; secondary is read-only until failover.\n\n## Step 11 — Auto-scaling\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 11\".\n> Load when: registering a scalable target and attaching the policy.\n\nAuto-scaling uses CloudWatch metrics (EngineCPUUtilization,\nDatabaseMemoryUsagePercentage) as triggers. Scale-out adds shards;\nscale-in removes shards. Online resharding is performed automatically.\n\n## Step 12 — Online cluster resizing (use-online-resharding)\n\nOnline resharding adds\u002Fremoves shards from a cluster-mode-enabled\nreplication group with ZERO downtime.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 12\".\n> Load when: adding\u002Fremoving shards and polling resharding status.\n\n**Key implication:** online resharding is ONLY for cluster-mode-enabled\ngroups. Non-cluster mode requires migration to a new cluster.\n\n## Step 13 — Recent features\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 13\".\n> Load when: deciding on r7g, serverless, TLS 1.3, or online vertical scaling.\n\n## NEVER do these things\n\n1. **NEVER assume encryption can be enabled after cluster creation.**\n   At-rest (KMS) and in-transit (TLS) encryption are creation-time-only\n   for Redis replication groups. Existing non-encrypted clusters require\n   migration to a new encrypted cluster.\n\n2. **NEVER set an AUTH token without enabling in-transit encryption.**\n   AUTH requires TLS. Setting AUTH without TLS sends the token in\n   cleartext — a security vulnerability.\n\n3. **NEVER enable multi-AZ failover without at least one replica per\n   shard.** Multi-AZ without a replica to promote is a no-op. Always\n   verify `--replicas-per-node-group >= 1`.\n\n4. **NEVER confuse cluster mode and non-cluster mode.** Cluster mode\n   uses `--num-node-groups` + `--replicas-per-node-group`. Non-cluster\n   uses `--num-cache-clusters`. Client libraries differ (cluster-aware\n   vs standard).\n\n5. **NEVER allow the snapshot window to overlap the maintenance\n   window.** Overlap causes skipped snapshots or delayed maintenance.\n   Separate windows by at least 1 hour.\n\n6. **NEVER attempt online resharding on a non-cluster-mode cluster.**\n   Online resharding is ONLY for cluster-mode-enabled groups. Non-\n   cluster mode requires migration.\n\n7. **NEVER create a Global Datastore with mismatched engine versions.**\n   Primary and secondary must use the same engine version. Mismatches\n   cause replication failures.\n\n8. **NEVER use Memcached when you need persistence, replication, or\n   encryption.** Memcached does NOT support these features. Use Redis.\n\n9. **NEVER forget the security group port.** Redis = 6379; Memcached =\n   11211. Wrong port is a silent failure (client timeout, not API error).\n\n10. **NEVER scale a cluster without monitoring the resharding status.**\n    Online resharding is asynchronous. Check\n    `describe-replication-groups` status until \"available\" before\n    further modifications.\n\n## Output format\n\n```text\nELASTICACHE_CLUSTER: \u003Ccluster-id> (\u003Cengine>, \u003Cnode-type>, \u003Ctopology>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Engine: Redis OSS | Memcached\n  [✓|✗] Topology: Cluster mode enabled (\u003CN> shards x \u003CR> replicas) | Non-cluster (\u003CN> nodes) | Memcached (\u003CN> nodes)\n  [✓|✗] Node type: \u003Cnode-type>\n  [✓|✗] Subnet group: \u003Csubnet-group-name> (\u003CN> AZs)\n  [✓|✗] Security group: \u003Csg-id> (port \u003C6379|11211>)\n  [✓|✗] Parameter group: \u003Cparam-group-name>\n  [✓|✗] Multi-AZ failover: Enabled (\u003CN> AZs) | Disabled\n  [✓|✗] At-rest encryption (KMS): Enabled (key \u003Ckms-key-id>) | Disabled\n  [✓|✗] In-transit encryption (TLS): Enabled | Disabled\n  [✓|✗] AUTH token: Set (Secrets Manager) | Not set\n  [✓|✗] Backup: Automated (retention \u003CN> days, window \u003Cwindow>) | Manual | Disabled\n  [✓|✗] Snapshot window: \u003Cwindow> (no overlap with maintenance \u003Cwindow>)\n  [✓|✗] Global Datastore: \u003Cglobal-id> (primary \u003Cregion>, secondary \u003Cregion>) | Not configured\n  [✓|✗] Auto-scaling: Target tracking (\u003Cmetric>, target \u003Cvalue>%) | Not configured\n  [✓|✗] Online resharding: Available (cluster mode) | Not available (non-cluster)\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws elasticache describe-replication-groups --replication-group-id \u003Ccluster-id> --region \u003Cregion>\n  aws elasticache describe-cache-clusters --show-cache-node-info --region \u003Cregion>\n  aws elasticache describe-global-replication-groups --show-global-nodegroups --region \u003Cregion>\n```\n\n### Worked example — Redis cluster mode enabled, 3 shards, KMS encryption, multi-AZ\n\n```text\nELASTICACHE_CLUSTER: session-store-prod (Redis OSS 7.0, cache.r6g.large, cluster mode enabled)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Engine: Redis OSS (version 7.0)\n  [✓] Topology: Cluster mode enabled (3 shards x 1 replica = 6 nodes total)\n    Shard 1: slots 0-5460, primary AZ-a, replica AZ-b (priority 100)\n    Shard 2: slots 5461-10922, primary AZ-b, replica AZ-c (priority 100)\n    Shard 3: slots 10923-16383, primary AZ-c, replica AZ-a (priority 100)\n  [✓] Node type: cache.r6g.large (2 vCPU, 12.93 GB RAM per node)\n  [✓] Subnet group: prod-redis-subnet-group (3 AZs: us-east-1a, us-east-1b, us-east-1c)\n  [✓] Security group: sg-0abc123def456 (port 6379, inbound from sg-app-workload only)\n  [✓] Parameter group: prod-redis-params (maxmemory-policy=allkeys-lru, timeout=300)\n  [✓] Multi-AZ failover: Enabled (3 AZs, automatic-failover + multi-az flags set)\n  [✓] At-rest encryption (KMS): Enabled (key arn:aws:kms:us-east-1:123456789012:key\u002Fa1b2c3d4-5678-90ef-1234-567890abcdef)\n  [✓] In-transit encryption (TLS): Enabled (creation-time-only — cannot toggle post-creation)\n  [✓] AUTH token: Set (Secrets Manager: elasticache\u002Fsession-store-prod-auth-token, requires TLS)\n  [✓] Backup: Automated (retention 7 days, snapshot window 01:00-03:00 UTC daily)\n  [✓] Snapshot window: 01:00-03:00 UTC (no overlap with maintenance wed:04:00-wed:05:00 UTC — 1h gap confirmed)\n  [✓] Global Datastore: Not configured\n  [✓] Auto-scaling: Target tracking (EngineCPUUtilization, target 60%, min 3 shards, max 10 shards)\n  [✓] Online resharding: Available (cluster mode enabled — can add\u002Fremove shards with zero downtime)\n  [✓] Tags: Environment=production, Application=session-store, Owner=platform-team\nVERIFICATION_COMMANDS:\n  aws elasticache describe-replication-groups --replication-group-id session-store-prod --region us-east-1\n  aws elasticache describe-cache-clusters --show-cache-node-info --region us-east-1\n  aws kms describe-key --key-id arn:aws:kms:us-east-1:123456789012:key\u002Fa1b2c3d4-5678-90ef-1234-567890abcdef --region us-east-1\n```\n\n### Worked example — PREREQUISITES_MISSING (subnet group absent)\n\n> **Moved verbatim** → [references\u002Fworked-examples.md](references\u002Fworked-examples.md) § \"Worked example\".\n> Load when: emitting a PREREQUISITES_MISSING checklist with a cited gap.\n\n## Error handling\n\n> **Moved verbatim** → [references\u002Ferror-handling.md](references\u002Ferror-handling.md) § \"Error handling\".\n> Load when: encryption unsupported, failover not triggering, clients cannot connect, resharding stuck.\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — PREREQUISITES_MISSING worked example (subnet group absent)\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — triage: encryption unsupported, failover not triggering, connect failures, resharding stuck, skipped snapshots\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — misconceptions, dependency-graph deep dive, recent AWS features\n- [references\u002Fconfig-patterns.md](references\u002Fconfig-patterns.md) — topology + promotion priority + window overlap pattern (extended)\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — copy-pasteable CLI sequences for Steps 2-12 (extended)\n\n## Domain\n\nAWS CloudOps \u002F Amazon ElastiCache Cluster Provisioning & In-Memory\nData Store Management.\n\n## AWS documentation\n\n- **ElastiCache for Redis** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FWhatIs.html\n- **Replication groups** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FReplication.html\n- **Cluster mode enabled** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FClusterMode.html\n- **Multi-AZ with automatic failover** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FAutoFailover.html\n- **Encryption at rest and in transit** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fat-rest-encryption.html\n- **AUTH tokens** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fauth.html\n- **Global Datastore** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FRedis-Global-Datastore.html\n- **Online resharding** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fcluster-mode-resharding.html\n- **ElastiCache auto-scaling** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FAutoScaling.html\n- **Memcached** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fmem-ug\u002FWhatIs.html\n- **Snapshots and backups** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FSnapshots.html\n","# ElastiCache Cluster Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon ElastiCache clusters\nwith correct defaults. The skill walks the operator through Redis OSS\ncluster mode vs non-cluster mode, Memcached topology, replication groups,\nmulti-AZ automatic failover, node type sizing, subnet groups, security\ngroups, parameter groups, encryption, AUTH tokens, shard\u002Fslot mapping,\nbackup management, Global Datastore, auto-scaling, and online cluster\nresizing — then emits a READY_TO_DEPLOY checklist with verification\ncommands.\n\n## Activation keywords\n\ncreate ElastiCache cluster, Redis replication group, cluster mode\nenabled, ElastiCache multi-AZ failover, ElastiCache encryption KMS TLS,\nRedis AUTH token, ElastiCache Global Datastore, online resharding,\nElastiCache auto scaling, Memcached cluster.\n\n## STRICT output contract\n\nWhen this skill is invoked with an ElastiCache-provisioning request\n(create a cluster, configure a replication group, enable multi-AZ\nfailover, set up encryption, create a Global Datastore, scale a cluster\nonline, or a partial configuration), the agent MUST respond with the\nREADY_TO_DEPLOY checklist defined in the \"Output format\" section using\nthe literal all-caps labels `ELASTICACHE_CLUSTER:`, `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\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n### FORBIDDEN output patterns\n\n1. **NEVER emit `VERDICT: READY_TO_DEPLOY` when any CHECKLIST item is\n   `[✗]`.** If even one prerequisite is unmet, the verdict MUST be\n   `PREREQUISITES_MISSING`. A mixed-verdict block is a contract\n   violation.\n\n2. **NEVER omit the `ELASTICACHE_CLUSTER:` header line.** It is the\n   parse anchor for downstream provisioning pipelines. Substituting a\n   markdown heading (`## ElastiCache`) or a lowercase variant breaks\n   automation silently.\n\n3. **NEVER mark encryption as \"TBD\", \"optional\", or \"post-creation.\"**\n   At-rest (KMS) and in-transit (TLS) encryption are creation-time-only\n   for Redis replication groups — they CANNOT be toggled on after the\n   cluster exists. The CHECKLIST MUST show an explicit encryption\n   decision (`Enabled` or `Disabled`), never a deferred one.\n\n4. **NEVER show multi-AZ failover as `Enabled` when\n   `replicas-per-node-group` is 0.** Multi-AZ automatic failover requires\n   at least one replica per shard as a promotion target. `Multi-AZ:\n   Enabled` with zero replicas is a silent no-op — failover has no\n   target to promote.\n\n5. **NEVER allow the snapshot window to overlap the maintenance window\n   in the CHECKLIST.** Overlap causes skipped backups or delayed\n   maintenance. The output MUST include both windows and confirm\n   non-overlap with at least 1 hour of separation.\n\n6. **NEVER use `--num-cache-clusters` (non-cluster mode) and\n   `--num-node-groups` (cluster mode) interchangeably in the CHECKLIST.**\n   These are different API paths requiring different client libraries\n   (cluster-aware vs standard Redis client). The topology line MUST\n   explicitly identify which mode is selected.\n\n7. **NEVER omit the `VERIFICATION_COMMANDS:` block.** The copy-pasteable\n   AWS CLI commands are how the operator confirms the deployment\n   succeeded. A checklist without verification commands is incomplete.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Redis vs Memcached engine selection | Engine choice |\n| Step 2 — Cluster mode enabled vs self-designed (Redis) | Redis topology |\n| Step 3 — Replication groups and multi-AZ failover | High availability |\n| Step 4 — Node type sizing | Capacity planning |\n| Step 5 — Subnet groups and security groups | Network + security |\n| Step 6 — Parameter groups | Engine configuration |\n| Step 7 — Encryption at rest (KMS) and in transit (TLS) | Security |\n| Step 8 — Redis AUTH tokens | Authentication |\n| Step 9 — Backup and snapshot management | Data durability |\n| Step 10 — Global Datastore (cross-region replication) | DR \u002F cross-region |\n| Step 11 — Auto-scaling | Capacity elasticity |\n| Step 12 — Online cluster resizing (use-online-resharding) | Scale operations |\n| Step 13 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fredis-topology-and-failover.md | Cluster mode + failover detail |\n| references\u002Fsecurity-and-encryption.md | Encryption + AUTH detail |\n\n## Mindset\n\n**One-line takeaway:** ElastiCache for Redis cluster mode enabled\npartitions data across shards using hash slots (16,384 total), each\nshard has a primary and 0-5 read replicas, multi-AZ failover promotes a\nreplica automatically when the primary fails. Encryption at rest and in\ntransit must be enabled at creation time — they CANNOT be toggled on\nafter the cluster exists. Online resharding lets you add\u002Fremove shards\nwith zero downtime using the use-online-resharding flag.\n\nThree misconceptions dominate ElastiCache misdesign at provisioning\ntime:\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Mindset misconceptions\".\n> Load when: you need the full argument behind encryption\u002Fcluster-mode\u002Fengine misconceptions.\n\n## Configuration dependency graph (novel heuristic)\n\nElastiCache configurations are NOT independent. Encryption must be\nenabled at creation time. Cluster mode is immutable without online\nresharding. Subnet groups must exist before the cluster. Use this graph\nto sequence provisioning.\n\n| Configuration | Hard dependencies | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Subnet group | Subnets in >= 2 AZs (multi-AZ); same VPC | Cross-VPC subnets rejected at API | cluster creation |\n| Security group | VPC exists; port 6379 (Redis) or 11211 (Memcached) | No ingress rule = client timeout (not API error) | client connectivity |\n| Replication group (Redis) | Subnet group + security group exist | Encryption must be set at creation — CANNOT toggle | cluster endpoints |\n| Cluster mode enabled | `--num-node-groups > 1` at creation | Switching modes requires migration | horizontal scaling |\n| Multi-AZ + failover | >= 1 replica per shard; nodes across >= 2 AZs | Multi-AZ without replicas = no failover target | high availability |\n| At-rest encryption (KMS) | KMS key exists; set at creation | CANNOT enable on existing cluster | compliance |\n| In-transit encryption (TLS) | Set at creation | CANNOT enable on existing cluster | compliance |\n| AUTH token | In-transit encryption MUST be enabled first | AUTH without TLS = token in cleartext | authentication |\n| Backup (automated) | Retention period > 0; snapshot window set | Overlap with maintenance window = skipped snapshots | data durability |\n| Global Datastore | Primary cluster in region A; same engine version | Encryption config must match across regions | cross-region DR |\n| Online resharding | Cluster mode enabled; async operation | Non-cluster mode CANNOT be resharded | scale without downtime |\n| Auto-scaling | Replication group exists; scaling policy defined | Min\u002Fmax must be within node-group limits | capacity elasticity |\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Configuration dependency graph\".\n> Load when: the cross-dependency gotchas behind the table.\n\n## Expert heuristic: cluster mode enabled topology + replica promotion priority + snapshot window vs maintenance window overlap\n\n> **Moved verbatim** → [references\u002Fconfig-patterns.md](references\u002Fconfig-patterns.md) § \"Expert heuristic: cluster mode topology, promotion priority, window overlap\".\n> Load when: designing shard\u002Freplica\u002FAZ layout, promotion priorities, or non-overlapping windows.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| VPC and subnets (>= 2 AZs) | Subnet group needs multi-AZ subnets | `aws ec2 describe-subnets` |\n| Subnet group exists or creatable | Cluster requires a subnet group | `aws elasticache describe-cache-subnet-groups` |\n| Security group (port 6379\u002F11211) | Client connectivity | `aws ec2 describe-security-groups` |\n| Node type selected | Memory, CPU, network capacity | `aws elasticache describe-cache-engine-versions` |\n| Engine + version | Encryption needs Redis >= 6.0 for TLS 1.3 | Confirm feature compatibility |\n| Encryption decision | MUST be at creation — cannot toggle later | Assess compliance requirements |\n| AUTH token decision | Requires in-transit encryption first | Assess authentication requirements |\n| Multi-AZ + failover decision | Requires >= 1 replica per shard | Assess availability requirements |\n| Cluster mode decision | Different API path and client libs | Assess scaling requirements |\n| Snapshot vs maintenance window | Must not overlap | Plan windows |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Redis vs Memcached engine selection\n\n| Feature | Redis OSS | Memcached |\n|---|---|---|\n| Persistence | Yes (RDB, AOF) | No |\n| Replication | Yes (primary + replicas) | No |\n| Multi-AZ failover | Yes (auto promotion) | No |\n| Cluster mode \u002F sharding | Yes (cluster mode enabled) | Yes (auto-discovery) |\n| Encryption at rest | Yes (KMS) | No |\n| Encryption in transit | Yes (TLS) | No |\n| AUTH token | Yes | No |\n| Snapshots \u002F backups | Yes | No |\n| Global Datastore | Yes (cross-region) | No |\n| Online resharding | Yes | No |\n| Multi-threaded | No (per shard) | Yes |\n| Data structures | Rich (lists, sets, hashes, streams) | Key-value only |\n\n**Choose Redis** for persistence, replication, encryption, HA, or rich\ndata structures. **Choose Memcached** for simple ephemeral multi-\nthreaded caching with no durability.\n\n## Step 2 — Cluster mode enabled vs self-designed (Redis)\n\n| Feature | Non-cluster (self-designed) | Cluster mode enabled |\n|---|---|---|\n| API params | `--num-cache-clusters` | `--num-node-groups` + `--replicas-per-node-group` |\n| Partitioning | Single primary (no sharding) | Hash slots across shards |\n| Max memory | One node's capacity | Sum of all shards |\n| Client library | Standard Redis client | Cluster-aware client |\n| Online resharding | Not supported | Supported |\n\n**Non-cluster mode:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 2\".\n> Load when: creating a non-cluster replication group.\n\n**Cluster mode enabled:**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 2\".\n> Load when: creating a cluster-mode-enabled replication group.\n\n**Common mistake:** using `--num-cache-clusters` when you need cluster\nmode. Cluster mode uses `--num-node-groups` and `--replicas-per-node-group`.\n\n## Step 3 — Replication groups and multi-AZ failover\n\nA Redis replication group has a primary and 0-5 read replicas per shard.\nMulti-AZ with automatic failover promotes a replica in a different AZ\nwhen the primary fails.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 3\".\n> Load when: enabling multi-AZ + automatic failover at creation or via modify.\n\n**Critical:** multi-AZ without at least one replica per shard is\nineffective — failover has no target to promote.\n\n## Step 4 — Node type sizing\n\n| Workload | Recommended type | Rationale |\n|---|---|---|\n| Small cache (\u003C 5 GB) | cache.r6g.large | Cost-effective |\n| Medium (5-25 GB) | cache.r6g.xlarge or cluster mode | Balance memory + CPU |\n| Large (25-100 GB) | cache.r6g.2xlarge or more shards | Distribute memory |\n| High throughput | cache.r6g.4xlarge+ or more shards | CPU + network |\n\nFor cluster mode, total capacity = (node memory) x (num shards).\nPer-shard throughput scales with replicas (reads) and shards (writes).\n\n## Step 5 — Subnet groups and security groups\n\n**Create a subnet group (requires >= 2 AZs for multi-AZ):**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 5\".\n> Load when: creating the multi-AZ subnet group.\n\n**Security group (Redis 6379, Memcached 11211):**\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 5\".\n> Load when: creating the SG and authorizing inbound from the app SG.\n\n**Critical:** the SG must allow inbound from the application SG (not\nCIDR) for least-privilege. Port differs: Redis = 6379, Memcached = 11211.\n\n## Step 6 — Parameter groups\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 6\".\n> Load when: creating and modifying a Redis parameter group.\n\n| Parameter | Default | Effect |\n|---|---|---|\n| maxmemory-policy | volatile-lru | Eviction policy when full |\n| timeout | 0 | Idle client timeout |\n| cluster-enabled | yes (cluster mode) | Redis cluster mode |\n\n## Step 7 — Encryption at rest (KMS) and in transit (TLS)\n\n**Encryption is creation-time-only for Redis replication groups.** It\nCANNOT be toggled on after the cluster exists.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 7\".\n> Load when: creating with KMS + TLS encryption at creation.\n\n| Encryption type | Parameter | Post-creation |\n|---|---|---|\n| At-rest (KMS) | `--at-rest-encryption-enabled` | CANNOT toggle |\n| In-transit (TLS) | `--transit-encryption-enabled` | CANNOT toggle |\n| AUTH token | `--auth-token` | CANNOT toggle |\n\n**Critical:** if you need encryption on an existing cluster, you must\ncreate a new encrypted cluster and migrate data.\n\n## Step 8 — Redis AUTH tokens\n\nAUTH tokens require in-transit encryption (TLS) — otherwise the token\nis sent in cleartext.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 8\".\n> Load when: setting an AUTH token and storing it for rotation.\n\n## Step 9 — Backup and snapshot management\n\n| Backup type | How | Retention |\n|---|---|---|\n| Automated | Daily snapshot in snapshot window | 0-35 days (0 = disabled) |\n| Manual | On-demand via API | Until manually deleted |\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 9\".\n> Load when: creating with automated snapshots or taking a manual snapshot.\n\n**Critical:** the snapshot window MUST NOT overlap the maintenance\nwindow. If they overlap, snapshots may be skipped.\n\n## Step 10 — Global Datastore (cross-region replication)\n\nGlobal Datastore provides cross-region replication for DR and low-\nlatency multi-region reads.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 10\".\n> Load when: building a Global Datastore with primary + secondary.\n\n**Constraints:** same engine version across regions; encryption config\nmust match; secondary is read-only until failover.\n\n## Step 11 — Auto-scaling\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 11\".\n> Load when: registering a scalable target and attaching the policy.\n\nAuto-scaling uses CloudWatch metrics (EngineCPUUtilization,\nDatabaseMemoryUsagePercentage) as triggers. Scale-out adds shards;\nscale-in removes shards. Online resharding is performed automatically.\n\n## Step 12 — Online cluster resizing (use-online-resharding)\n\nOnline resharding adds\u002Fremoves shards from a cluster-mode-enabled\nreplication group with ZERO downtime.\n\n> **Moved verbatim** → [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) § \"Step 12\".\n> Load when: adding\u002Fremoving shards and polling resharding status.\n\n**Key implication:** online resharding is ONLY for cluster-mode-enabled\ngroups. Non-cluster mode requires migration to a new cluster.\n\n## Step 13 — Recent features\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 13\".\n> Load when: deciding on r7g, serverless, TLS 1.3, or online vertical scaling.\n\n## NEVER do these things\n\n1. **NEVER assume encryption can be enabled after cluster creation.**\n   At-rest (KMS) and in-transit (TLS) encryption are creation-time-only\n   for Redis replication groups. Existing non-encrypted clusters require\n   migration to a new encrypted cluster.\n\n2. **NEVER set an AUTH token without enabling in-transit encryption.**\n   AUTH requires TLS. Setting AUTH without TLS sends the token in\n   cleartext — a security vulnerability.\n\n3. **NEVER enable multi-AZ failover without at least one replica per\n   shard.** Multi-AZ without a replica to promote is a no-op. Always\n   verify `--replicas-per-node-group >= 1`.\n\n4. **NEVER confuse cluster mode and non-cluster mode.** Cluster mode\n   uses `--num-node-groups` + `--replicas-per-node-group`. Non-cluster\n   uses `--num-cache-clusters`. Client libraries differ (cluster-aware\n   vs standard).\n\n5. **NEVER allow the snapshot window to overlap the maintenance\n   window.** Overlap causes skipped snapshots or delayed maintenance.\n   Separate windows by at least 1 hour.\n\n6. **NEVER attempt online resharding on a non-cluster-mode cluster.**\n   Online resharding is ONLY for cluster-mode-enabled groups. Non-\n   cluster mode requires migration.\n\n7. **NEVER create a Global Datastore with mismatched engine versions.**\n   Primary and secondary must use the same engine version. Mismatches\n   cause replication failures.\n\n8. **NEVER use Memcached when you need persistence, replication, or\n   encryption.** Memcached does NOT support these features. Use Redis.\n\n9. **NEVER forget the security group port.** Redis = 6379; Memcached =\n   11211. Wrong port is a silent failure (client timeout, not API error).\n\n10. **NEVER scale a cluster without monitoring the resharding status.**\n    Online resharding is asynchronous. Check\n    `describe-replication-groups` status until \"available\" before\n    further modifications.\n\n## Output format\n\n```text\nELASTICACHE_CLUSTER: \u003Ccluster-id> (\u003Cengine>, \u003Cnode-type>, \u003Ctopology>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Engine: Redis OSS | Memcached\n  [✓|✗] Topology: Cluster mode enabled (\u003CN> shards x \u003CR> replicas) | Non-cluster (\u003CN> nodes) | Memcached (\u003CN> nodes)\n  [✓|✗] Node type: \u003Cnode-type>\n  [✓|✗] Subnet group: \u003Csubnet-group-name> (\u003CN> AZs)\n  [✓|✗] Security group: \u003Csg-id> (port \u003C6379|11211>)\n  [✓|✗] Parameter group: \u003Cparam-group-name>\n  [✓|✗] Multi-AZ failover: Enabled (\u003CN> AZs) | Disabled\n  [✓|✗] At-rest encryption (KMS): Enabled (key \u003Ckms-key-id>) | Disabled\n  [✓|✗] In-transit encryption (TLS): Enabled | Disabled\n  [✓|✗] AUTH token: Set (Secrets Manager) | Not set\n  [✓|✗] Backup: Automated (retention \u003CN> days, window \u003Cwindow>) | Manual | Disabled\n  [✓|✗] Snapshot window: \u003Cwindow> (no overlap with maintenance \u003Cwindow>)\n  [✓|✗] Global Datastore: \u003Cglobal-id> (primary \u003Cregion>, secondary \u003Cregion>) | Not configured\n  [✓|✗] Auto-scaling: Target tracking (\u003Cmetric>, target \u003Cvalue>%) | Not configured\n  [✓|✗] Online resharding: Available (cluster mode) | Not available (non-cluster)\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws elasticache describe-replication-groups --replication-group-id \u003Ccluster-id> --region \u003Cregion>\n  aws elasticache describe-cache-clusters --show-cache-node-info --region \u003Cregion>\n  aws elasticache describe-global-replication-groups --show-global-nodegroups --region \u003Cregion>\n```\n\n### Worked example — Redis cluster mode enabled, 3 shards, KMS encryption, multi-AZ\n\n```text\nELASTICACHE_CLUSTER: session-store-prod (Redis OSS 7.0, cache.r6g.large, cluster mode enabled)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Engine: Redis OSS (version 7.0)\n  [✓] Topology: Cluster mode enabled (3 shards x 1 replica = 6 nodes total)\n    Shard 1: slots 0-5460, primary AZ-a, replica AZ-b (priority 100)\n    Shard 2: slots 5461-10922, primary AZ-b, replica AZ-c (priority 100)\n    Shard 3: slots 10923-16383, primary AZ-c, replica AZ-a (priority 100)\n  [✓] Node type: cache.r6g.large (2 vCPU, 12.93 GB RAM per node)\n  [✓] Subnet group: prod-redis-subnet-group (3 AZs: us-east-1a, us-east-1b, us-east-1c)\n  [✓] Security group: sg-0abc123def456 (port 6379, inbound from sg-app-workload only)\n  [✓] Parameter group: prod-redis-params (maxmemory-policy=allkeys-lru, timeout=300)\n  [✓] Multi-AZ failover: Enabled (3 AZs, automatic-failover + multi-az flags set)\n  [✓] At-rest encryption (KMS): Enabled (key arn:aws:kms:us-east-1:123456789012:key\u002Fa1b2c3d4-5678-90ef-1234-567890abcdef)\n  [✓] In-transit encryption (TLS): Enabled (creation-time-only — cannot toggle post-creation)\n  [✓] AUTH token: Set (Secrets Manager: elasticache\u002Fsession-store-prod-auth-token, requires TLS)\n  [✓] Backup: Automated (retention 7 days, snapshot window 01:00-03:00 UTC daily)\n  [✓] Snapshot window: 01:00-03:00 UTC (no overlap with maintenance wed:04:00-wed:05:00 UTC — 1h gap confirmed)\n  [✓] Global Datastore: Not configured\n  [✓] Auto-scaling: Target tracking (EngineCPUUtilization, target 60%, min 3 shards, max 10 shards)\n  [✓] Online resharding: Available (cluster mode enabled — can add\u002Fremove shards with zero downtime)\n  [✓] Tags: Environment=production, Application=session-store, Owner=platform-team\nVERIFICATION_COMMANDS:\n  aws elasticache describe-replication-groups --replication-group-id session-store-prod --region us-east-1\n  aws elasticache describe-cache-clusters --show-cache-node-info --region us-east-1\n  aws kms describe-key --key-id arn:aws:kms:us-east-1:123456789012:key\u002Fa1b2c3d4-5678-90ef-1234-567890abcdef --region us-east-1\n```\n\n### Worked example — PREREQUISITES_MISSING (subnet group absent)\n\n> **Moved verbatim** → [references\u002Fworked-examples.md](references\u002Fworked-examples.md) § \"Worked example\".\n> Load when: emitting a PREREQUISITES_MISSING checklist with a cited gap.\n\n## Error handling\n\n> **Moved verbatim** → [references\u002Ferror-handling.md](references\u002Ferror-handling.md) § \"Error handling\".\n> Load when: encryption unsupported, failover not triggering, clients cannot connect, resharding stuck.\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — PREREQUISITES_MISSING worked example (subnet group absent)\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — triage: encryption unsupported, failover not triggering, connect failures, resharding stuck, skipped snapshots\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — misconceptions, dependency-graph deep dive, recent AWS features\n- [references\u002Fconfig-patterns.md](references\u002Fconfig-patterns.md) — topology + promotion priority + window overlap pattern (extended)\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — copy-pasteable CLI sequences for Steps 2-12 (extended)\n\n## Domain\n\nAWS CloudOps \u002F Amazon ElastiCache Cluster Provisioning & In-Memory\nData Store Management.\n\n## AWS documentation\n\n- **ElastiCache for Redis** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FWhatIs.html\n- **Replication groups** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FReplication.html\n- **Cluster mode enabled** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FClusterMode.html\n- **Multi-AZ with automatic failover** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FAutoFailover.html\n- **Encryption at rest and in transit** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fat-rest-encryption.html\n- **AUTH tokens** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fauth.html\n- **Global Datastore** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FRedis-Global-Datastore.html\n- **Online resharding** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002Fcluster-mode-resharding.html\n- **ElastiCache auto-scaling** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FAutoScaling.html\n- **Memcached** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fmem-ug\u002FWhatIs.html\n- **Snapshots and backups** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonElastiCache\u002Flatest\u002Fred-ug\u002FSnapshots.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, provisioning, replication-group, cluster-mode, multi-az, encryption, global-datastore","1","Jacky Chan — AWS Community Builder","aws-cloudops","Databases","0.1.0","aws, elasticache, redis, memcached, cloudops, deploy, provisioning, replication group, cluster mode, multi-az, failover, encryption, kms, tls, auth token, global datastore, online resharding, auto scaling","deploy","high","false","capability","Invoke when the user wants to create an Amazon ElastiCache cluster (Redis OSS or Memcached), configure a Redis replication group with multi-AZ automatic failover, enable cluster mode with shards and read replicas, configure at-rest encryption (KMS) or in-transit encryption (TLS), set Redis AUTH tokens, create a Global Datastore for cross-region replication, perform online cluster resizing, or configure ElastiCache auto-scaling. Do NOT invoke for Amazon MemoryDB for Redis, Amazon DynamoDB, or self-managed Redis\u002FMemcached 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 access. Works with Terraform aws_elasticache_replication_group \u002F aws_elasticache_cluster \u002F aws_elasticache_subnet_group resources and CloudFormation AWS::ElastiCache::ReplicationGroup \u002F AWS::ElastiCache::CacheCluster \u002F AWS::ElastiCache::SubnetGroup templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Felasticache-cluster-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-cluster-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill elasticache-cluster-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill elasticache-cluster-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-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","参考文档",640,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fmemcached-cluster-basic.md",313,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Fbaselines\u002Fmemcached-cluster-basic.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fmemcached-with-encryption.md",284,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Fbaselines\u002Fmemcached-with-encryption.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fmissing-subnet-group.md",279,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Fbaselines\u002Fmissing-subnet-group.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fredis-global-datastore.md",312,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Fbaselines\u002Fredis-global-datastore.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fredis-replication-group-multiaz.md",321,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Fbaselines\u002Fredis-replication-group-multiaz.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",48,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",1238,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fmemcached-cluster-basic.md",260,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Fprompts\u002Fmemcached-cluster-basic.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fmemcached-with-encryption.md",231,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Fprompts\u002Fmemcached-with-encryption.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fmissing-subnet-group.md",222,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Fprompts\u002Fmissing-subnet-group.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fredis-global-datastore.md",317,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Fprompts\u002Fredis-global-datastore.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fredis-replication-group-multiaz.md",466,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fevals\u002Fprompts\u002Fredis-replication-group-multiaz.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",280,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",2920,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fconfig-patterns.md",1803,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Freferences\u002Fconfig-patterns.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ferror-handling.md",1066,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Freferences\u002Ferror-handling.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fprovisioning-cli-commands.md",7072,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Freferences\u002Fprovisioning-cli-commands.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Fworked-examples.md",1355,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-deployer\u002Freferences\u002Fworked-examples.md",{"path":143,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":144,"sourceHtmlUrl":145},"skill.usf.yaml",4524,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Felasticache-cluster-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",[],[]]