/Serverlessredis-ec2

This is a sample CloudFormation template to create EC2 ( AL2023 ) instance and ServerLess Redis Cache in AWS Cloud.

Elasticache Redis (Serverless) with Amazon Linux 2023

This is a Repository that contains YAML CloudFormation template to create an ElastiCache Redis (Serverless) cluster with an Amazon Linux 2023 EC2 instance and connect to it.

NOTE: Only to be used in AWS CLOUD

This is a CloudFormation YAML template.

This template can be used to create an ElastiCache Redis (Serverless) cluster with an Amazon Linux 2023 EC2 instance and connect to the Redis cluster.

  1. Download the template to your local machine from github repository.

    wget https://raw.githubusercontent.com/mrsatya21/Serverlessredis-ec2/main/serverless-redis-ec2.yaml
  2. Use the template to create the Stack through AWS Console.

  3. After creating the stack connect to Ec2 instance and run the command -

    sudo /home/ec2-user/redis.sh
  4. You will be connected to the Redis serverless cluster.