Tag: AWS
Lambda Function To Remove Old EC2 Instances
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
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
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...
Find AWS Resources with missing tags
Everyone who works with AWS resources at some point of time is asked how much is the spend for a project and in a...
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 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...