amazon-elasticache

Provisions, configures, monitors, and migrates Amazon ElastiCache clusters for Redis, Valkey, and Memcached workloads.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/sakicodes/BuildFestHackathon26 --skill amazon-elasticache-sakicodes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: amazon-elasticache
Source: https://github.com/sakicodes/BuildFestHackathon26/tree/main/.agents/skills/amazon-elasticache
Command: npx skills add https://github.com/sakicodes/BuildFestHackathon26 --skill amazon-elasticache-sakicodes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires boto3, valkey, and includes scripts (resource) and references (resource) components.

What problem does it solve? Developers facing slow API responses, database read bottlenecks, DynamoDB throttling, or Bedrock latency often lack a clear path to adding a managed cache. This Skill routes caching requests through a registry of sub-skills covering the full ElastiCache lifecycle, from deciding whether ElastiCache fits a workload to provisioning, data modeling, GenAI vector search, monitoring, and migration. ## Core Features & Use Cases - Solution Fit and Provisioning: Gathers workload requirements, selects engine (Valkey, Redis OSS, Memcached) and deployment model (serverless vs node-based), and generates CLI, SDK, CloudFormation, CDK, or Terraform configurations with VPC, TLS, RBAC, and IAM auth. - Application Patterns and GenAI: Implements cache-aside, session stores, rate limiting, leaderboards, pub/sub, and vector similarity search for semantic caching, RAG, agent memory, and recommendation workloads. - Operations and Migration: Generates CloudWatch dashboards and alarms, estimates serverless ECPU costs, runs migration preflight checks against source Redis instances, and sequences cutover from self-managed Redis. - Use Case: A team with an RDS-backed API experiencing read bottlenecks asks for help; the Skill evaluates fit, provisions a Valkey serverless cache with correct security groups, provides cache-aside client code, and deploys hit-rate and latency alarms. ## Quick Start Ask the assistant to help you set up an ElastiCache cache to reduce database load on your application.

Frequently Asked Questions about amazon-elasticache

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an ElastiCache cluster with Terraform or CloudFormation?

The setup sub-skill generates IaC starters for CloudFormation, CDK, and Terraform covering engine selection, VPC placement, security groups, TLS, and RBAC or IAM authentication. It validates inputs with scripts/input_validator.py before any create command and applies mandatory resource tags.

Should I use ElastiCache serverless or node-based clusters?

Serverless deploys in under a minute and removes infrastructure management, but node-based is required for vector search, Global Datastore, and online migration targets. The requirements sub-skill evaluates your workload's latency, persistence, and budget needs to recommend a deployment model.

Does ElastiCache support vector search for RAG applications?

Yes, vector search is available on node-based Valkey 8.2 or above, with Valkey 9.0 recommended for new clusters. Serverless caches do not support vector search, so the Skill forces node-based selection whenever server-side vector similarity is required.

How do I migrate from self-managed Redis to ElastiCache?

Run scripts/migration_preflight.py against your source instance to check engine version, module compatibility, key counts, and restricted command usage. Online migration requires AUTH disabled, protected-mode off, matching shard counts, and a node-based target; serverless targets are not supported.

Why can't I connect to ElastiCache from my local laptop?

ElastiCache is VPC-centric and not publicly accessible by default. Use scripts/find_tunnel_host.py to locate an SSM-managed EC2 instance in the VPC, then start a port-forwarding tunnel; serverless caches also require tunneling port 6380 with TLS and SNI.

How do I estimate ElastiCache serverless costs?

Collect INFO memory and commandstats output with scripts/collect_metrics.sh, then use the command classifier to estimate ECPUs: simple commands cost 1 ECPU per KB transferred, while complex commands cost the higher of vCPU time or data transferred. CloudWatch ECPU metrics provide exact billing data.