Prerequisites
In order to use Green Boost, you'll need to do the following:
- Install Git (opens in a new tab)
- Install AWS CLI (opens in a new tab)
- Install PNPM (opens in a new tab)
- Install/activate Node.js 18 (opens in a new tab)
- If you don't have a way to manage your Node.js versions, we recommend PNPM's built in pnpm env (opens in a new tab) command where you can use the latest version of Node.js 18 with:
pnpm env use --global 18
- If you don't have a way to manage your Node.js versions, we recommend PNPM's built in pnpm env (opens in a new tab) command where you can use the latest version of Node.js 18 with:
- Setup an AWS Account (opens in a new tab)
- If you're building a production grade web app, we recommend using a well-architected, multi-account AWS environment with Landing Zone. Learn more here (opens in a new tab).
- Bootstrap (opens in a new tab) AWS Account with the CDK
cdk bootstrap aws://<account-number>/<region>
- Ensure you've bootstrapped us-east-1 and the region you're deploying to if different than us-east-1. This is required for CloudFront Lambda@Edge Functions.
- Inject your AWS credentials into your terminal
- Not sure how to manage your AWS credentials? Checkout our guide here.