SlideShare a Scribd company logo
How To Install and Configure AWS CLI for Windows
i | P a g e
Table of Contents
Overview.......................................................................................................................................................1
Applies To......................................................................................................................................................1
Pre-Requisites ...............................................................................................................................................1
Install AWS CLI ..............................................................................................................................................1
Download AWS CLI....................................................................................................................................1
Install AWS CLI ..........................................................................................................................................1
Installation Status .................................................................................................................................1
Installation Path....................................................................................................................................2
Configure AWS CLI ........................................................................................................................................2
Create Access Key ID.................................................................................................................................3
Download Access Key ID...........................................................................................................................3
Configure Access Key ................................................................................................................................4
List AWS Configure List .............................................................................................................................4
List IAM Access Key Info............................................................................................................................4
List IAM UserNames only..........................................................................................................................5
List Specific User Info................................................................................................................................5
List All IAM Users ......................................................................................................................................5
How To Install and Configure AWS CLI for Windows
1 | P a g e
Overview
This guide will help in installing and configuring Amazon AWS CLI for Windows.
Applies To
 Amazon AWS, Windows
 Tested on Windows 10
Pre-Requisites
 None
Install AWS CLI
Installation comprises of two-step process, downloading and installing AWS CLI MSI installer.
Download AWS CLI
In order to Install the AWS CLI on Windows, first we have to download the appropriate MSI installer. Click
on the below link to download, according to the Windows architecture (32 or 64 Bit) that you intend to
install.
AWS CLI MSI – Arch Download URL
Windows (64-bit) https://s3.amazonaws.com/aws-cli/AWSCLI64.msi
Windows (32-bit) https://s3.amazonaws.com/aws-cli/AWSCLI32.msi
Note: 64-bit version of the AWS CLI does not currently work with Windows Server 2008 (version 6.0.6002).
Please install 32-bit version of Windows.
Install AWS CLI
Run the downloaded MSI installer. And follow the instructions and confirm the installation.
Installation Status
To confirm the installation status, start the command prompt and run “aws --version”. Running the
command will display the AWS CLI version installed on the system.
How To Install and Configure AWS CLI for Windows
2 | P a g e
Installation Path
After installation, depending on the OS architecture, installation path will be as per the below table;
OS Architecture Installation Path
64 Bit C:Program FilesAmazonAWSCLI
32 Bit C:Program Files (x86)AmazonAWSCLI
Configure AWS CLI
Before you initiating the AWS CLI configuration, we collate four information (parameters) listed below; To
access the AWS Management console successfully.
Parameters Information Required Comments
One Access Key ID Is the access key generated in AWS IAM management
console
Two Secret Access Key Access key (password to login into AWS account)
Three Default Region Name Optional; default region is “None”, It’s region where the
CLI has to query
How To Install and Configure AWS CLI for Windows
3 | P a g e
Four Default Output Format Optional; default output is “None”, It’s output format
each query executed
Create Access Key ID
To create the Access key, from the IAM dashboard, click on “Manage Security Credentials”; and choose
the option “Access Keys (Access Key ID and Secret Access Key)” and click on “Create New Access Key”
button.
Note: Its recommended you regenerate the key every 90 days.
Download Access Key ID
Once a new “Access Key ID” is generated, click on “Download Key File”. You have to download the file
before closing it, else you will not be able to download or retrieve it again.
How To Install and Configure AWS CLI for Windows
4 | P a g e
Configure Access Key
To configure the access key, launch command prompt and run the command;
aws configure
List AWS Configure List
To list CLI configured list, run the command;
aws configure list
List IAM Access Key Info
To list of access key’s configured for the account, run the command;
aws iam list-access-keys
How To Install and Configure AWS CLI for Windows
5 | P a g e
List IAM UserNames only
List all users created in IAM, run the command;
aws iam list-users --query "Users[].[UserName]" or
aws iam list-users --query "Users[].UserName"
List Specific User Info
To verify if specific user exists to retrieve from IAM users, run the command;
aws iam get-user --user-name vcp.muthukrishna@eone.com –output=json | find /I "UserName"
List All IAM Users
List all the users created in IAM, run the command;
aws iam list-users

More Related Content

