Today's world is totally cloud based and we can hardly think of a software which don't uses Cloud Services. In this article, we will try to get an overview how we can Download, Install and Configure AWS CLI.
Those of you who don't know much about AWS
and AWS CLI
, let me just give you a short overview of these keywords-
AWS - Amazon Web Services: This is a cloud service provider. They provide us several cloud services like EC2, Load Balancing, Auto Scaling, AMI, S3 Bucket, No-SQL database like DynamoDB, SQS, SES, RDS etc. In short AWS provides 200+ services.
AWS CLI - Command Line Interface: It's a command line tool for configuring and using different amazon web services. It can be used in Windows CMD, PowerShell, Linux Shells and also in MAC OS terminal.
Let's dive into our today's aim . . .
Download
Go to the AWS CLI installation page and download the file based on your Operating System and Architecture.
Install
In our case, we are using Windows machine. So we downloaded the AWSCLIV2.msi
file. The installation process is plain and simple. Just by clicking Next
and Finish
buttons on the AWS CLI installation pop-up window you can complete the installation process.
Configure
Now the AWS CLI is installed in your machine. For cross checking if it is installed correctly you may run this command-
aws --version
This will display your AWS CLI version along with some other information.
Now for configuring your machine, run the following command-
aws configure
This will ask for your AWS account credentials like Key Id
, Secret Key
, Region name
and Output format
. Provide the values accordingly and correctly. You may follow the AWS documentation.
Finally, your machine is now connected with your AWS account. Whatever configuration or command you write in the terminal or in your local codebase will ultimately take effect in your AWS account.
Top comments (0)