Friday, September 30, 2022

Trending Now

AWS Lambda Layer example in python

0
Lambda Layers was one of the most exciting news out of AWS re:Invent 2018 for me. Using layers it is now possible to move runtime dependencies out of your function code by placing them 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 make a layer for the Python package requests. This will...
S3 with default SSE

Create S3 Bucket using Terraform

8
Updated on 17th June 2022. Tested build with Terraform version 1.2.3 and the latest AWS Provider v4.19.0. The latest provider has some changes related to adding lifecycle configuration. Background In an earlier post, I provided some...

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 the code or pass it as an environment variable to...

Set Retention for CloudWatch Logs

4
Amazon provides us with CloudWatch logs to monitor, store and access log from various AWS services like, EC2 instances, Route 53, RDS, AWS CloudTrail, AWS VPC Flow Logs, Lambda and many others. By default CloudWatch...

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 a need to be able to quickly see when an...

Random Post

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

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

How to start and set DNS for an EC2 server using python

In this post, I will show how to start a stopped EC2 server and set a public DNS record for it. Background: AWS has a default...