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

Concept of Session in Laravel Tutorial

Sessions are used to store details about the user throughout the requests. Laravel supplies various drivers like file, cookie, apc, array, Memcached, Redis, and database to handle session data. By default, file driver is used as a result of it's light-weight....

Laravel Url Generation Tutorial

Our web application revolves around routes and URLs. After all, they're what direct our users to our pages. At the end of the day, serving pages is what any web application should do. Our users may...

Concept of Laravel Views Tutorial

In MVC framework, the letter "V" stands for Views. It separates the application logic and presentation logic. Views are saved in resources/views listing. Generally, the view contains the HTML which might be served by the application.

Related Articles

Concept of Session in Laravel Tutorial

Sessions are used to store details about the user throughout the requests. Laravel supplies various drivers like file, cookie, apc, array, Memcached, Redis, and database to handle session data. By default, file driver is used as a result of it's light-weight....

Laravel Url Generation Tutorial

Our web application revolves around routes and URLs. After all, they're what direct our users to our pages. At the end of the day, serving pages is what any web application should do. Our users may...

Concept of Laravel Views Tutorial

In MVC framework, the letter "V" stands for Views. It separates the application logic and presentation logic. Views are saved in resources/views listing. Generally, the view contains the HTML which might be served by the application.
WP2Social Auto Publish Powered By : XYZScripts.com