AWS CLI Configuration
The AWS CLI (Command Line Interface) is a tool that lets you manage AWS services from the command line. With it, you can run commands to create, modify, and delete AWS resources, making task automation and script integration easier.
Installation
Click Here to install AWS CLI.
Environment Setup
To follow the hands-on examples in this class, you need to configure your development environment. Here are the recommended steps:
-
Activate Your AWS Account: If you have not activated your account yet, check the notice sent by the instructors for more details.
-
Install AWS CLI: The AWS Command Line Interface (CLI) is one of the tools we will use to interact with AWS services.
-
Configure Credentials: We will configure access to your AWS account through SSO (a different setup from the first class).
Attention
Run the following command:
Important
Set the region to us-east-1.
We will centralize resources in a single region to keep better organization and control over what we create during the course.
Browser login required
During this step, you will be prompted to sign in to your AWS account through your browser.
Follow the on-screen instructions to complete the authentication process.
If prompted, select the course account.
Settings
SSO session name (Recommended):you can usemlopsSSO start URL:use the login URL provided in the invitation emailSSO region [None]: useus-east-1SSO registration scopes [sso:account:access]:just press ENTERCLI default client Region [None]:useus-east-2CLI default output format [None]:just press ENTER
Avoid confusion
Always verify that the mlops profile is active when running AWS CLI commands in this course.
You can list all available profiles with:
Now that your environment is configured, you are ready to start working with AWS CLI and explore AWS services.