DevZero Logo
DevZero

ElastiCache

Connecting an AWS ElastiCache service to a DevZero workspace.

If you're more of a visual learner, check out the video tutorial!

Architecture Diagram

AWS ElastiCache Architecture

Prerequisites

Existing ElastiCache Cluster

Step 1: Accessing ElastiCache from a DevBox

  1. Go to Amazon ElastiCache > Redis OSS Cache > Your Cluster.
  2. Select Configuration & Security.
  3. Copy Primary endpoint.

AWS ElastiCache Endpoints

  1. Go to your DevBox and install the Redis CLI:
sudo apt install redis-tools
  1. Access the cluster using the CLI:
redis-cli -h <redis-endpoint> -p <port>

AWS ElastiCache Access

New ElastiCache Cluster

Step 1: Creating an ElastiCache Cluster

  1. Go to Amazon ElastiCache > Create.
  2. Select Design your own cache.
  3. Select Cluster cache in the Creation method.
  4. Use the default configurations for creating the cluster.
  5. Scroll Down to the Cluster info and specify your Cluster Name.
  6. Choose the Engine Version and Node Type in the Cluster settings.
  7. Go to Connectivity section and choose your VPC and Subnet group.
  8. In the next section, choose the Security Group. Make sure the specified Security Group allows inbound connection from the VPC.
  9. Click on Create.

Step 2: Accessing Elasticache from DevBox

  1. Go to your ElastiCache and copy Primary endpoint.

AWS ElastiCache Endpoints

  1. Go to your DevBox and install the Redis CLI:
sudo apt install redis-tools
  1. Access the cluster using the CLI:
redis-cli -h <redis-endpoint> -p <port>

AWS ElastiCache Access

Video Walkthrough

On this page