Installing the AWS CLI package
To install the AWS CLI package
-
Enter the following commands sequentially:
$ curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
$ unzip awscli-bundle.zip
$ sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
-
Create the Identity and Access Management (IAM) role.
For details, refer to the AWS documentation about Identity and Access Management.
-
Configure the AWS CLI.
$ aws configure
-
Verify that the CLIs are working properly.
$ aws ec2 describe-instances
Related information