1.6 Setup AWS Credentials

From the Cloud9 ide:

Set default credentials to use workshop user

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 LAB 1.4

Set: AWS ACCESS KEY ID < Copy and Paste

Set: AWS SECRET ACCESS KEY < Copy and Paste

Set:Default REGION NAME to : us-west-2

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

Expected Output: Step 9

Add AWS_REGION Variable to bash_profile

echo "export AWS_REGION=us-west-2" | tee -a ~/.bash_profile
export AWS_REGION=us-west-2

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: Step 9

If credentials do not reflect the workshop user, DO NOT PROCEED. Go back and confirm the steps on this page.

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