Caching with ElastiCache
Connecting to ElastiCache running in the private subnet of AWS VPC from your DevBox.
Architecture Diagram
Prerequisites
Follow Connecting to AWS guide.
Existing ElastiCache Cluster
Step 1: Accessing ElastiCache from a DevBox
Go to Amazon ElastiCache > Redis OSS Cache > Your Cluster.
Select Configuration & Security.
Copy Primary endpoint.
Go to your DevBox and install the Redis CLI:
Access the cluster using the CLI:
New ElastiCache Cluster
Step 1: Creating an ElastiCache Cluster
Go to Amazon ElastiCache > Create.
Select Design your own cache.
Select Cluster cache in the Creation method.
Use the default configurations for creating the cluster.
Scroll Down to the Cluster info and specify your Cluster Name.
Choose the Engine Version and Node Type in the Cluster settings.
Go to Connectivity section and choose your VPC and Subnet group.
In the next section, choose the Security Group. Make sure the specified Security Group allows inbound connection from the VPC.
Click on Create.
Step 2: Accessing Elasticache from DevBox
Go to your ElastiCache and copy Primary endpoint.
Go to your DevBox and install the Redis CLI:
Access the cluster using the CLI:
Last updated