Friday, September 30, 2022
Home Tags Python

Tag: Python

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...
Monitor See below for Photo Credit

Site Monitoring Using A Lambda Function

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

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

Lambda Function To Remove Old EC2 Instances

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

ECS Container state changes

0
Amazon Elastic Container Service - ECS allows you to easily run and scale containerized applications on AWS. You can launch multiple containers in matter...

Setting DynamoDB TTL with Lambda Python

2
Background I use a lot of EC2 Spot instances and for audit/debugging purposes I like to keep track of EC2 instance state changes. I had...