Monday, November 29, 2021

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

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

Create S3 Bucket using Terraform

Updated on 3rd Sep 2021. Tested build with Terraform version 1.0.6 Background In an earlier post, I provided some information on using AWS Encryption SDK and...

Must read

Start a script on boot using systemd

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

mongodb replica set using docker compose

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

AWS Lambda Layer example in python

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

Set ulimits for a script started using systemd

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