How to configure aws cli

Spread the love

Here’s step by step guide on how to create AWS cli command line interface.









Install AWS cli : 
apt install awscli

Configure cli :
root@master:~# aws configure


AWS Access Key ID [None]: AKIAJO7AJDNX7CI6TQLQ
AWS Secret Access Key [None]: ajSVcqigHq9XQnLv0SGAhUxVYB1Hs1O8L3d
Default region name [None]: us-east-1
Default output format [None]: vishal


It will ask you for access ID and secret access ID, You will have to provide AWS Access Key ID and AWS Secret Access Key are your account credentials.




How to create aws access key ID and secret access key.


1. Open the IAM console.


2. In the navigation pane of the console, choose Users.

3. Choose your IAM user name. 

4. Choose the Security credentials tab and then choose Create access key.

5. To see the new access key, choose Show. Your credentials will look something like this:


The only time that you can view or download the secret access keys is when you create the keys. You cannot recover them later.






So in the next post i will explain you how to use AWS cli for AWS resources.

Linuxguru
See also  Understand AWS Public IPv4 Address Usage and Pricing

Leave a Comment

PHP Code Snippets Powered By : XYZScripts.com