Skip to content

bind-almir/cdk-aurora-serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Create Serverless Aurora cluster with AWS CDK

Read more here.

Instructions

You'll need an Amazon Web Services account and credentials set up on your development machine. If you haven't done it before, here's a useful guide for Configuring the AWS CLI.

  • Install NodeJS
  • Install AWS CDK framework using npm i -g aws-cdk
  • Clone this repository git clone https://github.com/bind-almir/cdk-aurora-serverless.git
  • Install dependencies npm i
  • Build project npm run build
  • Deploy account=YOUR_ACCOUNT_NUMBER region=YOUR_REGION cdk deploy

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template