In this blog post, we will discuss how to install and configure AWS CLI on Windows OS. Welcome to CloudAffaire and this is Debjeet. Subscribe to our newsletter below to get awesome AWS learning materials delivered straight to your inbox.How To Install And Configure AWS CLI On Windows OS
If you have any question, please feel free to drop in comment. In this post( How to Install and Configure AWS CLI on Windows), we downloaded the MSI installer, installed the CLI v2 and then configured the CLI with Access key and secret Key.Īfter the configuration, we verified by doing an s3 list bucket command and successfully verified the configuration. ConclusionĪWS CLI is really handy to deal with AWS services through a unified command line tool. Go to Control Panel -> Programs and Features -> Uninstall a programĬlick on Yes and it will uninstall.
Un-installation process is similar to any other windows program. You have successfully installed and configured AWS CLI v2. (The actual list will differ obviously as per buckets present in your account.) aws s3 lsĪnd tada, you see all your bucket listed like below. Issue an s3 ls command to list all of your s3 bucket.
Let’s verify if our configuration is working fine. However, you can specify any one of below value-Įnter information and hit enter one by one like you see below. Once you hit enter, CLI will prompt you for below information one by one-Īccess key pair(Access Key ID and Secret Access Key) are used to sign programmatic request that you make to AWS services.ĭefault region is the region your request is sent to if you don’t specify a region explicitly in your requestĭefault output format means how the results are formatted. In your command line, issue below command. We have AWS Access Keys/Secret key handy now. Never ever ever generate and use Access key pair for your root account Configure AWS CLI using aws configure.
So, please download the key straight away.
If the installation is successful, you see something like below. Open command prompt, and enter below command aws -version Open command prompt by going start menu and searching for cmd So ideally it’s time to verify the installation. Once, the installation is finished, click on Finish. Run the Downloaded installer by opening it. How to Configure AWS CLI 1.How to install AWS CLI on Windowsĭownload the latest version of CLI MSI installer using below linkĪs soon as you click on the link, the MSI installer is downloaded.Handy Access Keys-Secret keys /Permission to generate them Let’s break this tutorial into two parts.A 64-bit version of Windows XP or later.Therefore, this tutorial focuses on CLI v2(major latest version). As per AWS new features are not back-ported to v1 hence we must use v2 only. Important Note: Please note that, AWS recommends to use CLI v2. Suggested Read: 5 Ways to Create and Manage AWS Resources What is AWS CLI?ĪWS CLI or Command Line Interface is an amazing unified tool from AWS which lets you create and manage AWS resources from one place.Īs the name says, you do it all from the command line either manually or automating the API calls through scripts. So, if you are someone who interacts a lot with AWS services, I am sure, having CLI at the reach of your fingertips is gonna make your life a lot easier. In today’s post, I will help you install and configure AWS CLI on windows machine.ĪWS CLI makes it easy to create and manage various AWS resources. How to Install and Configure AWS CLI on Windowsĭear Reader, Hope you are well today ?.