PDF
How To Create RDS Database for WordPress in AWS on RHEL 7 or CentOS 7
PDF
How To Configure Amazon EC2 Security Groups
PDF
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
PDF
How To Install and Configure Apache SSL on CentOS 7
PDF
Installation CentOS 6.3
PDF
Install and Configure WordPress in AWS on RHEL 7 or CentOS 7
PDF
Connect Amazon EC2 Linux Instance
PDF
How To Install OpenFire in CentOS 7
How To Create RDS Database for WordPress in AWS on RHEL 7 or CentOS 7
How To Configure Amazon EC2 Security Groups
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
How To Install and Configure Apache SSL on CentOS 7
Installation CentOS 6.3
Install and Configure WordPress in AWS on RHEL 7 or CentOS 7
Connect Amazon EC2 Linux Instance
How To Install OpenFire in CentOS 7

What's hot (20)

PDF
How To Configure FirewallD on RHEL 7 or CentOS 7
PDF
How To Create EBS Snapshot and Restore EBS Snapshot – Linux Instance
PDF
How To Install and Configure AWS CLI on RHEL 7
DOCX
How to Configure Amazon AWS EC2 Elastic IP Address
PDF
How To Configure Amazon EC2 Load Balancer
PDF
Install VMWare Tools CentOS 7
PDF
How To Connect Amazon AWS EC2 with Key Pair – Linux
PDF
How To Install and Configure Open SSH Server on Ubuntu
PDF
Install and Configure RSyslog – CentOS 7 / RHEL 7
PDF
How To Configure Apache VirtualHost on RHEL 7 on AWS
PDF
How To Install and Configure Screen on CentOS 7
PDF
How to Install and Configure Cacti on Linux
PDF
How To Manage Linux User on RHEL 7
PDF
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
PDF
How to Install MariaDB Server or MySQL Server on CentOS 7
PDF
How to Change Hostname in CentOS 7 or RHEL 7
PDF
How to install and configure firewall on ubuntu os
PDF
VMWare Tools Installation and Troubleshooting Guide
PDF
How To Check IE Enhanced Security Is Enabled Windows PowerShell
PDF
How To Configure Nginx Load Balancer on CentOS 7
How To Configure FirewallD on RHEL 7 or CentOS 7
How To Create EBS Snapshot and Restore EBS Snapshot – Linux Instance
How To Install and Configure AWS CLI on RHEL 7
How to Configure Amazon AWS EC2 Elastic IP Address
How To Configure Amazon EC2 Load Balancer
Install VMWare Tools CentOS 7
How To Connect Amazon AWS EC2 with Key Pair – Linux
How To Install and Configure Open SSH Server on Ubuntu
Install and Configure RSyslog – CentOS 7 / RHEL 7
How To Configure Apache VirtualHost on RHEL 7 on AWS
How To Install and Configure Screen on CentOS 7
How to Install and Configure Cacti on Linux
How To Manage Linux User on RHEL 7
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
How to Install MariaDB Server or MySQL Server on CentOS 7
How to Change Hostname in CentOS 7 or RHEL 7
How to install and configure firewall on ubuntu os
VMWare Tools Installation and Troubleshooting Guide
How To Check IE Enhanced Security Is Enabled Windows PowerShell
How To Configure Nginx Load Balancer on CentOS 7
Ad

Viewers also liked (19)

PDF
How To Install and Configure Chrony on RHEL 7
PDF
How to Install Configure and Use sysstat utils on RHEL 7
PDF
How To Manage Yum Packages - Group Packages
PDF
Install Active Directory PowerShell Module on Windows 10
PDF
How To Yum Package Installation
PDF
How To Manage Yum Repositories
PDF
How To List YUM Packages
PDF
How To Manage Yum Cache
PDF
How To Manage Yum History
PDF
How To Manage Yum Packages Interactive Shell
PDF
How To Install and Use ABRT CLI on RHEL 7
PDF
How To View Current Execution Policy PowerShell
PDF
How To Reset root Password on CentOS 7
PDF
How to Upgrade Openfire on CentOS 7
PDF
How To Check file exists and Delete PowerShell
PDF
How To View Login History and Logout History on RHEL 7
PDF
DNF Failed To Open Cache
PDF
How To Install and Configure SNMP on RHEL 7 or CentOS 7
PDF
How to Troubleshoot SELinux Audit2Allow unable to open (null)
How To Install and Configure Chrony on RHEL 7
How to Install Configure and Use sysstat utils on RHEL 7
How To Manage Yum Packages - Group Packages
Install Active Directory PowerShell Module on Windows 10
How To Yum Package Installation
How To Manage Yum Repositories
How To List YUM Packages
How To Manage Yum Cache
How To Manage Yum History
How To Manage Yum Packages Interactive Shell
How To Install and Use ABRT CLI on RHEL 7
How To View Current Execution Policy PowerShell
How To Reset root Password on CentOS 7
How to Upgrade Openfire on CentOS 7
How To Check file exists and Delete PowerShell
How To View Login History and Logout History on RHEL 7
DNF Failed To Open Cache
How To Install and Configure SNMP on RHEL 7 or CentOS 7
How to Troubleshoot SELinux Audit2Allow unable to open (null)
Ad

