Articles
Practical, deeply explained engineering writing — free to read, no sign-up required.
All Articles
Encryption as a Service with the Vault Transit Engine
Dynamic Database Credentials for PostgreSQL & SQL Server
Generate short-lived database usernames and passwords on demand so leaked credentials expire automatically when their lease TTL ends.
Vault Policies, AppRole Auth & Secret Injection for .NET and Node.js
Enforce least-privilege HCL access policies and machine authentication (AppRole) so ASP.NET Core and Node.js services fetch secrets securely at startup
Why Hardcoded Secrets Fail – Introduction to HashiCorp Vault
Published · Replace plaintext .env files and hardcoded connection strings with centralized secret storage, lease management, and audit logs.
Reusable Terraform Modules for On-Prem & Cloud Targets
Published · Package compute, networking, and firewall rules into versioned Terraform modules so on-premises servers and cloud instances share consistent baselines.
Terraform State Management, Locking & Remote Backends
Published · Safeguard Terraform state files against concurrent pipeline conflicts and accidental corruption using remote backends and state locking.
Variables, Locals, Outputs & Multi-Environment Layouts
To build clean, reusable, and safe infrastructure, you need four core building blocks: typed variables, local expressions, sensitive outputs, and separate environment folders. In this guide, we will break down each one in plain English and refactor a real Node.js and ASP.NET Core setup step by step.
Local Cloud Sandbox with Terraform & LocalStack
Testing Infrastructure as Code (IaC) directly on a real AWS account is slow, risky, and can quickly burn through your budget. One forgotten NAT Gateway or running EC2 instance can leave you with a surprise bill at the end of the month.
Infrastructure as Code Fundamentals & Terraform Basics
Infrastructure as Code (IaC) solves this problem by letting you define your entire infrastructure in simple text files. In this guide, you will learn how Terraform works and build a real local lab using Docker—without spending a single rupee on cloud bills.
Building Custom Hooks for Reusable Logic
A Custom Hook is a JavaScript function whose name starts with use and calls other React hooks inside it. It lets you extract fetching, debouncing, local storage sync, and form logic out of UI components into clean, testable code.
Scaling State with useReducer and Context API
Use useReducer to group complex, multi-step state updates into one predictable function. Pair it with Context API to share app-wide data like auth or theme across deep components without prop drilling, while keeping fast-changing state local.
Refs, DOM Access & Derived State with useRef and useMemo
Use useRef to access DOM elements (like focusing an input) or store mutable values without triggering a re-render. Compute derived state directly during render, and wrap heavy calculations in useMemo only when they actually slow down your UI.