- Run
npm install -g aws-cdk
- After pulling this version of the app, navigate to
FjordApp
- Run
npm install
- Run
npm install @aws-cdk/core @aws-cdk/aws-ec2 @aws-cdk/aws-ecs @aws-cdk/aws-ecs-patterns @aws-cdk/aws-elasticache
- Edit the FjordSettings.json file to customize Fjord with your Fjord server private key and your Kafka consumer details, and save
- Run
cdk synth
. This generates the CloudFormation templates for each stack and places them in theFjordApp/cdk.out
directory. - Run
cdk deploy "*"
to deploy theFjordApp
AWS resources.
The cdk.json
file tells the CDK Toolkit how to execute your app. The build step is not required when using JavaScript.
npm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template