ALB Access Log Parsing with Python
A few days ago, I was working on a project that required designing a solution to parse AWS Application Load Balancer logs and move the data to OpenSearch for monitoring purposes. This led me to develop a Python script utilizing regex to accurately extract and structure the log fields for effective analysis. About the project AWS Application Load Balancer (ALB) provides an option to store access logs in a compressed zip format directly to an S3 bucket....
Install GitLab on macOS using Docker
In this tutorial, I will guide you through deploying GitLab on your local macOS machine using Docker. GitLab is a powerful DevOps platform that provides source code management, CI/CD, and other essential tools for software development. By setting up GitLab locally, you鈥檒l be able to manage your projects and pipelines in a self-contained environment for development and testing purposes. Prerequisites Please note: If you already have Docker Desktop installed on your machine, you can skip this entire prerequisites section....
Colima - A Docker Desktop Alternative for macOS
If you鈥檙e a macOS user, chances are you鈥檙e familiar with Docker Desktop, the official Docker application for Mac. Docker Desktop offers a user-friendly interface that allows you to easily create and manage Docker containers. However, if you鈥檙e looking for a more lightweight and free alternative, you might want to check out Colima. What is Colima? Colima is a container runtime for macOS that is developed and maintained by the same team that created Laravel Valet....
Kubernetes Cluster on AWS with Kubeadm
Kubeadm is a tool to bootstrap Kubernetes clusters. It performs necessary actions to get a minimum viable cluster up and running. In this post, I have explained how to create a highly available Kubernetes cluster on AWS using Kubeadm. Git repo link Prerequisites AWS Account Good knowledge of AWS, Kubernetes, Terraform Tools required on your local machine/laptop AWS CLI (to interact with AWS account, configure the AWS CLI with security credentials and a named profile....
Hosting a static website on S3
This post explains how to use AWS Cloudformation stack to automate infrastructure deployment to host a static website. The cloudformation stack also creates a CI/CD pipeline for automated deployment of code and it also setups a Elasticsearch service for S3 access logs analysis and visualization . Static website using Cloudformation Git repo Prerequisites Static website (html/css/javascript). (I prefer Hexo static site generator.) A registered domain name for website. Should have AWS CLI installed & configured and git setup for AWS CodeCommit on the local machine....