This workshop walks you through building sample serverless and container apps with AWS CDK.
# install the nvm installer
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
# nvm install
nvm install lts/dubnium
nvm alias default lts/dubnium
# install AWS CDK
npm i -g aws-cdk
# check cdk version
cdk --version
1.13.1 (build 96cfc63)
-
Follow this guide to install AWS CLI.
-
Create your own IAM user and run
aws configure
to configure your AWS CLI default profile -
run
aws sts get-caller-identity
to check the output
{
"UserId": "AIDAJVHX3XBRH4E4UGWWK",
"Account": "112233445566",
"Arn": "arn:aws:iam::112233445566:user/pahud"
}
Install Docker Desktop for your Mac or Windows