Quick setup environment

One of the tools this workshop relies on, is the AWS SAM Command Line Interface, AWS CDK Toolkit. We need a newer version than what Cloud9 has pre-installed.

Bootstrap script

We have put together a bootstrap script that will make the upgrade easier for you. Download it by running the following command from your Cloud9 terminal.

wget https://cloud.vn/assets/bootstrap.sh

Then give it permissions to execute:

chmod +x bootstrap.sh

Finally, run it

./bootstrap.sh

THIS MAY TAKE A FEW MINUTES TO COMPLETE. Bootstrap script!

Install latest AWS CDK

npm install -g aws-cdk -f

Verify CDK version

cdk --version

Verify SAM version

sam --version

Let’s start to explore CI/CD 🚀🚀🚀