# Amazon ElastiCache User Guide > Amazon ElastiCache is a web service that makes it easy to set up, manage, and scale a distributed in-memory data store or cache in the cloud. - [Quotas](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/quota-limits.md) - [ElastiCache Documentation history](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WhatsNew.md) - [AWS Glossary](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/glossary.md) ## [What is ElastiCache?](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WhatIs.md) - [Related services](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/related-services-choose-between-memorydb-and-redis.md): MemoryDB ### [How it works](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WhatIs.corecomponents.md) Here you can find an overview of the major components of an ElastiCache deployment. - [Choosing between deployment options](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WhatIs.deployment.md): Amazon ElastiCache has two deployment options: - [ElastiCache resources](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WhatIs.FirstTimeUser.md): We recommend that first time users begin by reading the following sections, and refer to them as needed. - [AWS Regions and Availability Zones](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WhatIs.AZs.md): Amazon cloud computing resources are housed in highly available data center facilities in different areas of the world (for example, North America, Europe, or Asia). ### [Use Cases](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/elasticache-use-cases.md) Work with common ElastiCache use cases. ### [Semantic caching](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/semantic-caching.md) Learn how to implement a semantic cache using vector search on Amazon ElastiCache for Valkey to reduce cost and latency in generative AI applications. - [Overview of semantic caching](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/semantic-caching-overview.md): Unlike traditional caches that rely on exact string matches, a semantic cache retrieves data based on semantic similarity. - [Why ElastiCache for Valkey for semantic caching](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/semantic-caching-why-elasticache.md): Semantic caching workloads continuously write, search, and evict cache entries to serve the stream of incoming user queries while keeping responses fresh. - [Solution architecture](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/semantic-caching-architecture.md): The following architecture implements a read-through semantic cache for an agent on Amazon Bedrock AgentCore. - [Prerequisites](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/semantic-caching-prerequisites.md): To implement semantic caching with ElastiCache for Valkey, you need: - [Implementing a semantic cache with ElastiCache for Valkey](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/semantic-caching-implementation.md): The following walkthrough shows how to implement a read-through semantic cache using ElastiCache for Valkey with Amazon Bedrock. - [Impact and benchmarks](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/semantic-caching-benchmarks.md): AWS evaluated the approach on 63,796 real user chatbot queries and their paraphrased variants from the public SemBenchmarkLmArena dataset. - [Multi-turn conversation caching](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/semantic-caching-multi-turn.md): For applications with multi-turn conversations, the same user message can mean different things depending on context. - [Best practices](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/semantic-caching-best-practices.md) - [Related resources](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/semantic-caching-related-resources.md) ### [Agentic memory](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agentic-memory.md) Learn how to use Amazon ElastiCache for Valkey as the storage layer for agentic memory, enabling AI agents to store, retrieve, and manage persistent memory across sessions. - [Overview of agentic memory](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agentic-memory-overview.md): An agentic AI application is a system that takes actions and makes decisions based on input. - [Types of agentic memory](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agentic-memory-types.md) - [Why ElastiCache for Valkey for agentic memory](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agentic-memory-why-elasticache.md): ElastiCache for Valkey provides several capabilities that make it well suited as the storage layer for agentic memory: - [Solution architecture](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agentic-memory-architecture.md): The following architecture implements persistent memory for agentic AI applications using ElastiCache for Valkey as the vector storage component. - [Prerequisites](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agentic-memory-prerequisites.md): To implement agentic memory with ElastiCache for Valkey, you need: - [Setting up ElastiCache for Valkey as a vector store for agentic memory](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agentic-memory-setup.md): The following walkthrough shows how to build a memory-enabled AI agent using Mem0 with ElastiCache for Valkey as the vector store. - [Performance benefits](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agentic-memory-performance.md): The following table summarizes the performance improvements observed in testing with a memory-enabled agent versus a stateless agent: - [Best practices](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agentic-memory-best-practices.md) - [Related resources](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agentic-memory-related-resources.md) ## [Getting started with ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/GettingStarted.md) - [Setting up ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/set-up.md): Set up a cache for ElastiCache. ### [Create a Valkey serverless cache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/GettingStarted.serverless-valkey.step1.md) Create a Valkey serverless cache - [Read and write data](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/GettingStarted.serverless-valkey.step2.md): Read and write data to the cache - [Clean up](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/GettingStarted.serverless-valkey.step3.md): As long as a cache is in the available state, you are being charged for it, whether or not you are actively using it. - [Next Steps](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/GettingStarted.serverless-valkey.next-steps.md): For more information about ElastiCache see the following pages: ### [Create a Redis OSS serverless cache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/GettingStarted.serverless-redis.step1.md) Create a Redis OSS serverless cache - [Read and write data](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/GettingStarted.serverless-redis.step2.md): Read and write data to the cache - [Clean up](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/GettingStarted.serverless-redis.step3.md): As long as a cache is in the available state, you are being charged for it, whether or not you are actively using it. - [Next Steps](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/GettingStarted.serverless-redis.next-steps.md): For more information about ElastiCache see the following pages: ### [Create a Memcached serverless cache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/create-serverless-cache-mem.md) AWS Management Console - [Read and write data](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/read-write-cache-mem.md): Read and write data - [Clean up](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/read-write-cleanup-mem.md): As long as a cache is in the available state, you are being charged for it, whether or not you are actively using it. - [Next Steps](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/next-steps-mem.md): Next steps and further information - [Network type for serverless caches](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/serverless-network-type.md): Choose a network type when creating an Amazon ElastiCache serverless cache. ### [Tutorials: Getting started with Python and ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ElastiCache-Getting-Started-Tutorials.md) Provides tutorials on how to use the programming language Python with ElastiCache. - [Python and ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ElastiCache-Getting-Started-Tutorials-Python.md): Discusses Python and ElastiCache for Redis OSS; - [Tutorial: Configuring Lambda to access ElastiCache in a VPC](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/LambdaRedis.md): Configuring Lambda to access Amazon ElastiCache in an Amazon VPC. ## [Agent tools](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AgentTools.md) ### [ElastiCache agent skills](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agent-tools-skills.md) Learn how to install and use the ElastiCache skill from the AWS Agent Toolkit to help AI coding agents evaluate, create, connect to, and operate ElastiCache workloads. - [Getting started with ElastiCache skill](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agent-tools-skills-getting-started.md): Install the ElastiCache skill using the following command: - [How the ElastiCache skill works](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agent-tools-skills-how-it-works.md): The ElastiCache skill routes your request to the appropriate workflow area based on your intent. - [Guardrails and tracking usage](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agent-tools-skills-safety.md): The ElastiCache skill includes safety guidance for high-impact operations so agents do not treat destructive or disruptive changes as routine setup steps. ### [Valkey MCP Server](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agent-tools-valkey-mcp.md) Learn how to install and use the Valkey MCP server to give AI coding agents direct access to Valkey operations for inspecting data, executing commands, and working with common Valkey data structures. - [Getting started with Valkey MCP](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agent-tools-valkey-mcp-getting-started.md) - [How Valkey MCP Server works](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agent-tools-valkey-mcp-how-it-works.md): The Valkey MCP server gives your agent a set of structured tools for working with the configured Valkey datastore. - [Guardrails and tracking usage](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/agent-tools-valkey-mcp-safety.md): The Valkey MCP server uses a risk-tiered execution model that separates read, write, and administrative operations. ## [Creating and managing a node-based ElastiCache cluster](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/designing-elasticache-cluster.md) - [Components and features](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WhatIs.Components.md): Learn ElastiCache concepts and terminology, including definitions of nodes, clusters, security configuration, and Valkey and Redis OSS replication groups. - [ElastiCache terminology](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WhatIs.Terms.md): Amazon ElastiCache supports partitioning your data across up to 500 shards (called node groups in the ElastiCache API and AWS CLI). ### [Tutorial: How to create a node-based ElastiCache cluster](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SubnetGroups.designing-cluster-pre.md) Here is how to create a node-based ElastiCache cluster for Valkey, Memcached and Redis OSS. - [Creating a node-based ElastiCache cluster for Valkey](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SubnetGroups.designing-cluster-pre.valkey.md): Following are the one-time actions you must take to create a node-based ElastiCache cluster for Valkey. - [Creating a node-based ElastiCache cluster for Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SubnetGroups.designing-cluster-pre.redis.md): Following are the one-time actions you must take in order to create a node-based ElastiCache cluster for Redis OSS. - [Deleting a cluster](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.Delete-gs.redis.md): As long as a cluster is in the available state, you are being charged for it, whether or not you are actively using it. - [Other tutorials and videos](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Tutorials.md): Additional tutorials showing key scenarios for ElastiCache and using ElastiCache with other AWS services. ### [Managing nodes in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.md) Identifies common customer issues relating to managing nodes in ElastiCache, and provides guidance on how to avoid these issues. - [Viewing ElastiCache Node Status](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Nodes.viewing.md): View your node status. - [Valkey or Redis OSS nodes and shards](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.NodeGroups.md): A shard (in the API and CLI, a node group) is a hierarchical arrangement of nodes, each wrapped in a cluster. - [Connecting to nodes](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/nodes-connecting.md) - [Supported node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SupportedTypes.md): ElastiCache supports the following node types. - [Rebooting nodes](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/nodes.rebooting.md): Some changes require that a Valkey, Memcached, or Redis OSS cluster reboot for the changes to be applied. - [Replacing nodes (Valkey and Redis OSS)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.NodeReplacement.md): Amazon ElastiCache frequently upgrades its fleet with patches and upgrades being applied to instances seamlessly. - [Replacing nodes (Memcached)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.NodeReplacement-mc.md): Amazon ElastiCache for Memcached frequently upgrades its fleet with patches and upgrades being applied to instances seamlessly. - [Reserved nodes](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.Reserved.md): How to reserve ElastiCache nodes to help reduce costs. - [Migrating previous generation nodes](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.NodeMigration.md): Previous generation nodes are node types that are being phased out. ### [Managing clusters in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.md) Define and perform cluster management operations in ElastiCache. - [Choosing a network type in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/network-type.md): Choose a network type in ElastiCache. ### [Auto Discovery (Memcached)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoDiscovery.md) Identify all of the nodes in a Memcached cluster automatically, and initiate and maintain connections to all of these nodes using Auto Discovery. - [Benefits of Auto Discovery with Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoDiscovery.Benefits.md): Benefits of using automatic discovery with your Amazon ElastiCache for Memcached clusters. - [How Auto Discovery Works](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoDiscovery.HowAutoDiscoveryWorks.md): Describes the architecture of how client application manage cache node connections and interact with cache data items with Auto Discovery. ### [Using Auto Discovery](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoDiscovery.Using.md) To begin using Auto Discovery with ElastiCache for Memcached, follow these steps: - [Using the ElastiCache Cluster Client for Java](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoDiscovery.Using.ModifyApp.Java.md): The program below demonstrates how to use the ElastiCache Cluster Client to connect to a cluster configuration endpoint and add a data item to the cache. - [Using the ElastiCache Cluster Client for PHP](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoDiscovery.Using.ModifyApp.PHP.md): The program below demonstrates how to use the ElastiCache Cluster Client to connect to a cluster configuration endpoint and add a data item to the cache. - [Using the ElastiCache Cluster Client for .NET](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoDiscovery.Using.ModifyApp.DotNET.md) - [Connecting to Memcached Cache Nodes Manually](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoDiscovery.Manual.md): Connect manually to each of the cache nodes which is the default behavior for Memcached clients. - [Adding Auto Discovery to your Memcached client library](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoDiscovery.AddingToYourClientLibrary.md): Configure your client library to add Auto Discovery in each Memcached cluster node. ### [Auto discovery clients](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clients.md) How to use ElastiCache clients with auto discovery. ### [Installing & compiling clients](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Appendix.InstallingClients.md) Install, update, and remove components for the ElastiCache Cluster Client. - [Installing the .NET cluster client](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Appendix.DotNETAutoDiscoverySetup.md): How to set up and install the ElastiCache cluster client for .NET. ### [Installing the PHP cluster client](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Appendix.PHPAutoDiscoverySetup.md) Install, update, and remove the PHP components for the ElastiCache Cluster Client. - [Downloading the installation package](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Appendix.PHPAutoDiscoverySetup.Downloading.md): To ensure that you use the correct version of the ElastiCache Cluster Client for PHP, you will need to know what version of PHP is installed on your Amazon EC2 instance. - [Installation steps for new users](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Appendix.PHPAutoDiscoverySetup.Installing.md) - [Removing the PHP cluster client](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Appendix.PHPAutoDiscoverySetup.Removing.md) - [Compiling the source code for the PHP cluster client](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Appendix.PHPAutoDiscoveryCompile.md): How to compile the source code for the PHP cluster client. ### [Configuring clients](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ClientConfig.md) Configure your ElastiCache cluster clients depending on whether you used the Memcached or Redis cache engine when you created the cluster. - [Restricted commands](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ClientConfig.RestrictedCommands.md): To deliver a managed service experience, ElastiCache restricts access to certain cache engine-specific commands that require advanced privileges. - [Finding node endpoints and port numbers](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ClientConfig.FindingEndpointsAndPorts.md): To connect to a cache node, your application needs to know the endpoint and port number for that node. - [Connecting for using auto discovery](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ClientConfig.AutoDiscovery.md): If your applications use Auto Discovery, you only need to know the configuration endpoint for the cluster, rather than the individual endpoints for each cache node. - [Connecting to nodes in a Valkey or Redis OSS cluster](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ClientConfig.ReplicationGroup.md) - [DNS names and underlying IP](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ClientConfig.DNS.md): Clients maintain a server list containing the addresses and ports of the servers holding the cache data. - [Data tiering in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/data-tiering.md): Using data tiering and replication groups with ElastiCache. ### [Preparing a cluster in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.Prepare.md) Following, you can find instructions on creating a cluster using the ElastiCache console, the AWS CLI, or the ElastiCache API. - [Determining your ElastiCache cluster requirements](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/cluster-create-determine-requirements.md): Before creating a cluster, determine your requirements for the cluster: memory, engine, scaling, automatic failover, access, and AWS Region. - [Choosing your node size](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheNodes.SelectSize.md): Considerations for selecting your node size, including impact on costs, performance, and fault tolerance. - [Creating a cluster for Valkey or Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.Create.md): The following examples show how to create a Valkey or Redis OSS cluster using the AWS Management Console, AWS CLI and ElastiCache API. - [Creating a cluster for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.Create-mc.md): The following examples show how to create a cluster using the AWS Management Console, AWS CLI and ElastiCache API. - [Viewing an ElastiCache cluster's details](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.ViewDetails.md): You can view detail information about one or more clusters using the ElastiCache console, AWS CLI, or ElastiCache API. - [Modifying an ElastiCache cluster](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.Modify.md): In addition to adding or removing nodes from an ElastiCache cluster, there can be times where you need to make other changes such as adding a security group, changing the maintenance window or a parameter group. - [Adding nodes to an ElastiCache cluster](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.AddNode.md): Adding nodes to a Memcached cluster increases the number of your cluster's partitions. - [Removing nodes from an ElastiCache cluster](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.DeleteNode.md): You can delete a node from a Valkey, Memcached, or Redis OSS cluster using the AWS Management Console, the AWS CLI, or the ElastiCache API. - [Canceling pending add or delete node operations in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.CancelPending.md): If you elected to not apply an ElastiCache cluster change immediately, the operation has pending status until it is performed at your next maintenance window. - [Deleting a cluster in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.Delete.md): As long as an ElastiCache cluster is in the available state, you are being charged for it, whether or not you are actively using it. - [Accessing your ElastiCache cluster or replication group](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/accessing-elasticache.md): Access Amazon ElastiCache instances. - [Finding connection endpoints in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Endpoints.md): Discusses connection endpoints in ElastiCache, how to find them and how to use them. - [Shards in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Shards.md): How to use shards with ElastiCache - [Comparing node-based Valkey, Memcached, and Redis OSS clusters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SelectEngine.md): Select the better engine for your application's node-based cluster—Valkey, Memcached, or Redis OSS. ### [Online Migration for Valkey or Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/OnlineMigration.md) Use Online migration to migrate your data from self-hosted Valkey or Redis OSS to Amazon ElastiCache. - [Preparing your source and target for migration](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Migration-Prepare.md): With these steps you can prepare to migrate your data from a self-hosted Valkey or Redis source on EC2 to ElastiCache. - [Testing the data migration](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Migration-Test.md): After all prerequisites are complete, you can validate migration setup using the AWS Management Console, ElastiCache API, or AWS CLI. - [Starting migration](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Migration-Initiate.md): After all prerequisites are complete, you can begin data migration using the AWS Management Console, ElastiCache API, or AWS CLI. - [Verifying the data migration progress](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Migration-Verify.md): After the data migration has begun, you can do the following to track its progress: - [Completing the data migration](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Migration-Complete.md): When you are ready to cut over to the ElastiCache cluster, use the complete-migration CLI command with the following parameters: - [Performing online data migration using the Console](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Migration-Console.md): You can use the AWS Management Console to migrate your data from your cluster to your Valkey or Redis OSS cluster. ### [Choosing regions and availability zones for ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/RegionsAndAZs.md) Provide additional scalability and reliability to your clusters by designating the regions and Availability Zones using the corresponding endpoint. - [Using Local zones with ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Local_zones.md): Use Local Zones with ElastiCache. - [Using Outposts with ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ElastiCache-Outposts.md): How to use AWS Outposts with ElastiCache. ## [Working with ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WorkingWithElastiCache.md) ### [Snapshot and restore](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/backups.md) Create automatic or manual backups of your Valkey cache, Redis OSS cache, or Serverless Memcached cache for backup and restore purposes. - [Scheduling automatic backups](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/backups-automatic.md): You can enable automatic backups for any Valkey or Redis OSS serverless cache or node-based cluster. - [Taking manual backups](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/backups-manual.md): In addition to automatic backups, you can create a manual backup at any time. - [Creating a final backup](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/backups-final.md): You can create a final backup using the ElastiCache console, the AWS CLI, or the ElastiCache API. - [Describing backups](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/backups-describing.md): The following procedures show you how to display a list of your backups. - [Copying backups](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/backups-copying.md): You can create a copy of any backup, whether it was created automatically or manually. - [Exporting a backup](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/backups-exporting.md): Amazon ElastiCache supports exporting your ElastiCache for Redis OSS backup to an Amazon Simple Storage Service (Amazon S3) bucket, which gives you access to it from outside ElastiCache. - [Restoring from a backup](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/backups-restoring.md): You can restore an existing backup from Valkey into a new Valkey cache or node-based cluster, and restore an existing Redis OSS backup into a new Redis OSS cache or node-based cluster. - [Deleting a backup](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/backups-deleting.md): An automatic backup is automatically deleted when its retention limit expires. - [Tagging backups](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/backups-tagging.md): You can assign your own metadata to each backup in the form of tags. - [Tutorial: Seeding a node-based cluster with a backup](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/backups-seeding-redis.md): When you create a new Valkey or Redis OSS node-based cluster, you can seed it with data from a Valkey or Redis OSS .rdb backup file. ### [Engine versions and upgrading in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/engine-versions.md) This section covers the supported Valkey, Memcached, and Redis OSS engines and how to upgrade. - [Upgrading engine versions](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VersionManagement.HowTo.md): Valkey and Redis OSS ### [Extended Support](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/extended-support.md) Learn about ElastiCache Extended Support and how to continue to use engine versions past the Aurora end of standard support dates. - [Extended Support charges](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/extended-support-charges.md): Learn about charges associated with ElastiCache Extended Support. - [Versions with Extended Support](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/extended-support-versions.md): Learn which engine versions support ElastiCache Extended Support. - [Responsibilities with Extended Support](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/extended-support-responsibilities.md): Learn about customer responsibilities with ElastiCache Extended Support. - [Version Management for ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VersionManagement.md): Manage if and when the ElastiCache Serverless cache is upgraded and perform version upgrades on your own terms and timelines. - [Major version behavior and compatibility differences for Valkey](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VersionManagementConsiderations-valkey.md): This section describes potentially breaking behavior changes introduced in each major Valkey version. - [Major engine version behavior and compatibility differences with Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VersionManagementConsiderations.md): Options to consider if and when the Redis OSS cache engine software is upgraded and perform version upgrades on your own terms and timelines. - [Upgrade considerations when working with node-based clusters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VersionManagement-upgrade-considerations.md): Upgrade considerations ### [Best practices and caching strategies](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.md) Identifies common customer issues and provides guidance on how to avoid these issues. - [Overall best practices](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WorkingWithRedis.md): Below you can find information about best practices for using the Valkey, Memcached, and Redis OSS interfaces within ElastiCache. - [Best Practices for using Read Replicas](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ReadReplicas.md): How to use read replicas with Amazon ElastiCache serverless caches and node-based clusters to significantly improve performance. - [Supported and restricted Valkey, Memcached, and Redis OSS commands](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SupportedCommands.md) - [Valkey and Redis OSS configuration and limits](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/RedisConfiguration.md): The Valkey and Redis OSS engines each provides a number of configuration parameters, some of which are modifiable in ElastiCache for Redis OSS and some of which are not modifiable to provide stable performance and reliability. - [IPv6 client examples for Valkey, Memcached, and Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/network-type-best-practices.md): IPv6 Client Examples ### [Best practices for clients (Valkey and Redis OSS)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients.redis.md) Learn best practices for common scenarios and follow along with code examples of some of the most popular open source Valkey and Redis OSS client libraries (redis-py, PHPRedis, and Lettuce), as well as best practices for interacting with ElastiCache resources with commonly used open-source Memcached client libraries. - [Large number of connections (Valkey and Redis OSS)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients.Redis.Connections.md): Serverless caches and individual ElastiCache for Redis OSS nodes support up to 65,000 concurrent client connections. - [Cluster client discovery and exponential backoff (Valkey and Redis OSS)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients.Redis.Discovery.md): When connecting to an ElastiCache Valkey or Redis OSS cluster in cluster mode enabled, the corresponding client library must be cluster aware. - [Configure a client-side timeout (Valkey and Redis OSS)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients.Redis.ClientTimeout.md): Configuring the client-side timeout - [Configure a server-side idle timeout (Valkey and Redis OSS)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients.Redis.ServerTimeout.md): We have observed cases when a customer's application has a high number of idle clients connected, but isn't actively sending commands. - [Lua scripts](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients.Redis.LuaScripts.md): Valkey and Redis OSS supports more than 200 commands, including those to run Lua scripts. - [Storing large composite items (Valkey and Redis OSS)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients.Redis.LargeItems.md): In some scenarios, an application may store large composite items in Valkey or Redis OSS (such as a multi-GB hash dataset). ### [Lettuce client configuration (Valkey and Redis OSS)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients-lettuce.md) This section describes the recommended Java and Lettuce configuration options, and how they apply to ElastiCache clusters. - [Example: Lettuce config for cluster mode, TLS enabled](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients-lettuce-cme.md) - [Example: Lettuce config for cluster mode disabled, TLS enabled](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients-lettuce-cmd.md) - [Distributing reads to replicas (cluster mode disabled)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients-lettuce-cmd-readfrom.md): For cluster mode disabled clusters with replicas, you can use Lettuce's StaticMasterReplicaTopologyProvider with the ReadFrom setting to direct writes to the primary node and distribute reads across replicas. ### [Best practices for clients (Memcached)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.Clients.memcached.md) Learn best practices for common scenarios with ElastiCache for Memcached clusters. - [Configuring your ElastiCache client for efficient load balancing (Memcached)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.LoadBalancing.md) - [Validated clients with Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/network-type-validated-clients-memcached.md): Validated clients - [Configuring a preferred protocol for dual stack clusters (Memcached)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/network-type-configuring-dual-stack-memcached.md): Configuring a preferred protocol for dual stack clusters - [Managing reserved memory for Valkey and Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/redis-memory-management.md): Manage reserved memory for Valkey and Redis OSS ### [Best practices when working with Valkey and Redis OSS node-based clusters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.SelfDesigned.md) Multi-AZ use, having sufficient memory, cluster resizing and minimizing downtime are all useful concepts to keep in mind when working with node-based clusters in Valkey or Redis OSS. - [Minimizing downtime with Multi-AZ](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/multi-az.md): There are a number of instances where ElastiCache Valkey or Redis OSS may need to replace a primary node; these include certain types of planned maintenance and the unlikely event of a primary node or Availability Zone failure. - [Ensuring you have enough memory to make a Valkey or Redis OSS snapshot](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.BGSAVE.md) - [Online cluster resizing](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/best-practices-online-resharding.md): Resharding involves adding and removing shards or nodes to your cluster and redistributing key spaces. - [Minimizing downtime during maintenance](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BestPractices.MinimizeDowntime.md): Cluster mode configuration has the best availability during managed or unmanaged operations. - [Caching database query results](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/caching-database-query-results.md): Learn how to use query caching with Amazon ElastiCache to reduce database query latencies. - [Caching strategies for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Strategies.md): Strategies for populating and maintaining your cache. - [E-commerce caching](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ecommerce-caching-valkey.md): Configure an ElastiCache cluster running Valkey as an application-level cache for product catalogs, inventory, and session data in marketplace and e-commerce workloads. ### [Durability](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/durability.md) Describes durability options for ElastiCache for Valkey, including synchronous and asynchronous writes with Multi-AZ transactional log protection. - [Durability options](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Durability.Options.md): Describes the synchronous and asynchronous durability options available in ElastiCache for Valkey. - [Configuring durability](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Durability.Configuring.md): Describes how to configure durability options when creating or modifying an ElastiCache cluster. - [Consistency](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Durability.Consistency.md): Describes the consistency guarantees for synchronous and asynchronous durability options. - [Failure scenarios](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Durability.FailureScenarios.md): Describes how ElastiCache durability handles various failure scenarios. - [Limitations](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Durability.Limitations.md): Lists the limitations and requirements for ElastiCache durability. - [Monitoring](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Durability.Monitoring.md): Describes CloudWatch metrics available for monitoring ElastiCache durable clusters. - [Getting started with durability](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Durability.GettingStarted.md): Describes how to create and configure a durable ElastiCache cluster using the console or CLI. ### [Managing your node-based cluster in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/manage-self-designed-cluster.md) Provides guidance for managing your node-based cluster in ElastiCache ### [Auto Scaling Valkey and Redis OSS clusters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling.md) How to autoscale your cluster—out or in, or up or down. - [Auto Scaling policies](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Policies.md): Auto Scaling policies overview ### [Using Auto Scaling with shards](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Using-Shards.md) Using Auto Scaling - [Target tracking scaling policies](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Scaling-Policies-Target.md): Target tracking scaling policies - [Adding a scaling policy](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Scaling-Adding-Policy-Shards.md): Adding a scaling policy - [Registering a Scalable Target](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Scaling-Registering-Policy-CLI.md): Registering Scalable Target - [Defining a scaling policy](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Scaling-Defining-Policy-API.md): Defining a scaling policy - [Disabling scale-in activity](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Scaling-Disabling-Scale-in.md): Disabling scale-in activity - [Applying a scaling policy](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Scaling-Applying-a-Scaling-Policy.md): Applying a scaling policy to an ElastiCache cluster using the AWS CLI - [Editing a scaling policy](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Scaling-Editing-a-Scaling-Policy.md): Editing a scaling policy - [Deleting a scaling policy](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Scaling-Deleting-a-Scaling-Policy.md): Deleting a scaling policy - [Use CloudFormation for Auto Scaling policies](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-with-Cloudformation-Shards.md): Use CloudFormation for Auto Scaling policies - [Scheduled scaling](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-with-Scheduled-Scaling-Shards.md): Scheduled scaling ### [Using Auto Scaling with replicas](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Using-Replicas.md) Using Auto Scaling with replicas - [Target tracking scaling policies](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Scaling-Policies-Replicas-Replicas.md): Target tracking scaling policies - [Adding a scaling policy](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Adding-Policy-Replicas.md): Adding and registering scaling policy - [Registering a Scalable Target](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Register-Policy.md): registering scaling policy ### [Defining a scaling policy](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Defining-Policy.md) Defining a scaling policy - [Editing a scaling policy](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Editing-Policy.md): Editing a scaling policy - [Deleting a scaling policy](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-Deleting-Policy.md): Deleting a scaling policy - [Use CloudFormation for Auto Scaling policies](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-with-Cloudformation.md): Use CloudFormation for Auto Scaling policies - [Scheduled scaling](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoScaling-with-Scheduled-Scaling-Replicas.md): Scheduled scaling - [Modifying cluster mode](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/modify-cluster-mode.md): Provides guidance for modifying cluster mode ### [Replication across AWS Regions using global datastores](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Redis-Global-Datastore.md) Replicate data across AWS Regions using the Global Datastore feature in Amazon ElastiCache. - [Prerequisites and limitations](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Redis-Global-Datastores-Getting-Started.md): Before getting started with global datastores, be aware of the following: - [Using global datastores (console)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Redis-Global-Datastores-Console.md): To create a global datastore using the console, follow this two-step process: - [Using global datastores (CLI)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Redis-Global-Datastores-CLI.md): You can use the AWS Command Line Interface (AWS CLI) to control multiple AWS services from the command line and automate them through scripts. ### [High availability using replication groups](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.md) Create a replication group to enhance scalability and guard against data loss if your cluster is running Valkey or Redis OSS. - [Understanding Valkey and Redis OSS replication](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.Redis.Groups.md) - [Replication: Valkey and Redis OSS Cluster Mode Disabled vs. Enabled](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.Redis-RedisCluster.md): With Valkey and Redis OSS, you have the ability to create one of two distinct types of clusters (API/CLI: replication groups). - [Minimizing downtime with Multi-AZ](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/AutoFailover.md): Minimize downtime in ElastiCache by using Multi-AZ with Valkey and Redis OSS. ### [Creating a replication group](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.CreatingRepGroup.md) You have the following options for creating a cluster with replica nodes. - [Creating a replication group using an existing cluster](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.CreatingReplGroup.ExistingCluster.md): The following procedure adds a replication group to your Valkey or Redis OSS (cluster mode disabled) single-node cluster, which is necessary in order to upgrade your cluster to the latest version of Valkey. ### [Creating a Valkey or Redis OSS replication group from scratch](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.CreatingReplGroup.NoExistingCluster.md) Following, you can find how to create a Valkey or Redis OSS replication group without using an existing Valkey or Redis OSS cluster as the primary. - [Creating a Valkey or Redis OSS (Cluster Mode Disabled) replication group from scratch](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.CreatingReplGroup.NoExistingCluster.Classic.md): You can create a Valkey or Redis OSS (cluster mode disabled) replication group from scratch using the ElastiCache console, the AWS CLI, or the ElastiCache API. - [Creating a replication group in Valkey or Redis OSS (Cluster Mode Enabled) from scratch](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.CreatingReplGroup.NoExistingCluster.Cluster.md): You can create a Valkey or Redis OSS (cluster mode enabled) cluster (API/CLI: replication group) using the ElastiCache console, the AWS CLI, or the ElastiCache API. ### [Viewing a replication group's details](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.ViewDetails.md) There are times you may want to view the details of a replication group. - [Viewing a Valkey or Redis OSS (Cluster Mode Disabled) with replicas](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.ViewDetails.Redis.md): You can view the details of a Valkey or Redis OSS (cluster mode disabled) cluster with replicas (API/CLI: replication group) using the ElastiCache console, the AWS CLI for ElastiCache, or the ElastiCache API. - [Viewing a replication group: Valkey or Redis OSS (Cluster Mode Enabled)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.ViewDetails.RedisCluster.md) - [Viewing a replication group's details (AWS CLI)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.ViewDetails.CLI.md): You can view the details for a replication group using the AWS CLI describe-replication-groups command. - [Viewing a replication group's details (ElastiCache API)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.ViewDetails.API.md): You can view the details for a replication using the AWS CLI DescribeReplicationGroups operation. - [Finding replication group endpoints](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.Endpoints.md): An application can connect to any node in a replication group, provided that it has the DNS endpoint and port number for that node. - [Modifying a replication group](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.Modify.md) - [Deleting a replication group](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.DeletingRepGroup.md): If you no longer need one of your clusters with replicas (called replication groups in the API/CLI), you can delete it. ### [Changing the number of replicas](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/increase-decrease-replica-count.md) You can dynamically increase or decrease the number of read replicas in your Valkey or Redis OSS replication group using the AWS Management Console, the AWS CLI, or the ElastiCache API. - [Increasing the Number of Replicas](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/increase-replica-count.md): You can increase the number of replicas in a Valkey or Redis OSS (cluster mode enabled) shard or Valkey or Redis OSS (cluster mode disabled) replication group up to a maximum of five. - [Decreasing the Number of Replicas](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/decrease-replica-count.md): You can decrease the number of replicas in a shard for Valkey or Redis OSS (cluster mode enabled), or in a replication group for Valkey or Redis OSS (cluster mode disabled): - [Adding a read replica for Valkey or Redis OSS (Cluster Mode Disabled)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.AddReadReplica.md): Information in the following topic applies to Valkey or Redis OSS (cluster mode disabled) replication groups only. - [Deleting a read replica for Valkey or Redis OSS (Cluster Mode Disabled)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.RemoveReadReplica.md): Information in the following topic applies to Valkey or Redis OSS (cluster mode disabled) replication groups only. - [Promoting a read replica](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Replication.PromoteReplica.md): Information in the following topic applies to only Valkey or Redis OSS (cluster mode disabled) replication groups. - [Managing ElastiCache cluster maintenance](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/maintenance-window.md): Describes Amazon ElastiCache cluster maintenance windows and lists global default windows. ### [Configuring engine parameters using ElastiCache parameter groups](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.md) Identifies common customer issues with ElastiCache parameter groups, and provides guidance on how to avoid these issues. - [Parameter management in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.Management.md): ElastiCache parameters are grouped together into named parameter groups for easier parameter management. - [Parameter group tiers in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.Tiers.md): Amazon ElastiCache has three tiers of cache parameter groups as shown following. - [Creating an ElastiCache parameter group](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.Creating.md): You need to create a new parameter group if there is one or more parameter values that you want changed from the default values. - [Listing ElastiCache parameter groups by name](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.ListingGroups.md): You can list the parameter groups using the ElastiCache console, the AWS CLI, or the ElastiCache API. - [Listing an ElastiCache parameter group's values](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.ListingValues.md): You can list the parameters and their values for a parameter group using the ElastiCache console, the AWS CLI, or the ElastiCache API. - [Modifying an ElastiCache parameter group](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.Modifying.md) - [Deleting an ElastiCache parameter group](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.Deleting.md): You can delete a custom parameter group using the ElastiCache console, the AWS CLI, or the ElastiCache API. - [Engine specific parameters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ParameterGroups.Engine.md): Valkey and Redis OSS - [Connecting an EC2 instance and an ElastiCache cache automatically](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/compute-connection.md): Connect an EC2 instance and ElastiCache. ### [Scaling ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Scaling.md) How to scale your cache —out or in, or up or down. - [Considerations](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Scaling-considerations.md): Considerations for scaling ElastiCache clusters - [Scaling ElastiCache Serverless clusters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Scaling-serverless.md): How to scale your ElastiCache Serverless cache ### [Scaling node-based clusters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Scaling-self-designed.md) How to scale your ElastiCache node-based clusters - [On-demand scaling for Memcached clusters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Scaling-self-designed.mem-heading.md): How to scale your ElastiCache for Memcached clusters on demand - [Manual scaling for Memcached clusters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Scaling.Memcached.manually.md): Guidance on manually scaling your Memcached cluster both vertically and horizontally. - [Scaling for Valkey or Redis OSS (Cluster Mode Disabled) clusters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/scaling-redis-classic.md): Valkey or Redis OSS (cluster mode disabled) clusters can be a single-node cluster with 0 shards or multi-node clusters with 1 shard. - [Scaling replica nodes for Valkey or Redis OSS (Cluster Mode Disabled)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Scaling.RedisReplGrps.md): A Valkey or Redis OSS cluster with replica nodes (called replication group in the API/CLI) provides high availability via replication that has Multi-AZ with automatic failover enabled. ### [Scaling Valkey or Redis OSS (Cluster Mode Enabled) clusters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/scaling-redis-cluster-mode-enabled.md) As demand on your clusters changes, you might decide to improve performance or reduce costs by changing the number of shards in your Valkey or Redis OSS (cluster mode enabled) cluster. - [Online vertical scaling by modifying node type](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/redis-cluster-vertical-scaling.md): By using online vertical scaling with Valkey and Redis OSS, you can scale your Valkey or Redis OSS clusters dynamically with minimal downtime. - [Getting started with Bloom filters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/BloomFilters.md): How to use Bloom filters with ElastiCache - [Getting started with Watch in Serverless](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ServerlessWatch.md): How to use Watch in Serverless with ElastiCache ### [Getting started with Search](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/search.md) Learn how to use search with Amazon ElastiCache for Valkey including full-text, exact-match, numeric range, vector, and hybrid searches. - [Search features and limits](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/search-features-limits.md) - [Choosing the appropriate configuration](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/choosing-configuration.md): Within the console experience, ElastiCache offers an easy way to choose the right instance type based on the memory and cpu requirements of your search workload. - [Search write throttling](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Durability.SearchThrottling.md): Describes how ElastiCache throttles write commands targeting search-indexed keys in durable mode to maintain transactional log performance. - [Getting started with data aggregations](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/aggregations.md): Learn how to use aggregation queries with Amazon ElastiCache for Valkey to filter, group, transform, and summarize data stored in your cache. ### [Getting started with JSON for Valkey and Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-gs.md) Getting started with JSON - [JSON data type overview](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-document-overview.md): JSON data type overview ### [JSON commands](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-list-commands.md) Supported commands - [JSON.ARRAPPEND](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-arrappend.md): JSON.ARRAPPEND - [JSON.ARRINDEX](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-arrindex.md): JSON.ARRINDEX - [JSON.ARRINSERT](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-arrinsert.md): JSON.ARRINSERT - [JSON.ARRLEN](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-arrlen.md): JSON.ARRLEN - [JSON.ARRPOP](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-arrpop.md): JSON.ARRPOP - [JSON.ARRTRIM](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-arrtrim.md): JSON.ARRTRIM - [JSON.CLEAR](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-clear.md): JSON.CLEAR - [JSON.DEBUG](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-debug.md): JSON.DEBUG - [JSON.DEL](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-del.md): JSON.DEL - [JSON.FORGET](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-forget.md): JSON.FORGET - [JSON.GET](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-get.md): JSON.GET - [JSON.MGET](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-mget.md): JSON.MGET - [JSON.MSET](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-mset.md): JSON.MSET - [JSON.NUMINCRBY](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-numincrby.md): JSON.NUMINCRBY - [JSON.NUMMULTBY](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-nummultby.md): JSON.NUMMULTBY - [JSON.OBJLEN](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-objlen.md): JSON.OBJLEN - [JSON.OBJKEYS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-objkeys.md): JSON.OBJKEYS - [JSON.RESP](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-resp.md): JSON.RESP - [JSON.SET](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-set.md): JSON.SET - [JSON.STRAPPEND](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-strappend.md): JSON.STRAPPEND - [JSON.STRLEN](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-strlen.md): JSON.STRLEN - [JSON.TOGGLE](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-toggle.md): JSON.TOGGLE - [JSON.TYPE](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/json-type.md): JSON.TYPE ### [Tagging your ElastiCache resources](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Tagging-Resources.md) Organize and manage your ElastiCache resources using tags. - [Monitoring costs with tags](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Tagging.md): Monitoring costs with cost allocation tags. - [Managing tags using the AWS CLI](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Tagging.Managing.CLI.md): You can use the AWS CLI to add, modify, or remove cost allocation tags. - [Managing tags using the ElastiCache API](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Tagging.Managing.API.md): You can use the ElastiCache API to add, modify, or remove cost allocation tags. ### [Amazon ElastiCache Well-Architected Lens](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/WellArchitechtedLens.md) Using the Amazon ElastiCache Well-Architected Lens - [Operational Excellence Pillar](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/OperationalExcellencePillar.md): Amazon ElastiCache Well-Architected Lens Operational Excellence Pillar - [Security Pillar](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SecurityPillar.md): Amazon ElastiCache Well-Architected Lens Security Pillar - [Reliability Pillar](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ReliabilityPillar.md): Amazon ElastiCache Well-Architected Lens Reliability Pillar - [Performance Efficiency Pillar](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/PerformanceEfficiencyPillar.md): Amazon ElastiCache Well-Architected Lens Performance Efficiency Pillar - [Cost Optimization Pillar](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CostOptimizationPillar.md): Amazon ElastiCache Well-Architected Lens Cost Optimization Pillar ### [Troubleshooting in ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/wwe-troubleshooting.md) Common troubleshooting steps and best practices for ElastiCache serverless cache or node-based cluster. - [Persistent connection issues](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/TroubleshootingConnections.md): Additional troubleshooting steps for persistent connection issues ## [Security](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/security.md) ### [Data protection](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/data-protection.md) Learn how the AWS shared responsibility model applies to data protection in Amazon ElastiCache. ### [Data security in Amazon ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/encryption.md) Encrypt data with Amazon ElastiCache. ### [In-transit encryption (TLS)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/in-transit-encryption.md) Encrypt data in transit with Amazon ElastiCache. - [Enabling in-transit encryption](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/in-transit-encryption-enable.md): Implement in-transit encryption using the Amazon ElastiCache console, the AWS CLI, and the ElastiCache API. - [Connect to TLS-enabled Valkey or Redis OSS with valkey-cli](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/connect-tls.md): Shows how to connect to a TLS enabled Valkey or Redis OSS cache. - [Enabling in-transit encryption using Python](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/in-transit-encryption-enable-python.md): Implement in-transit encryption for a Redis OSS replication group using Python. - [Best practices when enabling in-transit encryption](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/enable-python-best-practices.md) - [At-Rest Encryption](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/at-rest-encryption.md): Encrypt data on disk during sync and backup operations with Amazon ElastiCache. ### [Authentication and Authorization](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth-redis.md) AWS Identity and Access Management (IAM) is a web service that helps you securely control access to AWS resources. ### [Role-Based Access Control (RBAC)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.RBAC.md) Use Role-Based Access Control (RBAC) Valkey or Redis OSS to protect access to your data in ElastiCache. - [Automatically rotating passwords for users](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/User-Secrets-Manager.md): Use Secrets Manager to rotate passwords for your user. - [Authenticating with IAM](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth-iam.md): How to authenticate with IAM. - [Authenticating with AUTH](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth.md): Use the Valkey and Redis OSS AUTH command to protect access to your data in Amazon ElastiCache. - [Migrating from AUTH to IAM](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/auth-to-iam-migration.md): Learn how to migrate your Amazon ElastiCache node-based cluster or serverless cache from password-based AUTH to IAM authentication without service interruption. - [Disabling access control on an ElastiCache Valkey or Redis OSS cache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/in-transit-encryption-disable.md): Follow the instructions below to disable access control on a Valkey or Redis OSS TLS-enabled cache. ### [Internetwork traffic privacy](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/internetwork-traffic-privacy.md) Identifies methods for controlling access to your ElastiCache resources. ### [Amazon VPCs and ElastiCache security](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VPCs.md) Because data security is important, ElastiCache provides means for you to control who has access to your data. - [Understanding ElastiCache and Amazon VPCs](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VPCs.EC.md): Manage software upgrades, patching, failure detection and recovery with ElastiCache whether your clusters are deployed inside or outside an Amazon VPC. - [Amazon VPC Access Patterns](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/elasticache-vpc-accessing.md): Access patterns for accessing an ElastiCache cache in a VPC. - [Creating a Virtual Private Cloud (VPC)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VPCs.CreatingVPC.md): Create a virtual private cloud with a private subnet for each Availability Zone. - [Connecting to a cache running in an Amazon VPC](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VPCs.Connecting.md): Launch an Amazon EC2 instance in your Amazon VPC and connect to a cache that is running in the Amazon VPC. - [ElastiCache API and interface VPC endpoints (AWS PrivateLink)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/elasticache-privatelink.md): You can establish a private connection between your VPC and Amazon ElastiCache API endpoints by creating an interface VPC endpoint. ### [Subnets and subnet groups](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SubnetGroups.md) Identifies methods for controlling access to your ElastiCache resources. - [Creating a subnet group](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SubnetGroups.Creating.md): A cache subnet group is a collection of subnets that you may want to designate for your caches in a VPC. - [Assigning a subnet group to a cache](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SubnetGroups.Assigning.md): After you have created a subnet group, you can launch a cache in an Amazon VPC. - [Modifying a subnet group](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SubnetGroups.Modifying.md): You can modify a subnet group's description, or modify the list of subnet IDs associated with the subnet group. - [IP address capacity for scaling operations](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SubnetGroups.IPCapacity.md): When you scale out a cluster by adding shards or replicas, Amazon ElastiCache provisions new nodes. - [Deleting a subnet group](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/SubnetGroups.Deleting.md): If you decide that you no longer need your subnet group, you can delete it. ### [Identity and Access Management](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/IAM.md) How to authenticate requests and manage access your ElastiCache resources. - [How Amazon ElastiCache works with IAM](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/security_iam_service-with-iam.md): Before you use IAM to manage access to ElastiCache, learn what IAM features are available to use with ElastiCache. - [Identity-based policy examples](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/security_iam_id-based-policy-examples.md): By default, users and roles don't have permission to create or modify ElastiCache resources. - [Troubleshooting](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/security_iam_troubleshoot.md): Use the following information to help you diagnose and fix common issues that you might encounter when working with ElastiCache and IAM. ### [Overview of managing access](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/IAM.Overview.md) Every AWS resource is owned by an AWS account, and permissions to create or access a resource are governed by permissions policies. - [AWS managed policies](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/security-iam-awsmanpol.md): Learn about AWS managed policies for ElastiCache and recent changes to those policies. - [Using identity-based policies (IAM policies)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/IAM.IdentityBasedPolicies.md): This topic provides examples of identity-based policies in which an account administrator can attach permissions policies to IAM identities (that is, users, groups, and roles). - [Resource-level permissions](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/IAM.ResourceLevelPermissions.md): You can restrict the scope of permissions by specifying resources in an IAM policy. - [Using condition keys](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/IAM.ConditionKeys.md): You can specify conditions that determine how an IAM policy takes effect. - [Using Service-Linked Roles](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/using-service-linked-roles.md): How to use service-linked roles to give Amazon ElastiCache access to resources in your AWS account. - [ElastiCache API permissions reference](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/IAM.APIReference.md): When you set up access control and write permissions policies to attach to an IAM policy (either identity-based or resource-based), use the following table as a reference. - [Compliance validation](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/elasticache-compliance.md): Learn what AWS services are in scope of a specific compliance program. - [Resilience](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/disaster-recovery-resiliency.md): Learn how AWS architecture supports data redundancy, and learn about specific Amazon ElastiCache features for data resiliency. - [Infrastructure security](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/infrastructure-security.md): Learn how AWS ElastiCache isolates service traffic. - [Service updates](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Self-Service-Updates.md): Use service updates to manage and control updates to your ElastiCache. - [Addressed security vulnerabilities](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/cve.md): Common Vulnerabilities and Exposures (CVE) is a list of entries for publicly known cybersecurity vulnerabilities. ## [Logging and monitoring](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/MonitoringECMetrics.md) - [Metrics and events for Valkey and Redis OSS serverless](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/serverless-metrics-events-redis.md): Metrics and events you can monitor when working with Valkey and Redis OSS serverless caches. - [Metrics and events for node-based Valkey and Redis OSS clusters](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/self-designed-metrics-events.valkey-and-redis.md): Configure Amazon ElastiCache to meet your security and compliance objectives, and learn how to use other AWS services that help you to secure your ElastiCache resources. - [Metrics and events for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/serverless-metrics-events.memcached.md): Metrics and events you can monitor when working with Memcached serverless and node-based clusters. - [Logging Amazon ElastiCache API calls with AWS CloudTrail](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/logging-using-cloudtrail.md): Learn about logging Amazon ElastiCache with AWS CloudTrail. ### [Amazon SNS event monitoring](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ECEvents.md) Describes ElastiCache events and how to view them with Amazon SNS. - [Managing ElastiCache Amazon SNS notifications](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ECEvents.SNS.md): You can configure ElastiCache to send notifications for important cluster events using Amazon Simple Notification Service (Amazon SNS). - [Viewing ElastiCache events](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ECEvents.Viewing.md): ElastiCache logs events that relate to your cluster instances, security groups, and parameter groups. - [Event Notifications and Amazon SNS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ElastiCacheSNS.md): Lists the notifications of significant events that happen on a cluster with ElastiCache and Amazon SNS messages. ### [Log delivery](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Log_Delivery.md) Logging and log delivery for your ElastiCache caches and clusters. - [ElastiCache logging destinations](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Logging-destinations.md): Covers destination specs. - [Specifying log delivery using the Console](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Console_Log.md): Covers log delivery using console - [Specifying log delivery using the AWS CLI](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CLI_Log.md): Covers log delivery using CLI ### [Monitoring use](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheMetrics.md) Access metrics so you can monitor your clusters using Amazon CloudWatch with ElastiCache. - [Host-Level Metrics](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheMetrics.HostLevel.md): The AWS/ElastiCache namespace includes the following host-level metrics for individual cache nodes. - [Metrics for Valkey and Redis OSS](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheMetrics.Redis.md): The AWS/ElastiCache namespace includes the following Valkey and Redis OSS metrics. - [Metrics for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheMetrics.Memcached.md): The AWS/ElastiCache namespace includes the following Memcached metrics. - [Which Metrics Should I Monitor?](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheMetrics.WhichShouldIMonitor.md): Lists best practices for which CloudWatch metrics to use to monitor your ElastiCache performance. - [Choosing Metric Statistics and Periods](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CacheMetrics.ChoosingStatisticsAndPeriods.md): While CloudWatch will allow you to choose any statistic and period for each metric, not all combinations will be useful. - [Monitoring CloudWatch Cluster and Node Metrics](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/CloudWatchMetrics.md): Monitor your ElastiCache cluster and nodes with metrics using CloudWatch. ## [Reference](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/elasticache-api-reference.md) ### [Using the ElastiCache API](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ProgrammingGuide.md) Describes the basics of how to use the ElastiCache API. - [Using the query API](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ProgrammingGuide.QueryAPI.md): Use the Query API to make requests that include common parameters to handle authentication and chosen actions. - [Available libraries](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/using-libraries.md): >Build your ElastiCache applications with language-specific APIs and libraries provided by AWS. - [Troubleshooting applications](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Troubleshooting.md): Troubleshoot issues to diagnose and resolve problems that you may encounter while interacting with the ElastiCache API. - [Error messages](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/ErrorMessages.md): Lists and describes ElastiCache error messages. - [Notifications](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/elasticache-notifications.md): Identifies common customer issues and provides guidance on how to avoid these issues. ## Full content The entire guide is also available as a single markdown file, useful for feeding the full guide to an LLM in one pass: - [Complete guide (single file)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/full.md)