We'll begin from first login to AWS Cloud Shell, discovering the pwsh shell, AWS PowerShell modules, command syntax, common command features and shortcuts, and how PowerShell increases your understanding and ability to build confidently in the cloud.
- Cloud consultant, instructor, learner
- Focus on Azure but supporting AWS as well
-
PowerShell is like a lever, it makes learning and building in AWS or any cloud provider easier.
-
Investing effort and focus will pay off your entire cloud career.
-
My goal today is to get you interested and equipped to get started.
AWS is big, PowerShell is big, the tools around them are big. Just take it in a step at a time, ask for help from your community, and use the resources shared below to learn at your own pace. This is a code intensive session, although it can be intimidating, it's also a great way to learn cloud. If you want to learn cloud fast, learn to love reading code!
- AWS is made up of hundreds of services, exposed as REST APIs, and all work in AWS is done through these APIS
- AWS SDKs and tools make working with these services easier
- AWS PowerShell Tools enables us to work with AWS services from PowerShell
2. Bookmark the AWS Tools for PowerShell User Guide and the Cmdlet Reference
3. Run the AWS Cloud Shell
...
-
The scripts in this repo are for getting started with AWS PowerShell modules & commands.
-
While the AWS Cloud Shell is useful to get started, you will want to learn and use a tool to work with scripts.
-
The best way from within Visual Studio Code (VSCode), in a Linux, Mac or Windows workstation with PowerShell 7 installed. See how to set that up.
-
VSCode has a built in terminal, it is useful to have another terminal window open as well to run commands like
Get-Help
. -
You can clone this repo into VSCode to explore and enhance the scripts. See how to do that.
-
Review each script and run interesting commands one at a time with the
Run Selection
command, orF8
. -
Extend these exporation scripts, and create your own exploration.
-
Pick a small task you need to do in AWS and solve it with a PowerShell script. Then share it!