Friday, September 30, 2022

How to detect change in AWS Security Group and take action

1
Security Groups are virtual firewalls that control the traffic to your AWS resources like EC2 and RDS. Your instances must have at least one...

AWS Step Function to start a server and set DNS

0
In my previous post here I shared information on how to start an EC2 server and then set its DNS. This needed a host to...

Serverless – Scale up ECS Service with Lambda and Cloudwatch Events

0
Background When your service runs on an Auto Scale Group, it is very easy to add schedules to it to scale the service at a...

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

Pass db credentials to Lambda using Parameter Store

0
If you are connecting to a RDS server from Lambda using native authentication method then you have to store user and password somewhere in...

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