...

/

AWS CLI Crash Course

AWS CLI Crash Course

Understand the basics of AWS CLI and install it on your system.

Installing AWS CLI

The Educative platform is enough to take you through the course, and you can learn all the concepts quickly. For this course, it’s best to utilize the code playground provided on the platform. It’s safe and easy to use. However, you can also install the AWS CLI locally on your machine.

AWS provides a simple installer for setting up the CLI on your local machine, depending on your operating system. You can install it and run the three configure commands above. That will set up the AWS CLI for you.

But again, for this course, it’s best to utilize the code playground.

Linux

Linux users shouldn’t have a problem with such tasks. The installation is straightforward.

Press + to interact
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

The code above is easy to understand. First, it downloads the AWS CLI installer zip file. It then unzips it and runs the install script in there. That takes a few seconds.

Mac

Installation on Mac is equally simple.

Press + to interact
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /

This code downloads the PKG file and then runs the Mac installer to install the AWS CLI. ...