The AWS documentation for AWS Tools for Powershell is here: https://aws.amazon.com/powershell/
If you run into trouble using the instructions below, please consult the AWS documentation.
Open Windows PowerShell using Run as administrator
If you have not done so already, setup your AWS credentials
Set-AWSCredentials -AccessKey <Your access key> -SecretKey <Your secret key> ` [ -SessionToken <your session key> ] -StoreAs <SomeProfileName> Initialize-AWSDefaults -ProfileName <SomeProfileName> -Region us-east-2
Run the following commands to install these respective packages using PowerShellGet. It is recommended you run these commands one by one. They will each require a response - you should respond
[A] Yes to All.
Install-Module -Name AWS.Tools.Common Install-Module -Name AWS.Tools.EC2 Install-Module -Name AWS.Tools.RDS Install-Module -Name AWS.Tools.AutoScaling
If you get this error:
Install-Module : Administrator rights are required to install modules...,
then make sure you are running PowerShell as Administrator.
For other problems with authorization to access your AWS account, consult AWS Tools for Windows PowerShell - Using AWS Credentials
Return to the Lab Guide