Setup AWS CLI and other tools

STOP Please note: This workshop version is now deprecated, and an updated version has been moved to AWS Workshop Studio. This workshop remains here for reference to those who have used this workshop before for reference only. Link to updated workshop is here: Amazon EC2 Auto Scaling Workshop.

  1. Uninstall the AWS CLI 1.x by running:

    sudo pip uninstall -y awscli
    
  2. Install the AWS CLI 2.0 by running:

    curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
    unzip awscliv2.zip
    sudo ./aws/install
    
  3. Confirm the CLI version with the following command:

    aws --version
    
  4. Install dependencies for use in the workshop by running:

    sudo yum -y install jq