Skip to content

CloudFormation template for creating a stack with Aurora Serverless V2 cluster and instance.

Notifications You must be signed in to change notification settings

darieldejesus/RDS-Aurora-Serverless-V2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

RDS Aurora Serverless V2

CloudFormation template for creating a stack with Aurora Serverless V2 cluster and instance.

It creates a VPC (Virtual Private Cloud) which is required by the AWS RDS Service. Then, it adds other configurations like Internet Gateway to access the VPC from outside. Finally, it creates the Aurora MySQL Serverless database with the given name and password.

Configuration:

  • Allow external connections (outside the VPC).
  • DB Encryption enabled.
  • DB Cluster + DB Instance.
  • Serverless

To run the script for deploying a new CloudFormation stack, you need to install the AWS CLI and set it up with your credentials.

Steps

  1. Update the parameters.json file with the desired username and password.

  2. Run the following script, replacing the stack-name-goes-here with the correct stack name.

aws cloudformation deploy --template aurora-serverless-v2-cf.yaml --stack-name stack-name-goes-here --parameter-overrides file://parameters.json
  1. After running the given script, you should see the creation of the stack in the CloudFormation service.

About

CloudFormation template for creating a stack with Aurora Serverless V2 cluster and instance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published