0.1.6 • Published 3 years ago
fjord_app v0.1.6
How To Deploy FjordApp
Prereqs
- Run
npm install -g aws-cdk
Steps
- 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.
cdk deploy "*" --require-approval never
Boilerplate CDK Material
The cdk.json
file tells the CDK Toolkit how to execute your app. The build step is not required when using JavaScript.
Useful commands
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