Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sattyagrah/awsserverlessredisandec2
This is a sample CloudFormation template to create EC2 ( AL2023 ) instance and ServerLess Redis Cache in AWS Cloud.
https://github.com/sattyagrah/awsserverlessredisandec2
aws aws-ec2 cloudformation ec2 ec2-instance ec2-instances elasticache-redis redis templates
Last synced: 23 days ago
JSON representation
This is a sample CloudFormation template to create EC2 ( AL2023 ) instance and ServerLess Redis Cache in AWS Cloud.
- Host: GitHub
- URL: https://github.com/sattyagrah/awsserverlessredisandec2
- Owner: sattyagrah
- Created: 2023-11-30T12:33:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-17T12:03:20.000Z (4 months ago)
- Last Synced: 2024-08-17T13:23:33.649Z (4 months ago)
- Topics: aws, aws-ec2, cloudformation, ec2, ec2-instance, ec2-instances, elasticache-redis, redis, templates
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.
```sh
wget https://raw.githubusercontent.com/sattyagrah/Serverlessredis-ec2/main/serverless-redis-ec2.yaml
```
2. Use the template to [create the Stack](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stack.html) through AWS Console.3. After creating the stack [connect to Ec2 instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-linux-inst-ssh.html#connect-linux-inst-sshClient) and run the command -
```sh
sudo /home/ec2-user/redis.sh
```4. You will be connected to the Redis serverless cluster.