Automatically Make Snapshots for EC2

A quick Google search reveals that there are quite a few different approaches for automatically creating snapshots for EC2 images (such as here,┬áhere and here). All of these are rather difficult to do. Thankfully, after some more searching around I found a great way to schedule regular snapshots using AWS CloudWatch. CloudWatch supports a built-in … Continue reading Automatically Make Snapshots for EC2

AWS Lambda: Cross-account pass role is not allowed.

Today I came across the following exception while working with the AWS SDK for Amazon Lambda: com.amazonaws.AmazonServiceException: Cross-account pass role is not allowed. (Service: AWSLambda; Status Code: 403; Error Code: AccessDeniedException; Request ID: xxx) At first I was a bit puzzled where this exception might come from; but when I found out what the problem … Continue reading AWS Lambda: Cross-account pass role is not allowed.