Update an AWS IAM Policy using PowerShell

This is a script I wrote to update an AWS IAM policy using the AWS PowerShell toolkit.  It is used in conjunction with AWS SES or Simple Email Service to allow easy editing of the list of email addresses that a particular IAM account is allowed to send from.

Continue reading “Update an AWS IAM Policy using PowerShell”

Create an AWS SNS or Simple Notification Service Subscription

You may want to receive email alerts about certain events within your AWS environment.  To do this you will need to create an SNS or Simple Notification Service Subscription which we will go through in this post.

Continue reading “Create an AWS SNS or Simple Notification Service Subscription”

Manage AWS from Windows 10 using AWS Tools for PowerShell

If you are primarily a Microsoft sysadmin and are also responsible for looking after an AWS environment the AWS Tools for PowerShell will come in useful.  In this post we will go through how to connect PowerShell your AWS environment and run a simple command.

Continue reading “Manage AWS from Windows 10 using AWS Tools for PowerShell”

Cancel an AWS ‘transfer to VTS’ to your storage gateway

If you use an AWS Storage Gateway as your virtual tape library you may accidentally move one (or more) of your tapes to archive (export in Backup Exec).  Once you initiate this process there is no way to stop it in the AWS console!  You will just see the Transfer to VTS message and have to wait a very long time.  Fortunately you can stop it using the AWS CLI.  You will need your gateway arn and your tape arn (you can find these in Backup Exec) and stop the transfer one tape at a time.

Continue reading “Cancel an AWS ‘transfer to VTS’ to your storage gateway”