Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/exanubes/serverless-database-infrastructure-with-cdk


https://github.com/exanubes/serverless-database-infrastructure-with-cdk

Last synced: about 22 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Serverless database infrastructure with AWS CDK

Repository from blog [exanubes.com](https://exanubes.com) for [Setup Aurora Serverless with CDK](https://exanubes.com/blog/setup-aurora-serverless-with-cdk) and [Connecting to private RDS cluster via Bastion Host](https://exanubes.com/blog/connecting-to-private-rds-via-bastion-host)

## Commands:

Run the following commands for deploying and destroying the stacks

- `npm run cdk:deploy`
- `npm run cdk:destroy`

Both of these commands use the `aws-cli sts` service to get the account id and aws IAM role `TrainingCloudformationRole` in order to dynamically provide role arn. Make sure you're using the account you want to deploy the stacks to and that you have the role created either with the same name or different name and change the scripts in `package.json`.