PinnedSSH Port Knocking: Knock Knock. Who's There? Not the Bots.I was casually checking one of my server logs one evening(around 9:30 PM😁) and saw something annoying. Hundreds of failed SSH login attempts. From Nepal, China, Russia, Brazil, everywhere. Bots were hammering my SSH door (port 22), as it owed them m...Jan 19, 2026·8 min read
I Built an MCP Server for HashnodeIntroduction In the rapidly evolving landscape of AI tools and integrations, the ability to extend AI capabilities through custom interfaces has become increasingly valuable. Today, I'm excited to share a project I've been working on: the Hashnode MC...May 1, 2025·9 min read
Resize The Disk Space of EC2 Instance (Zero Downtime)Looking for a step-by-step tutorial on how to increase disk space on your AWS EC2 instance? I get it, I spent a lot of time trying to find the perfect guide myself. So I wrote this to save you the trouble I went through. (Now this article is always a...Apr 10, 2025·3 min read
Terraform CLI Tips and CheatsheetsThis article will discuss some very useful Terraform CLI tips and cheatsheets. When you want to use a tool or improve your expertise in a particular technology, it’s good to read many articles and official documentation. However, sometimes having a b...Oct 4, 2024·6 min read
Linting The Docker Image With DockleIn this article, I’ll demonstrate how the Linting Docker image works with Dockle. By the end of this post, you’ll get to know in detail about linting docker images with Dockle. You need to lint the container docker images to enforce security aspects ...Oct 1, 2024·5 min read
Install MongoDB on EC2 Instance — Solved Connection Issue From Public DNSIn this article, we will install MongoDB on an EC2 instance in AWS. Installing MongoDB on EC2 via aptitude is very simple. To install MongoDB on your EC2 Ubuntu system you can follow the official MongoDB-org package, which MongoDB Inc. maintains. Pre...Sep 24, 2024·4 min read
ElasticSearch on AWS EC2 using TerraformIn this, we’ll learn to set up an ElasticSearch Stack on AWS EC2. Elastic Stack consists of ElasticSearch, Filebeat, LogStash, and Kibana(ELK stack) which brings all the logs and traces into a single place. This is one of the most popular tools for s...Jul 3, 2024·9 min read