Skip to content

bobbyhadz/aws-cdk-rds-example

Repository files navigation

RDS Example in AWS CDK - Complete Guide

A repository for an article on bobbyhadz.com

If you use CDK v1, switch to the cdk-v1 branch

How to Use

  1. Clone the repository

  2. Install the dependencies

npm install
  1. Create a Key pair with the name of ec2-key-pair in your default region

  2. Create the CDK stack

npx aws-cdk deploy \
  --outputs-file ./cdk-outputs.json
  1. Open the AWS CloudFormation Console and the stack should be created in your default region

  2. Cleanup

npx aws-cdk destroy

About

A repository for an article at https://bobbyhadz.com/blog/aws-cdk-rds-example for how to provision an RDS instance using AWS CDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published