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...
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,...
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...
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...
Query AWS CloudTrail Logs Using CLI
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...