Configuring the Regions with the AWS CLI

0 votes
While executing the AWS CLI, I would like to set a default Region instead of specifying the Region in the command again and again. How do I get around this?
Aug 6 in AWS by Rishi
16 views

1 answer to this question.

0 votes

Once the AWS CLI has been installed run the ‘aws configure’ command. You will be prompted for the keys first and then for the default AWS Region. The Region is stored in the .aws/config file in the user folder for both Windows and Linux. The same file can be modified manually also.

answered Aug 6 by Tina

Related Questions In AWS

0 votes
1 answer

Quick way to get AWS Account number from the cli tools?

Via "Secure Token Service" using the following ...READ MORE

answered Jul 12, 2018 in AWS by Priyaj
• 56,520 points
69 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to add SSL certificate to AWS EC2 with the help of new AWS Certificate Manager service

refer this link  https://aws.amazon.com/certificate-manager/faqs/ You can't install the certificates ...READ MORE

answered Jul 19, 2018 in AWS by Priyaj
• 56,520 points
70 views
0 votes
1 answer
0 votes
1 answer

Using the same KeyPairs across Regions

The KeyPairs are Region specific and a ...READ MORE

answered Aug 6 in AWS by Esha
13 views