Amazon Aurora Serverless with Secrets Manager

Amazon Aurora → Secrets Manager

Create an Aurora Serverless cluster with Secrets Manager.

This project contains a sample AWS Cloud Development Kit (AWS CDK) template for deploying an Aurora Serverless database cluster, a secret in Secrets Manager, and required VPC with subnets.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/auroraserverless-secretsmanager

Deploy

npm installcdk deploy


Testing

See testing in the README.md file in the repo

Cleanup

1. Delete the stack: npx cdk destroy.
2. Confirm the stack has been deleted: aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus".
3. You see a message confirming DELETE_COMPLETE.

Created by:

Leonardo Wildt

Leonardo Wildt

Cloud Application Architect, Shared Delivery Teams.