Module 3: Set Up the AWS CLI
Set Up the AWS CLI
In this module, you will configure the AWS Command Line Interface (CLI)
What you will accomplish
- Install the AWS Command Line Interface (AWS CLI) for your operating system
- Configure the credentials to access your AWS account
- Configure multiple profiles to access different AWS accounts
The AWS CLI is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.
To interact with AWS using the CLI, we need to configure credentials for it to use when making API calls. We will also show how you can set up multiple profiles to access more than one AWS account, either with additional credentials, or through IAM role switching.
Congratulations! You have learned how to set up the AWS CLI and configure a named profile. In the next module, you will learn how to set up AWS Cloud9, a cloud-based IDE.