Introduction to the AWS CLI

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Creating an Access Key
lock
Connecting to an EC2 Instance Using Amazon EC2 Instance Connect
lock
Configuring the AWS CLI
lock
Working with the AWS CLI
lock
Operating Amazon S3 with the AWS CLI
lock
Validate AWS Lab

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h
Students7706
Ratings
4.6/5
starstarstarstarstar-half

Description

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.

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

Prerequisites

This is a beginner-level Lab. Knowledge of the following will be beneficial but is not required:

  • Linux at the command-line
  • Basic features of the IAM service
  • Basics of S3 including buckets, objects, and access control lists (ACLs)

The following course and labs can be used as prerequisites:

Updates 

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

About the Author
Students22669
Labs7
Courses1

Eric Magalhães has a strong background as a Systems Engineer for both Windows and Linux systems and, currently, work as a DevOps Consultant for Embratel. Lazy by nature, he is passionate about automation and anything that can make his job painless, thus his interest in topics like coding, configuration management, containers, CI/CD and cloud computing went from a hobby to an obsession. Currently, he holds multiple AWS certifications and, as a DevOps Consultant, helps clients to understand and implement the DevOps culture in their environments, besides that, he play a key role in the company developing pieces of automation using tools such as Ansible, Chef, Packer, Jenkins and Docker.