This section modifies the Cloud9 environment that you created in the Getting Started in the Cloud workshop in the following ways:
In this first step you will ensure the root volume of your Cloud9 instance has at least 20GiB capacity in order for Docker images to be built locally.
AWS CLI Version 2 is required to interact with Amazon ECR. You will install it by copying, pasting, and executing the following instructions in the terminal window at the bottom of your Cloud9 IDE window.
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install -i /usr/local/aws-cli -b /usr/bin aws --version
After executing ther commands above, confirm that you now have AWS CLI version 2 sucessfully installed by verfying output from the last command above results in output similar to the following:
aws-cli/2.5.7 Python/3.9.11 Linux/4.14.273-207.502.amzn2.x86_64 exe/x86_64.amzn.2 prompt/off
To help with commands results slicing and filtering.
sudo yum -y install jq