Install AWS CLI tool Configure AWS CLI
Download and install CLI tool from AWS site,
-
To configure AWS CLI on your PC, you would need to generate key pair from AWS.
You can generate them IAM console, follow this AWS link to get them
AWS create key pair - Once you generate key pair, you can download a CSV which has two entries
Access key ID andSecret access key .
Once you have the key pair, then you can run one of the below
You can also pass key pair as file argument, but you need add User Name column in addition to Access key ID and Secret access key. So the file looks like this.
User Name | Access key ID | Secret access key |
---|---|---|
<user name> | <access key id what you have downloaded> | <secret access key what you have downloaded> |
AWS CLI commands normally follow the pattern
Full list of AWS CLI commands reference can be found here