Introduction to the AWS CLI


293 students completed the lab in ~27m

Total available time: 45m

128 students rated this lab!

Lab Overview

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.

During this Lab, you will learn how to configure the AWS CLI, leverage the built-in help tool, and set up an S3 website using the AWS CLI.



This is a beginner level Lab. However, in order to complete the Lab Steps you should be able to:

  • Use Linux at the command-line
  • Describe the basic features of the IAM service
  • Explain the basics of S3 including buckets, objects, and access control lists (ACLs)

Consider the following Labs as prerequisites:


Learning Objectives

By the end of this Lab, you should be able to:

  • Configure the AWS CLI
  • Use the AWS CLI help to get more information
  • Create an S3 bucket with the AWS CLI
  • Send files from your local machine to S3 buckets using the AWS CLI
  • Configure static website hosting on Amazon S3 using the AWS CLI


Do you have questions about this Lab? Contact our cloud experts by sending an email to

Follow these steps to learn by building helpful cloud resources

Logging in to the Amazon Web Services Console

Your first step to start the Lab experience

Create an Access Key

Create an Access Key to configure the AWS Command Line Interface (CLI)

Connecting to an Instance using SSH

Use an SSH client to connect to a running instance

Configuring the AWS CLI

Configure the AWS Command Line Interface (CLI)

Working with the AWS CLI

Learn the basics of the AWS CLI and where to get additional information

Operating S3 with the AWS CLI

In this step, you will learn how to create buckets, sync files set ACLs and enable static website hosting for an S3 bucket