Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Take Command of AWS Command Line

David Cobb
January 20, 2021

Take Command of AWS Command Line

Cloud providers like AWS continually deliver new features and capabilities each day, like pieces to an ever expanding puzzle. I've found an edge to the puzzle in AWS command line, and I'll share that edge with you in this beginner level session.

We'll begin from first login to AWS Cloud Shell, discovering command syntax, common command features and shortcuts, and how command line increases your understanding and ability to build confidently in the cloud.

[Slides from Mar 2019]

David Cobb

January 20, 2021
Tweet

More Decks by David Cobb

Other Decks in Technology

Transcript

  1. Take Command of AWS Command Line David Cobb linkedin.com/in/davidcobb South

    Florida Code Camp March 2, 2019 https://www.fladotnet.com/codecamp/
  2. David Cobb [email protected] linkedin.com/in/davidcobb Presenter Past Roles: Tech Support, Network

    Admin, Web Developer, DBA Current: Systems Architect for CheckAlt.com Continuous Learner Certified: Azure MCSA Cloud Admin AWS Sysops Associate MCT, SQL
  3. Goals for this session • Focusing on the basics of

    AWS command line, also called aws- cli. • Helping beginners through the hardest part, the first mile of the learning process. • Encourage students of the cloud to invest in learning command line, one edge of the puzzle of mastering cloud!
  4. •“A gui makes simple things easy and difficult things impossible.

    The command like makes simple things difficult and difficult things possible.” –Random internet person Why is command line the best thing ever?
  5. Why cloud command line? •Investing in command line skill in

    the cloud will enable adaptability and productivity in any cloud… • AWS, Azure, Google Cloud Engine and others. •Foundational skill for DevOps and many I.T. roles in the cloud
  6. What AWS features can be managed from AWS Command Line?

    • New AWS IaaS features and services provide full AWS Management Console functionality through the API and CLI at launch or within 180 days of launch (link). • 'Only’ these services here (176 in Feb 2019).
  7. • Use the docs! https://aws.amazon.com/cli/ • Linux • Install with

    pip • pip install awscli • Windows • Use installer msi • Bonus points: Use chocolatey! • choco install awscli How do we start? Install AWS-CLI onto your shell
  8. Feeling brave? Like previews? Try AWS-Shell • An alternative to

    installing awscli in your shell, you can try this shell instead • ‘The interactive productivity booster for the AWS CLI’ • In developer preview • https://github.com/awslabs/aws-shell • You can install the aws-shell using pip: • $ pip install aws-shell • Run aws-shell from your shell • Worth trying out as you get familiar with aws-cli
  9. My aws-cli ‘stack’ •OS - Win 10 Pro •Shell –

    PowerShell 5.1 •Editor – Visual Studio Code
  10. •Create AWS account and dive in! •Choose free tier options

    where possible •Deprovision objects when you're done learning Got AWS?
  11. •Login to console •Use IAM • create user, right level

    of access (admin) • CLI access only •(Demo) Create your cli user
  12. •Did I encourage you to jump into cloud command line?

    •Please reach out with any and all feedback ☺ • [email protected] / linkedin.com/in/davidcobb •Thanks! Questions?