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:
- Understanding of AWS Authentication, Authorization & Accounting
- Create Your First Amazon S3 Bucket
- Configuring a Static Website With S3 And CloudFront
Updates
April 27th, 2023 - Resolved S3 issue
March 30th, 2023 - Updated screenshots and instructions to reflect latest UI
March 12th, 2023 - Resolved an issue that caused the lab to fail to set up on rare occasions
January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab
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.