Blog
Why Python for Production Services
The Problem
Vector Deployment Patterns
The Problem
Vector Aggregator — Transform and Route
The Problem
Vector Agent — Lightweight Log Collection
The Problem
HashiCorp Vault — Centralized Secret Management
The Problem
Vault Auth Methods — Token vs AppRole
The Problem
Unit Tests for Business Logic
The Problem
Test Coverage and CI Integration
The Problem
Docker Swarm Deployment
The Problem
Why Structured Logging Matters
The Problem
structlog — JSON Logging with Context
The Problem
Secret Workflow — Local to Production
The Problem
Scheduled Security Scans
The Problem
Production Operations Runbook
Purpose
pytest — Fixtures, Conftest, and Async Testing
The Problem
Pydantic — Request & Response Validation
The Problem
Prometheus Metrics — RED Method
The Problem
Project Structure with pyproject.toml
The Problem
Pre-Commit Hooks for Security
The Problem
Auto-Instrumentation for FastAPI
The Problem
OpenTelemetry — Traces, Spans, and Context
The Problem
Marathon/Mesos Deployment
The Problem
Log Rotation and Disk Management
The Problem
End-to-End Pipeline
The Complete Pipeline
Kubernetes Deployment
The Problem
Kafka — Durable Log Transport
The Problem
Jaeger — Visualizing Distributed Traces
The Problem
Integration Tests for API Endpoints
The Problem
Health Checks and Readiness Probes
The Problem
Graceful Shutdown
The Problem
GitHub Actions CI Pipeline
The Problem
FastAPI — Async-First HTTP Framework
The Problem
Error Handling & Response Models
The Problem
Elasticsearch + Kibana — Search and Visualize
The Problem
Dual Output — Stdout and File Logging
The Problem
Docker — Containerize from Day One
The Problem
Docker Compose Deployment
The Problem
Dependency Updates and Maintenance
The Problem
Dependency Auditing with pip-audit
The Problem
Request-Scoped Logging with Correlation IDs
The Problem
Container Security with Trivy
The Problem
Environment-Based Config with pydantic-settings
The Problem
Async Database Operations
The Problem
API Versioning Strategies
The Problem
RESTful Route Design with FastAPI Router
The Problem
Elasticsearch Secure Cluster with TLS using Docker Compose
Preface This post assumes that you have some basic understanding of Docker/Podman, Docker Compose, and the key components used in the docker ecosystem. Get up to speed, with the Prepare...
K8s Contributor Playground, Learning by Contributing
Open sources - OSS FIRST TIMERS ONLY Contributor Playground
Common Kubernetes Distributions
On Cloud EKS: Amazon Elastic Kubernetes Service AKS: Microsoft Azure Kubernetes Service GKE: Google Kubernetes Engine IKS: IBM Cloud Kubernetes Service OKE: Oracle Container Engine for Kubernetes DOKS: DigitalOcean Kubernetes...
MongoDB Three Node Cluster with Replicaset in a Single Server for POC
Preface This post assumes that you have some basic understanding of Docker, Docker Compose, and the key components used in the docker ecosystem. Get up to speed, with the Prepare...
MongoDB Three Node Cluster with Replicaset for Production
Preface This post assumes that you have some basic understanding of Docker, Docker Compose, and the key components used in the docker ecosystem. Get up to speed, with the Prepare...
MongoDB Single Node Cluster with Replicaset
Preface This post assumes that you have some basic understanding of Docker, Docker Compose, and the key components used in the docker ecosystem. Get up to speed, with the Prepare...
Create the keyfile for Internal Authentication
Enabling Auth for Security
Caddy As Loadbalancer.md
How to run apache nifi as a container? How to run apache nifi as a single node cluster?
Single Node Apache Nifi Container
How to run apache nifi as a container? How to run apache nifi as a single node cluster?
Elasticsearch System Configuration
Fix the FORBIDDEN Read-Only / Allow Delete Error for Elasticsearch API Requests
Kafka - Ops
Kafka Operations
Git - Switch Remote URL
Switching remote URLs from HTTPS to SSH
Git - Reset Commits
Remove the last commit/commits using Reset
Git - Cheat Sheet
Git Cheat Sheet
Git - Push with SSH
Setup git push with SSH
Git - Merge
GIT MERGE
Git - Init
Git Init
Git - Project Lead/Manager
Get count of branches
Git - Commit Files
Status
Git - Create Branch
Checkout to main branch
Git - Common Commands
Commit History
Git - Branch Management
Single branch for production and development
Trigger a Build in Jenkins using Bitbucket Hooks
How to build when a change is pushed to Bitbucket? Trigger a Build/Job in jenkins when chnages pushed to Bitbucket? How to Automate Build process when changes pushed to Bitbucket?...
Cassandra Replication
Data Replication
Cassandra Architecture
Apache Cassandra is an open source distributed database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure....
Docker API Configuration
Engine API is an HTTP API served by Docker Engine, How to enable docker API on docker host? Controlling the Docker Engine from any SDK. Is everything the Docker client...
Basic Kafka Container commands
Create Topic with container
Basic command to run with Postgress Container
Connect to the database itself
Create Indexes in elasticsearch and frequently used commands
Preface This post assumes that you have some basic understanding of Docker, Docker Compose, and the key components used in the docker ecosystem. Get up to speed, with the Prepare...
Elasticsearch Slow Query Log Configuration
Slow Logs in Elasticsearch Search slow logs - used to log the searches which are slow Index slow logs
Create Indexes in elasticsearch
Preface This post assumes that you have some basic understanding of Docker, Docker Compose, and the key components used in the docker ecosystem. Get up to speed, with the Prepare...
Adding Try in PWD button to README file
The “Try in PWD” actually supports to deploy any stack file that’s available on the web. In the stack parameter you can either add a relative path of a stack...
Elasticsearch single node instance using Docker Compose
Preface This post assumes that you have some basic understanding of Docker/Podman, Docker Compose, and the key components used in the docker ecosystem. Get up to speed, with the Prepare...
Elasticsearch + Kibana using Docker Compose
Preface This post assumes that you have some basic understanding of Docker, Docker Compose, and the key components used in the docker ecosystem. Get up to speed, with the Prepare...
Elasticsearch Single Node using Docker Compose
Preface This post assumes that you have some basic understanding of Docker, Docker Compose, and the key components used in the docker ecosystem. Get up to speed, with the Prepare...
Dockerise HTML
Preface This post assumes that you have some basic understanding of Docker, Docker Compose, and the key components used in the docker ecosystem. Get up to speed, with the Prepare...
Couchbase Introduction
What is Couchbase Server?
Steps to install a Go Daddy SSL Certificate with NGINX
Step1: Generate a CSR and Private Key
Docker Issues
Docker issues:
Elasticsearch - Basics of Elasticsearch
Elasticsearch is the distributed search and analytics engine at the heart of the Elastic Stack. Logstash and Beats facilitate collecting, aggregating, and enriching your data and storing it in Elasticsearch....
Git - Basics for a Developer
Git basics is a good idea before you start using it, as a programer upto what extent you need is the question? Let's get into it
Jenkins - Upgrade Jenkins
Upgrade jenkins latest version
SED
Sed is a Stream Editor used for modifying the files in unix (or linux)
Jenkins - Schedule
Schedule
SSL - Create CSR, CRT, Secure Sockets Layer
Step 1. Buy the SSL from the provider,
Jekyll - Running Jekyll in Docker
Running Jekyll in Docker
Open JDK docker container commands shell access to the container
Run commands in open jdk docker container
AWS EBS Volmes - Create and attach the EBS volume with mounting
Create Volume from console Login to AWS console Goto menu Services -> Compute -> EC2 -> In Left Sidebar under Elastic Block Store -> click on Volume -> Create Volume...
Elasticsearch - Dumping documents from multi-node to single node
Elasticsearch three node cluster:
CICD Jenkins - Send email with default content
Send email with default content as the build output
Git - Intro
There are many questions or use cases we come across in our day to day activity, like
Tombstones in Cassandra - Clean
Tombstones costs disk utilization and increased query time. Monitoring the amount of tomb_stones data is an important part of monitoring the health of a Cassandra cluster. We can use the...
Linux - sed command
Delete lines using sed command
Git - Naming Convention
Naming Convention for Programming
Arachni - VAPT Tool
Free, Simple, Distributed, Intelligent, Powerful, Friendly.