Thursday, June 8, 2023

Lambda Function To Stop Long Running EC2 Instances

0
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

5
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

0
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

2
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

1
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

0
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...