Friday, September 30, 2022
Monitor See below for Photo Credit

Site Monitoring Using A Lambda Function

Background I use a site monitoring service, which allows me to monitor my site by running a check every 5 minutes. When the site is...

Set Retention For CloudWatch Logs Using A Lambda Function

In one of my earlier post, I demonstrated how one could set retention for CloudWatch Logs using CLI command that could be run from...

Build and Push Docker image to Amazon ECR

Background In this post I am going to share a bash script that I use to build a docker container image from a Dockerfile and...
S3 with default SSE

Create S3 Bucket using Terraform

Updated on 17th June 2022. Tested build with Terraform version 1.2.3 and the latest AWS Provider v4.19.0. The latest provider has some changes related...

Update Image Using Packer

Background Recently I published a post to show how to remove old EC2 instances using a Lambda function. This in itself does not do much...

Lambda Function To Remove Old EC2 Instances

Background The firm where I am working right now has a strong emphasis on security for infrastructure in the public cloud. One of the security...