An update on Windows EC2 Instance Snapshotting with Powershell

A while back, I did a post on creating snapshots of EC2 instances with Powershell here. Well, in November, AWS released an option to do VSS-aware snapshots via SSM.  You'll find AWS' post about that here. From the AWS post... To create VSS-enabled EBS snapshots by using AWS Tools for Windows PowerShell: Send-SSMCommand -DocumentName AWSEC2-CreateVssSnapshots … Continue reading An update on Windows EC2 Instance Snapshotting with Powershell

Download and Install Applications from the Web with Powershell

For various administrative purposes, it can be useful to download files and install via Powershell. There are a few ways to do it, but with Powershell 5.1, I'll leverage invoke-webrequest and start-process. In the example below, I'm downloading Windows Powershell for AWS installer, using /qn to install silently. As always, don't forget to Run As … Continue reading Download and Install Applications from the Web with Powershell

What To Do If You Lose Your EC2 Private Key

This hasn't happened to me, but knowing that it could encourages me to take note of how to address the scenario if it occurs. I came across a great example here (great step-by-step instructions). To sum up: Shutdown your instance Create an AMI Launch an instance from an AMI where you can create/choose a private … Continue reading What To Do If You Lose Your EC2 Private Key

Changing iDrac Settings via OMSA on an ESXi host

Let's say you need to reconfigure your ESXi host's iDrac.  Assuming you have OpenManage installed on the ESXi host, this is very simple... Log into OpenManage (be sure to check ignore certificates when logging in). The username and password will be the same as your ESXi root credentials. Expand System > Main System Chassis > … Continue reading Changing iDrac Settings via OMSA on an ESXi host

Resetting the password on your Windows EC2 instance via SSM

I came across and interesting approach recently for resetting a misplaced/undocumented Windows administrator passwords in a reddit post.  This technique is only valid for instances with SSM installed. "SSM Agent is installed by default on Windows Server 2016 instances and instances created from Windows Server 2003-2012 R2 AMIs published in November 2016 or later." As … Continue reading Resetting the password on your Windows EC2 instance via SSM