To use the aws utility to perform tasks using AWS CLI, you must create a configuration file. Create a .aws-config file in your $HOME path.
we can perform task using aws cli on windows with access key. Windows AWS EC2 instance to host a Web application – Part 1 Hello,In this article I will discuss about how to set up an EC2 instance to expose a NodeJS app hosted. Running Windows 10 on AWS EC2 Downloading the image. eg /root/.aws-config 4. Both of these can be found in the .CSV file that you just downloaded. AWS vmimport supported versions: Microsoft Windows 10 (Professional, Enterprise, Education) (US English) (64-bit only) Download the windows image you want. I have installed AWS CLI and configured with the command "aws configure", and entered my access key and secret key. You see a prompt asking for your public ke. This is Windows 2008 Standard server. Type aws configure and press Enter. AWS Configure. The configuration file contains a number of pieces of information, including both your public and secret keys. EC2Config starts when the instance boots and performs tasks during startup and each time we stop or start the instance. Copy the following credentials to the .aws-config file and enter you AWS access and secret key id in the required fields. Windows AMIs prior to Windows Server 2016 include an optional service called the EC2Config service (EC2Config.exe). The Windows Task Scheduler is run as "[MyServer]/Administrator" account. AWS will now prompt you to enter four pieces of information. The following steps help you perform this configuration task: Open a command prompt or terminal window. We can install and configure multiple AWS profiles on the Windows machine. You will be asked for your access key ID and your secret access key. It's a good idea to copy and paste these values directly from the .CSV file, rather than trying to type them manually. That is why it runs if I double click the batch file. The application will be visible to the outside world as well and anyone should be able to browse the application from his or her system.