DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

How to set up AWS CDK - complete guide

3 years ago towardsthecloud.com

Summary: This is a summary of an article originally published by Towards the Cloud. Read the full original article here →

This can be done by running the following command in your terminal npm install -g aws-cdk.

To install the AWS CDK toolkit on your machine, we use the node package manager in your terminal to install the package globally.

Once you've installed AWS CDK you can validate that it's working by running a command like cdk version ➜ cdk version 1.105.0 (build 4813992) bash

To create the cdk project run the cdk init sample-app --language typescript command in your project folder: ➜ cdk init sample-app --language=typescript Applying project template sample-app for typescript

You now know how to set up AWS CDK, initialize a CDK project, synthesize a CloudFormation template and then deploy it on your AWS account.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com