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...
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...
Query AWS CloudTrail Logs Using CLI
Background
AWS CloudTrail is an AWS service that helps you enable governance, compliance, and operational and risk auditing of your AWS account. Actions taken by...