Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » AWS/Azure/OpenShift » AWS Command-Line Interface: How to configure AWS CLI [Part 1]

AWS Command-Line Interface: How to configure AWS CLI [Part 1]

Posted on 18/12/201826/09/2023 Christian By Christian No Comments on AWS Command-Line Interface: How to configure AWS CLI [Part 1]
AWS CLI

The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts. The AWS CLI v2 offers several new features including improved installers, new configuration options such as AWS Single Sign-On (SSO), and various interactive features. Kindly refer to some of these related guides: AWS ec2 and multi-cloud, How to Deploy MVC Application to AWS EC2 Using RDP,  How to Deploy Dynamic Website to AWS EC2, How to host Static Website and Versioning on AWS S3, How to deploy an Angular App to AWS S3. Note: The AWS CLI must be configured on your local workstation simply by downloading it from AWS.

There are different ways to install this but my preferred method is by using an installer that can be downloaded from this site.  

Use-Case: Install AWS CLI on Windows

Note: You can also have it installed on macOS and Linux. Please See the URL above for the steps. The installer can be downloaded here for Windows:

After installation, Please verify, that it has been installed correctly by using the command below.

aws --version

Follow the next steps below to configure the AWS CLI

$aws configure
AWS Access Key ID [None]: Your Access Key ID 
AWS Secret Access Key [None]: Your Secret Key
Default region name [None]: Enter your desired region in this format (us-west-2)
Default output format [None]: I usually leave this by default as (json)

When you type this command, the AWS CLI prompts you for four pieces of information and stores them in a profile (a collection of settings) named default. This profile is then used any time you run an AWS CLI command that doesn’t explicitly specify a profile to use. Kindly refer to this link for more information.

I hope you found this blog post helpful. Please let me know in the comment session if you have any questions.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift Tags:AWS, AWS CLI

Post navigation

Previous Post: How to prevent emails from going into a junk folder in Office365
Next Post: How to Set Quicktime or VLC as a default player on macOS

Related Posts

  • Deploy to ACI
    Create Azure Container instance to deploy your image to Azure using Azure CLI AWS/Azure/OpenShift
  • Slide2 1
    How to deploy WordPress on Azure App Service AWS/Azure/OpenShift
  • Azure AD Logo
    Integrating on-premise AD with Azure Active Directory and MFA AWS/Azure/OpenShift
  • featureimagepshell 1
    Running PowerShell remotely on Azure VMs AWS/Azure/OpenShift
  • adfs
    Guide on federating ADFS with Azure Active Directory AWS/Azure/OpenShift
  • front
    How to trigger SQS from a Lambda Function in the same account AWS/Azure/OpenShift

More Related Articles

Deploy to ACI Create Azure Container instance to deploy your image to Azure using Azure CLI AWS/Azure/OpenShift
Slide2 1 How to deploy WordPress on Azure App Service AWS/Azure/OpenShift
Azure AD Logo Integrating on-premise AD with Azure Active Directory and MFA AWS/Azure/OpenShift
featureimagepshell 1 Running PowerShell remotely on Azure VMs AWS/Azure/OpenShift
adfs Guide on federating ADFS with Azure Active Directory AWS/Azure/OpenShift
front How to trigger SQS from a Lambda Function in the same account AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • how to install software packages from source files
    How to install a software package from source file in Linux Linux
  • Featured image
    Latest Improvement to File Explorer on Windows 11 Windows
  • officeinstallationandactivation
    How to install and activate Office 2019 on your Mac PC Microsoft Exchange/Office/365
  • http to https redirection
    URL Rewrite: How to redirect from HTTP to HTTPS Web Server
  • S3 Bucket 1
    How to delete AWS S3 Bucket and Objects via  AWS CLI from Linux AWS/Azure/OpenShift
  • Uninstall MicrosoftDefenderUpdate
    Remove Microsoft Defender Update on Windows 10 & Server Windows
  • Azure backup for MSSQL
    Restore MSSQL Server on Azure VMs using Azure Backup Network | Monitoring
  • Screenshot 2022 03 20 at 20.37.16
    Setup HTTPS users using Git credentials and Pushing Code to AWS CodeCommit AWS/Azure/OpenShift

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,814 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.