New Training: Clean Up AWS Cloud Resources using the AWS Tools for PowerShell
In this 5-video skill, CBT Nuggets trainer Trevor Sullivan shows how to practice good cloud hygiene by building automated processes to clean up unused resources. Watch this new AWS training.
Learn AWS with one of these courses:
AWS Cloud Automation
This training includes:
46 minutes of training
You’ll learn these topics in this skill:
Setting up Serverless Development Tools for Automated Cleanup
Configure a Sample Directory Service and WorkSpaces Environment
Develop AWS Lambda PowerShell Functions for Cleanup Tasks
Create IAM Role and Publish Lambda Functions
Build AWS Step Functions Workflow for WorkSpaces Cleanup
Which Version of AWS Tools For PowerShell Do You Need?
In 2019, Amazon made the AWS Tools for PowerShell for Windows generally available. This offers a way for engineers using the Windows OS platform a way to interact with AWS via a shell environment. These tools come in three different packages:
Each package offers the same functionality in regard to working with AWS. They are all SDKs for AWS, but they work slightly differently. AWS.Tools and AWSPowerShell.NetCore are cross-platform. AWSPowerShell is Windows-specific.
Though each does have different requirements and works slightly differently.
The first two packages, AWS.Tools and AWSPowerShell.NetCore, offer different components, or plugins, for the AWS SDK for PowerShell. AWS.Tools require a machine to be running PowerShell 5.1 or greater while AWSPowerShell.NetCore requires PowerShell 3-5.1 or version 6 or better to be installed.
AWSPowerShell is a monolithic PowerShell bundle that comes with all the AWS tools built-in. This package is installed by default on Windows-based Amazon Machine Images.
Engineers will need to know which version of PowerShell is installed in their development environment before downloading and configuring AWS Tools for PowerShell. For specific instructions for installing each package, check out the AWS documentation page for Installing the AWS Tools For PowerShell on Windows.