Skip to content

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

Notifications You must be signed in to change notification settings

sattyagrah/AWSServerlessValkeyAndEc2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Elasticache Valkey (Serverless) with Amazon Linux 2023

This is a Repository that contains YAML CloudFormation template to create an ElastiCache Valkey (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.

Important

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

How to use

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

    curl https://raw.githubusercontent.com/sattyagrah/AWSServerlessValkeyAndEc2/refs/heads/main/serverless-valkey-ec2.yaml -o serverless-valkey-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/valkey.sh
  4. You will be connected to the Valkey serverless cluster.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published