How to Install AWS Command Line Interface (AWS CLI) on Ubuntu

This tutorial explains, how to install AWS CLI on ubuntu 18.04 or higher version.

AWS CLI

Don't Miss

Amazon Command Line Interface (AWS CLI) is a command line tools to manage our Amazon web service. Aws cli provides direct access of public api of Amazon Web Service. We can direct access any S3 directory, Instances and all features that provided by Amazon Web Service.

Install AWS CLI

To install Aws Cli on the ubuntu, run the following command on terminal:

$ sudo apt-get update
$ sudo apt-get install awscli

Now press y and then press to continue.
awscli-install

Check Version

Now Aws Cli installed on the system. We can check version of AWS by running below command:

$ aws --version

Configure AWS Account Using AWS CLI

We need to configure our AWS account with credentials to access Amazon Web Service. Need to AWS Access Key ID & AWS Secret Access Key ID to configure the same. Run the following command to configure AWS Cli:

aws configure

aws-configure
aws-configure

Steps:

    • Type in AWS Access Key ID then press .
    • Type AWS Secret Access Key ID and press .
    • Type in your default region name. It’s something like us-east-1.
    • Now type in your default output format. You may choose between the default, in which case just press .

Now it successfully configured. We can manage our Amazon Web Services using AWS CLI.

Now, we have configured AWS on our system. We can start using the Aws Cli. The configuration files of AWS CLI is stored in ~/.aws/config and ~/.aws/credentials file.

You can also see the Aws Cli documentation here

LEAVE A REPLY

Please enter your comment!
Please enter your name here

564FansLike

Recent Posts

How to Install & Setup the Java Development Kit (JDK)

If you do not have the newest JDK already put in in your pc, comply with the steps under. You have to have the JDK put in to run applications. To see which version of...

How to Setup Kotlin Plugin in Android Studio Tutorial

Kotlin is a programming language launched by JetBrains, the official designer of essentially the most intelligent Java IDE, named Intellij IDEA. One nice information of shifting to Kotlin is, you...

How to Parse Json in Android Application

JSON stands for JavaScript Object Notation.It is an independent data trade format and is the perfect various for XML. This chapter explains the way to parse the JSON file and...

Related Articles

How to Install & Setup the Java Development Kit (JDK)

If you do not have the newest JDK already put in in your pc, comply with the steps under. You have to have the JDK put in to run applications. To see which version of...

How to Setup Kotlin Plugin in Android Studio Tutorial

Kotlin is a programming language launched by JetBrains, the official designer of essentially the most intelligent Java IDE, named Intellij IDEA. One nice information of shifting to Kotlin is, you...

How to Parse Json in Android Application

JSON stands for JavaScript Object Notation.It is an independent data trade format and is the perfect various for XML. This chapter explains the way to parse the JSON file and...