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...
ECS Container state changes
Amazon Elastic Container Service - ECS allows you to easily run and scale containerized applications on AWS. You can launch multiple containers in matter...
Start EC2 and set DNS in CloudFlare using Lambda
In my previous posts, I showed two ways to set DNS for an EC2 server that does not have an Elastic IP attached to...
AWS Launch Templates
Launch Templates is a new capability from AWS that allows one to launch servers for an Auto Scale group, Spot Fleet and the regular...
Set Retention for CloudWatch Logs
Amazon provides us with CloudWatch logs to monitor, store and access log from various AWS services like, EC2 instances, Route 53, RDS, AWS CloudTrail,...
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...