Skip to content

elasticache-redis-cmd

create 6.2 in default vpc - cluster mode disabled

# aws elasticache create-cache-parameter-group \
#    --cache-parameter-group-family "redis6.x" \
#    --cache-parameter-group-name "myparamgrp6" \
#    --description "myparamgrp6"

aws elasticache create-cache-cluster \
    --cache-cluster-id my-cluster2 \
    --cache-node-type cache.r5.large \
    --engine redis \
    --engine-version 6.2 \
    --num-cache-nodes 1 \
    --cache-parameter-group default.redis6.x 

create 6.2 - cluster mode enabled

aws elasticache create-replication-group \
    --replication-group-id "mygroup"-$(date +%Y%m%d-%H%M) \
    --replication-group-description "my group" \
    --engine "redis" \
    --engine-version 6.2 \
    --num-node-groups 3 \
    --cache-node-type "cache.m5.large"

connect

install redis-cli