How to Run Cdk Bootstrap

0 min read 95 words

To bootstrap an AWS CDK environment, you simply need to do the following:

npx aws-cdk bootstrap

…for each environment that you would like the CD to operate within.

This will deploy all the required prerequisites to the AWS account, such as the:

  • An Amazon S3 bucket for storing files and IAM roles that grant permissions needed to perform deployments.
  • The required resources are defined in an AWS CloudFormation stack, called the bootstrap stack, which is usually named CDKToolkit. Like any AWS CloudFormation stack, it appears in the AWS CloudFormation console once it has been deployed.
Tags:
Andrew
Andrew

Andrew is a visionary software engineer and DevOps expert with a proven track record of delivering cutting-edge solutions that drive innovation at Ataiva.com. As a leader on numerous high-profile projects, Andrew brings his exceptional technical expertise and collaborative leadership skills to the table, fostering a culture of agility and excellence within the team. With a passion for architecting scalable systems, automating workflows, and empowering teams, Andrew is a sought-after authority in the field of software development and DevOps.

Tags