AWS CLI and CloudShell
Learn about the command line interface (CLI) tools supported by AWS to allow administrators to interact nd manage AWS services.
AWS Command Line Interface (AWS CLI) is a unified tool for managing AWS services from the command line. It offers direct interaction with AWS APIs, which enables users to carry out various activities such as provisioning and managing AWS resources, automating workflows, and scripting tasks. The AWS CLI is compatible with numerous AWS services and can be installed on Windows, macOS, and Linux operating systems.
Connect to AWS CLI
To establish a connection to your AWS profile, you can run the following command to configure AWS CLI:
You’ll need an AWS account and IAM credentials to use AWS services with the AWS CLI. When executing AWS CLI commands, ensure the CLI has access to these credentials. For enhanced security, avoid using root account credentials. Instead, create an IAM user with the minimum necessary permissions for the tasks you’ll be performing in AWS.
Get hands-on with 1400+ tech skills courses.