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...
AWS Lambda Layer for Python package requests
In my previous post, I made a layer for pymysql to access an RDS from Lambda. In this post, I will show how to...
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...
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...
Schedule run of Step Function
In a previous post here I described how to start a server and set it's DNS record. In this case, I had to manually...