Installing AWS CLI
Installing the Amazon Web Services (AWS) command line interface (CLI) to interact with Amazon’s cloud services.
Installing AWS CLI
-
Run the commands to install the AWS command line tool:
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install
-
Enable shell auto-completion for bash by adding the following to your
~/.bashrc
:complete -C '/usr/local/bin/aws_completer' aws
-
Create Access keys in AWS Identity and Access Management
-
Click on your user account
-
Click on Security credentials
-
Click on Create access key under Access keys
-
Select Command Line Interface (CLI)
-
Check the box for I understand the above recommendation and want to proceed to create an access key
-
Click Next
-
Enter
AWS CLI
as the description tag value and click on Create access key -
Leave the tab open for the next step
-
-
Run
aws configure
-
AWS Access Key ID: <copy/paste from above>
-
AWS Secret Access Key: <copy/paste from above>
-
Default region name: us-east-1
-
Default output format: <Leave blank>
-