Bootstrapping
Bootstrapping is the process of preparing your AWS environment for usage with the AWS Cloud Development Kit (CDK). Before you deploy a CDK stack onto an AWS environment, the environment must first be bootstrapped.
What is bootstrapping
Bootstrapping prepares your AWS environment by provisioning specific AWS resources in your environment that are used by the AWS CDK. These resources are commonly referred to as your bootstrap resources. They include the following:
- Amazon Simple Storage Service (Amazon S3) bucket – Used to store your CDK project files, such as AWS Lambda function code and assets.
- Amazon Elastic Container Registry (Amazon ECR) repository – Used primarily to store Docker images.
- AWS Identity and Access Management (IAM) roles – Configured to grant permissions needed by the AWS CDK to perform deployments.
For instructions on bootstrapping your environment, see Bootstrapping your environment