AWS CLI

Writing it down because I keep forgetting...

Docsarrow-up-right

What is the AWS Command Line Interface?

  • An open source tool that allows you to interact with AWS services using the command-line shell

  • With AWS CLI, you can run commands with minimal configuration from your desired terminal program that implement the same functionality provided by the browser-based AWS Management Console

    • Linux shells

      • Run commands on Linux or MacOS using common shell programs like bash, zsh, tcsh

    • Windows command line

      • On Windows, run commands using PowerShell or Windows command prompt

    • Remotely

      • Run commands on EC2 instances through remote terminal programs like PuTTY, SSH, or AWS Systems Manager

Installing the AWS CLI version 2 on Linux

1. Download the installation file

Using curl command

2. Unzip the installer

3. Run the install program

4. Confirm the installation

Configuring the AWS CLI

configure

ex)

Checking region

Last updated