The AWS CLI allows you to interact with AWS services from a terminal session. Make sure you have the latest version of the AWS CLI installed on your system.
See the AWS Command Line Interface installation page for more details.
Open a terminal window and run
aws configure to set up your environment. Type
the access key ID and secret key you create in the previous step and choose a default region (you can
us-west-2 for example). Preferably use a region
that doesn’t have any resources already deployed into it.
And fill in the information from the console:
AWS Access Key ID [None]: <type key ID here> AWS Secret Access Key [None]: <type access key> Default region name [None]: <choose region (e.g. "us-east-1", "eu-west-1")> Default output format [None]: <leave blank>