In Cloud9 Terminal

Run aws configure

Copy the values for AWS ACCESS KEY ID and AWS SECRET ACCESS KEY from the AWS IAM Console. If you have accediently closed this tab you can find the credentials in the csv file that you downloaded in the Getting Started Section.

  • Set: AWS ACCESS KEY ID < Copy and Paste

  • Set: AWS SECRET ACCESS KEY < Copy and Paste

  • Set:Default REGION NAME to : us-east-1

  • Set: Default OUTPUT FORMAT to : None (Just hit enter)

Add AWS_REGION Variable to bash_profile

echo "export AWS_REGION=us-east-1" | tee -a ~/.bash_profile
export AWS_REGION=us-east-1

Validate the IAM user

Use the GetCallerIdentity cli command to validate that the Cloud9 IDE is using the correct IAM user.

aws sts get-caller-identity

Expected Output: sts

Leave Cloud9 open we will be using cloud9 through out this workshop