How to install Amazon Web Service Cloud CLI in Windows?

Published by Sundareswaran on

How to install AWS Cloud CLI in Windows?

If the AWS CLI is installed in your windows system, then the whole GUI can be experienced in CLI itself. Installation of the AWS CLI is as simple as installing a normal windows based software’s. So, let’s start the downloading and installation of the AWS CLI.

Step 1: Download the appropriate application from official website.

Google the aws cli download.

 

How to install AWS CLI in Windows

 

Then proceed to aws official CLI download. Download the package as per your requirement.

Then proceed to aws official CLI download. Download the package as per your requirement. After downloading the application start installing it. Then proceed as show in the below document.

After downloading the application start installing it.

Then proceed as show in the below document.

How to install AWS CLI in Windows

After compeletion of installation, let move to windows command prompt.

  

Step: 2 Windows Command Prompt

Press Windows key+R and type cmd, then Enter button.

You can see a command prompt now.

Type the command: aws configure

How to install AWS CLI in Windows

If you have your username and account password of AWS.

How to install AWS CLI in Windows

Please find EC2 in the AWS services dashboard.

How to install AWS CLI in Windows

The security credentials to be selected, by default the user name will not have any access and secret key. We need to create the access key in the security tab follow the images.

Select the security credentials.

Under the user profile find the section security credentials. Next to that move to bottom of the page.

How to install AWS CLI in Windows

We need to keep the access key and secret code very confidential, it is as like user and password for login the AWS through the GUI.

Created a new access keys.

Select the security credentials. Under the user profile find the section security credentials. Next to that move to bottom of the page.

After creating, download and keep the access file very safer.

Use the AWS Access key ID and AWS Secrete Access Key and proceed, then set the default zone you wish to login.

Select the security credentials. Under the user profile find the section security credentials. Next to that move to bottom of the page.

Then set the default zone you wish to login.Get this zone deatiles from following link: Click here

eg: us-west-2 (Without a, b or c)

Select the security credentials. Under the user profile find the section security credentials. Next to that move to bottom of the page.

Then let the output format be None, type enter and proceed.

Now let’s test, whether we logged into the required region. So let create a security group in CLI and test it in the GUI of AWS login at that particular location.

Add the command in CLI:

Select the security credentials. Under the user profile find the section security credentials. Next to that move to bottom of the page.

# aws ec2 create-security-group –group-name TEST-GROUP –description “This is a test security group through CLI”

Get that Group ID to check it in the CLI and it will be useful to check in GUI.

Direct to Security groups in EC2 instance settings (GUI).

Select the security credentials. Under the user profile find the section security credentials. Next to that move to bottom of the page.

In search bar type the security code you got it in CLI. If you find the security region is correctly created with the description and name you given.

Then the CLI is logged in, then the task is successful.

Followed by this CLI commands, we can move a server from ESXi Server on premises to cloud using CLI Commands.

We will post that artical very soon..

Categories: Cloud Computing

Leave a Reply

Your email address will not be published. Required fields are marked *