Similar to How To Install and Configure AWS CLI for Windows (20)

PDF
How to Install and Configure AWS CLI on RHEL 7
PDF
AWS essentials EC2
PDF
SDAccel Design Contest: How to use SDAccel on AWS
PDF
Aws cli
PDF
Aws cli
PDF
How To Create EC2 instance Linux Server
PPTX
AWS Instance Preparation
PPTX
AWS Cyber Security Best Practices
DOCX
How to configure amazon ec2 load balancer
PDF
AWS CodeDeploy
PDF
AWS Serverless Workshop
PDF
Amazon AWS Workspace Howto
PPTX
Aws meetup systems_manager
DOCX
Infra Project report2
PPTX
Presentation-1.pptx
PPTX
Presentation.pptx
PPTX
Presentation.pptx
PDF
2025 DumpsCafe Amazon Web Services-SOA-C02
PDF
Awsgsg wah-linux
PDF
Awsgsg wah-linux
How to Install and Configure AWS CLI on RHEL 7
AWS essentials EC2
SDAccel Design Contest: How to use SDAccel on AWS
Aws cli
Aws cli
How To Create EC2 instance Linux Server
AWS Instance Preparation
AWS Cyber Security Best Practices
How to configure amazon ec2 load balancer
AWS CodeDeploy
AWS Serverless Workshop
Amazon AWS Workspace Howto
Aws meetup systems_manager
Infra Project report2
Presentation-1.pptx
Presentation.pptx
Presentation.pptx
2025 DumpsCafe Amazon Web Services-SOA-C02
Awsgsg wah-linux
Awsgsg wah-linux

More from VCP Muthukrishna (20)

PDF
How to Fix Duplicate Packages in YUM on CentOS 7
PDF
How To Install and Configure GNome on CentOS 7
PDF
How To Connect to Active Directory User Validation
PDF
How To Connect To Active Directory PowerShell
PDF
How To List Files on Remote Server - PowerShell
PDF
How To List Files and Display In HTML Format
PDF
How To Check and Delete a File via PowerShell
PDF
Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...
PDF
How To Setup SSH Keys on CentOS 7
PDF
Windows PowerShell Basics - How To List PSDrive Info
PDF
How To List Nginx Modules Installed / Complied on CentOS 7
PDF
Windows PowerShell Basics – How To Create powershell for loop
PDF
How To Construct IF and Else Conditional Statements
PDF
How To Create PowerShell Function Mandatory Parameter and Optional Parameter
PDF
How To Create Power Shell Function Mandatory Parameter Value
PDF
How To Create PowerShell Function
PDF
How To Disable IE Enhanced Security Windows PowerShell
PDF
Nginx bind() to 0.0.0.0:9080 failed
PDF
How To Install and Configure Salt Master on Ubuntu
PDF
How To Protect SSH Access with Fail2Ban on RHEL 7
How to Fix Duplicate Packages in YUM on CentOS 7
How To Install and Configure GNome on CentOS 7
How To Connect to Active Directory User Validation
How To Connect To Active Directory PowerShell
How To List Files on Remote Server - PowerShell
How To List Files and Display In HTML Format
How To Check and Delete a File via PowerShell
Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...
How To Setup SSH Keys on CentOS 7
Windows PowerShell Basics - How To List PSDrive Info
How To List Nginx Modules Installed / Complied on CentOS 7
Windows PowerShell Basics – How To Create powershell for loop
How To Construct IF and Else Conditional Statements
How To Create PowerShell Function Mandatory Parameter and Optional Parameter
How To Create Power Shell Function Mandatory Parameter Value
How To Create PowerShell Function
How To Disable IE Enhanced Security Windows PowerShell
Nginx bind() to 0.0.0.0:9080 failed
How To Install and Configure Salt Master on Ubuntu
How To Protect SSH Access with Fail2Ban on RHEL 7

Recently uploaded (20)

PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPT
Teaching material agriculture food technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Getting Started with Data Integration: FME Form 101
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Encapsulation theory and applications.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Approach and Philosophy of On baking technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Empathic Computing: Creating Shared Understanding
Teaching material agriculture food technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
MYSQL Presentation for SQL database connectivity
Getting Started with Data Integration: FME Form 101
Per capita expenditure prediction using model stacking based on satellite ima...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Reach Out and Touch Someone: Haptics and Empathic Computing
Big Data Technologies - Introduction.pptx
Group 1 Presentation -Planning and Decision Making .pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Encapsulation theory and applications.pdf
Electronic commerce courselecture one. Pdf
SOPHOS-XG Firewall Administrator PPT.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Approach and Philosophy of On baking technology
Building Integrated photovoltaic BIPV_UPV.pdf

How To Install and Configure AWS CLI for Windows

  • 1. How To Install and Configure AWS CLI for Windows i | P a g e Table of Contents Overview.......................................................................................................................................................1 Applies To......................................................................................................................................................1 Pre-Requisites ...............................................................................................................................................1 Install AWS CLI ..............................................................................................................................................1 Download AWS CLI....................................................................................................................................1 Install AWS CLI ..........................................................................................................................................1 Installation Status .................................................................................................................................1 Installation Path....................................................................................................................................2 Configure AWS CLI ........................................................................................................................................2 Create Access Key ID.................................................................................................................................3 Download Access Key ID...........................................................................................................................3 Configure Access Key ................................................................................................................................4 List AWS Configure List .............................................................................................................................4 List IAM Access Key Info............................................................................................................................4 List IAM UserNames only..........................................................................................................................5 List Specific User Info................................................................................................................................5 List All IAM Users ......................................................................................................................................5
  • 2. How To Install and Configure AWS CLI for Windows 1 | P a g e Overview This guide will help in installing and configuring Amazon AWS CLI for Windows. Applies To  Amazon AWS, Windows  Tested on Windows 10 Pre-Requisites  None Install AWS CLI Installation comprises of two-step process, downloading and installing AWS CLI MSI installer. Download AWS CLI In order to Install the AWS CLI on Windows, first we have to download the appropriate MSI installer. Click on the below link to download, according to the Windows architecture (32 or 64 Bit) that you intend to install. AWS CLI MSI – Arch Download URL Windows (64-bit) https://s3.amazonaws.com/aws-cli/AWSCLI64.msi Windows (32-bit) https://s3.amazonaws.com/aws-cli/AWSCLI32.msi Note: 64-bit version of the AWS CLI does not currently work with Windows Server 2008 (version 6.0.6002). Please install 32-bit version of Windows. Install AWS CLI Run the downloaded MSI installer. And follow the instructions and confirm the installation. Installation Status To confirm the installation status, start the command prompt and run “aws --version”. Running the command will display the AWS CLI version installed on the system.
  • 3. How To Install and Configure AWS CLI for Windows 2 | P a g e Installation Path After installation, depending on the OS architecture, installation path will be as per the below table; OS Architecture Installation Path 64 Bit C:Program FilesAmazonAWSCLI 32 Bit C:Program Files (x86)AmazonAWSCLI Configure AWS CLI Before you initiating the AWS CLI configuration, we collate four information (parameters) listed below; To access the AWS Management console successfully. Parameters Information Required Comments One Access Key ID Is the access key generated in AWS IAM management console Two Secret Access Key Access key (password to login into AWS account) Three Default Region Name Optional; default region is “None”, It’s region where the CLI has to query
  • 4. How To Install and Configure AWS CLI for Windows 3 | P a g e Four Default Output Format Optional; default output is “None”, It’s output format each query executed Create Access Key ID To create the Access key, from the IAM dashboard, click on “Manage Security Credentials”; and choose the option “Access Keys (Access Key ID and Secret Access Key)” and click on “Create New Access Key” button. Note: Its recommended you regenerate the key every 90 days. Download Access Key ID Once a new “Access Key ID” is generated, click on “Download Key File”. You have to download the file before closing it, else you will not be able to download or retrieve it again.
  • 5. How To Install and Configure AWS CLI for Windows 4 | P a g e Configure Access Key To configure the access key, launch command prompt and run the command; aws configure List AWS Configure List To list CLI configured list, run the command; aws configure list List IAM Access Key Info To list of access key’s configured for the account, run the command; aws iam list-access-keys
  • 6. How To Install and Configure AWS CLI for Windows 5 | P a g e List IAM UserNames only List all users created in IAM, run the command; aws iam list-users --query "Users[].[UserName]" or aws iam list-users --query "Users[].UserName" List Specific User Info To verify if specific user exists to retrieve from IAM users, run the command; aws iam get-user --user-name [email protected] –output=json | find /I "UserName" List All IAM Users List all the users created in IAM, run the command; aws iam list-users