Friday, September 30, 2022

My First go Lambda Function

Background Python is an easy to read language and has great support and libraries in the developer community. Most of my AWS Lambda functions are...

Lambda Function To Stop Long Running EC2 Instances

Background While working in my personal AWS account, sometimes I forget to shut EC2 instances down. Most of these instances do not cost much to...

Site Monitoring Using A Lambda Function

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

Analyze Apache Logs Using Athena – Part II

In my earlier post, I demonstrated how one could copy their Apache log files to S3 and then use AWS Athena to query the...

Analyze Apache Logs Using Athena

I usually use Linux utilities like grep and awk to analyze requests coming to my blog server. These utilities provide a good view into...

Create GCP Storage Bucket Using Terraform

Updated on 4th Dec 2020. Tested build with Terraform version 0.14 Background In an earlier post, I demonstrated how one could setup an AWS S3 bucket...

Updating Bitnami WordPress Stack Running on AWS Lightsail

This WordPress blog is running on an AWS Lightsail instance. The instance is based off a Bitnami WordPress stack. The instance contains core software...

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

Must read

Start a script on boot using systemd

In this post I am going to show how...

AWS Lambda Layer example in python

Lambda Layers was one of the most exciting news...

mongodb replica set using docker compose

In this post I am going to show how...

Set ulimits for a script started using systemd

In my previous post I demonstrated how easy it...