c. Temporary credentials on Cloud9

In this step, you will turn off the temporary credentials managed by Cloud9. You AWS Cloud9 instance has been created for this lab with the IAM role that allows your Cloud9 instance to access any services of your AWS account

AWS Identity and Access Management (IAM) enables you to manage access to AWS services and resources securely. Using IAM, you can create and manage AWS users and groups, and use permissions to allow and deny their access to AWS resources.

  1. In Cloud9, choose the gear icon in top right corner to open a new tab and choose “Preferences” tab.

  2. In the Preferences tab, choose AWS SETTINGS to turn off AWS managed temporary credentials, then close the Preferences tab.

Getting Started

  1. Identify the AWS region with the following commands in the Cloud9 terminal:
export AWS_REGION=$(curl --silent http://169.254.169.254/latest/meta-data/placement/region)
echo $AWS_REGION
  1. Configure the AWS CLI to use this AWS region:
aws configure set default.region ${AWS_REGION}
aws configure get default.region