Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev Guide, Tools section: Add more details about Bootstrapping your AWS environments #133

Closed
ccfife opened this issue Oct 10, 2019 · 2 comments

Comments

@ccfife
Copy link

ccfife commented Oct 10, 2019

Some customers are not entirely clear when to use the CDK Bootstrap command.

"In the documentation however it is not clear that cdk bootstrap is not always required e.g. here https://docs.aws.amazon.com/cdk/latest/guide/tools.html. We understand that this is a new service/framework and some extra clarifications will be added as the time passes." - customer quote

For example, the documentation says:

Bootstrapping your AWS Environment

Before you can use the AWS CDK you must bootstrap your AWS environment to create the infrastructure that the AWS CDK CLI needs to deploy your AWS CDK app. Currently the bootstrap command creates only an Amazon S3 bucket.

You incur any charges for what the AWS CDK stores in the bucket. Because the AWS CDK does not remove any objects from the bucket, the bucket can accumulate objects as you use the AWS CDK. You can get rid of the bucket by deleting the CDKToolkit stack from your account.

In reality, the CDKToolkit S3 bucket is only used when leveraging assets or when the generated stack is larger than 50kb.

@ccfife ccfife changed the title CDK Dev Guide Tools section: Add more details about Bootstrapping you AWS Env Dev Guide, Tools section: Add more details about Bootstrapping your AWS environments Oct 11, 2019
@ghost
Copy link

ghost commented Jan 29, 2020

See also aws/aws-cdk#4039

@ghost ghost self-assigned this Jan 29, 2020
@ghost
Copy link

ghost commented Feb 20, 2020

See also aws/aws-cdk#3684 (comment)

@ghost ghost closed this as completed Jul 9, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant