Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/exanubes/serverless-database-infrastructure-with-cdk
- Owner: exanubes
- Created: 2021-05-22T17:45:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-22T18:16:29.000Z (over 3 years ago)
- Last Synced: 2024-04-17T02:33:06.421Z (9 months ago)
- Language: TypeScript
- Size: 151 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.