0.1.6 • Published 4 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.outdirectory. - Run
cdk deploy "*"to deploy theFjordAppAWS 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 testperform the jest unit testscdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template