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...
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,...
Lambda Function To Stop Long Running EC2 Instances
Background
While working in my personal AWS account, sometimes I forget to shut EC2 instances down. Most of these instances do not cost much to...
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...