Skip to content

This is a sample CloudFormation template to create EC2 (AL2023) instance and serverless Redis cache in AWS cloud.

Notifications You must be signed in to change notification settings

sattyagrah/AWSServerlessRedisAndEc2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

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/sattyagrah/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.

About

This is a sample CloudFormation template to create EC2 (AL2023) instance and serverless Redis cache in AWS cloud.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published