Introduction to the AWS CLI and AWS CloudShell
Command-line access to AWS services from your machine or the browser.
- 1 lesson
- Module quiz
Every action in AWS is an API call, and developers often need to make those calls directly: to try out a service, to automate a task in a script, or to investigate a problem. Doing this through the console is slow and cannot be repeated reliably.
The AWS Command Line Interface (AWS CLI) is a tool for calling AWS APIs from a terminal or a script, with a command for nearly every operation of every service. AWS CloudShell is a browser-based shell, opened from the console, that has the CLI preinstalled and is already signed in as the console user, so commands can be run without installing or configuring anything. Both are free; the resources they create or use are charged as usual.
Where the CLI fits
The CLI uses the same credential sources as the AWS SDKs, so understanding how it finds credentials also explains how application code does. The exam tests profiles, the order in which credentials are found, options for filtering output and paging through long results, and checking permissions without making changes. The hands-on labs in this course use the CLI in CloudShell throughout.
How this module is organised
The module has a single lesson, Working with the AWS CLI and AWS CloudShell, which explains profiles and credentials, the most useful options, and AWS CloudShell.
- Working with the AWS CLI and AWS CloudShell Lesson 1
- Practise and review
- Test your knowledge 5 questions