RedisInsight is the successor to RDBTools! RDBTools will reach EOL on 31st December 2019

How to run memory analysis on AWS ElastiCache?

RDBTools is a Redis memory analysis tool which can analyze your AWS ElastiCache instance and generate custom recommendations for your Redis instance. This article is a quick guide on how to run memory analysis on AWS ElastiCache.

Install RDBTools

  1. Launch an amazon linux ec2 instance in same VPC as ElastiCache
  2. Run the following command to install and run docker
    sudo yum update -y
    sudo yum install -y docker
    sudo usermod -aG docker ec2-user
  3. Run the following command to install RDBTools
    docker run -v rdbtools:/db -p 8001:8001 rdbtools/rdbtools:v0.9.42
  4. Point your browser to your EC2 IP Address.

Note: Optionally you can use Cloud Formation template to install RDBTools.

Run Memory Analysis

  1. Add your Redis instance you want to analyze
  2. Navigate to Memory Analysis -> Overview, Click on Run Analysis
  3. You can run analysis in online or offline mode.
    1. In online mode, No extra input needed click on proceed. RDBTools will connect to your Redis instance and run analysis on that.
    2. In offline mode, If your Redis snapshot files is in S3 bucket you can provide S3 path in input box. You can provide multiple snapshot path comma separated. Make sure your EC2 machine has IAM role with atleast Readonly access to your s3 bucket.

Once analysis completes, you will get following screen. Read more about RBDTools memory analysis feature where all it can help you.