Tag: AWS
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...
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...
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...