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...
Pass db credentials to Lambda using Parameter Store
If you are connecting to a RDS server from Lambda using native authentication method then you have to store user and password somewhere in...
Set Retention for CloudWatch Logs
Amazon provides us with CloudWatch logs to monitor, store and access log from various AWS services like, EC2 instances, Route 53, RDS, AWS CloudTrail,...
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...
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...