Skip to content

Brief introduction to AWS Cli for CloudSkills Community

License

Notifications You must be signed in to change notification settings

CloudSkills/aws-cli-intro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro to AWS Command Line Interface (AWS CLI)

David Cobb

  • (Azure) cloud consultant, instructor, learner
  • Recent focus on Azure but supporting AWS as well

Why Command Line?

A GUI makes simple things easy and difficult things impossible.

The command like makes simple things difficult and difficult things possible.

AWS CLI, and shell in general, is a big learning curve.

Investing effort and focus will pay off your entire cloud career.

My goal today is to get you interested and equipped to get started.


Where to Begin?

2. Bookmark the docs for the latest V2 version (you'll live in the docs)

Beware version 1 documentation and blog posts!

3. Run the AWS Cloud Shell


What Shell?

  • Bash, zsh, *sh (Linux and WSL only)
  • PowerShell (Windows and Linux, cross-platform)
  • Each has idiosyncracies, with special scripting & syntax rules
    • Example, line continuation character is \ for bash ` (backtick) for powershell
    • Quotes with Strings

Much of the frustrating part of learning AWS CLI comes from the challenge of learning the shell and working with the differences between them.


How do I get started with AWS CLI?

Install it, or...

Run from AWS Cloud Shell


AWS Cloud Shell

Shell choices of bash, powershell or zsh

Actions

  • fonts
  • tabs, rows, columns
  • Editor
    • vim ( :( )
    • sudo yum install nano ( :) )

Let's have a look around

aws help


The Basics

Wrangling JSON is a major element of working in AWS CLI


DEALING WITH JSON

In Bash / zsh

  • jq

In PowerShell / pwsh

  • ConvertFrom-JSON

DEALING WITH OVERWHELM

Commands to start

  • aws configure
  • aws iam
  • aws s3
  • aws ec2

HOMEWORK

  • Get hands-on or forget everything!

  • Find interesting commands

  • Make a learning project

  • Ask for help on CloudSkills #aws slack channel


Q & A


References

Resources

About

Brief introduction to AWS Cli for CloudSkills Community

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published