Skip to content

Latest commit

 

History

History
72 lines (44 loc) · 1.49 KB

File metadata and controls

72 lines (44 loc) · 1.49 KB

Application Load Balanced Fargate Service example in AWS CDK


Stability: Stable

This is a stable example. It should successfully build out of the box


This example is explained in detail on my blog 👇

This example is used for the blog post on: https://towardsthecloud.com/aws-cdk-application-load-balanced-fargate-service

cdk diagram

How to use this example

git clone [email protected]:dannysteenman/aws-cdk-examples.git

2. Change to this example directory

cd aws-cdk-examples/application-load-balanced-fargate-service

3. Install the dependencies

npm install

4. Synthesize the stacks

To see the Cloudformation template generated by the CDK, run cdk synth, then check the output file in the "cdk.out" directory.

cdk synth

5. Deploy the stacks

Deploy the stack:

cdk deploy

6. Login to the AWS Console

Go to CloudFormaton in the console to see the stacks you've deployed in your default region.

7. Cleanup

Delete the stack:

cdk destroy

Author

Danny Steenman