AWS
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...
S Bali -
AWS
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...
S Bali -
WordPress
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...
S Bali -
WordPress
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...
S Bali -
GCP
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...
S Bali -
WordPress
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...
S Bali -
AWS
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...
S Bali -
AWS
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...
S Bali -