Configure your Cloud9 workspace

For this workshop, please ignore warnings about the version of pip being used.

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

    sudo pip uninstall -y awscli
  2. Install the AWS CLI 2.x by running the following command:

    curl "" -o ""
    sudo ./aws/install
    . ~/.bash_profile
  3. Confirm you have a newer version:

    aws --version
  4. Create an SSH Key pair so you can then SSH into the EMR cluster

aws ec2 create-key-pair --key-name emr-workshop-key-pair --query "KeyMaterial" --output text > emr-workshop-key-pair.pem
chmod 400 emr-workshop-key-pair.pem