Tuesday, May 18, 2021

Trending Now

Monitor See below for Photo Credit

Site Monitoring Using A Lambda Function

0
Background I use a site monitoring service, which allows me to monitor my site by running a check every 5 minutes. When the site is down an e-mail alert is sent out. This service has...

Lambda Function To Remove Old EC2 Instances

0
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 mandate is that all EC2 instances in any auto scaling...

Build and Push Docker image to Amazon ECR

0
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 then upload the built image to Amazon Elastic Container Registry. Getting...
S3 with default SSE

Create S3 Bucket using Terraform

8
Updated on 4th Dec 2020. Tested build with Terraform version 0.14 Background In an earlier post, I provided some information on using AWS Encryption SDK and in that post, I created a KMS key using the...

Set Retention For CloudWatch Logs Using A Lambda Function

0
In one of my earlier post, I demonstrated how one could set retention for CloudWatch Logs using CLI command that could be run from cron or a CI/CD server like Jenkins. A user asked if...

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

Random Post

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

Set Retention For CloudWatch Logs Using A Lambda Function

In one of my earlier post, I demonstrated how one could set retention for CloudWatch Logs using CLI command that could be run from...

AWS Lambda Layer example in python

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