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...
Create S3 Bucket using Terraform
Updated on 3rd Sep 2021. Tested build with Terraform version 1.0.6
Background
In an earlier post, I provided some information on using AWS Encryption SDK and...
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...