SSH Tunneling and Bastion Host architecture diagram

Securely Accessing Private RDS Databases Using SSH Tunneling and a Bastion Host

I’ve been using AWS services like EC2 and RDS under the free tier and recently started incurring charges due to the use of public IP addresses. AWS provides one free public IP, but my RDS instance had another public IP attached — and that’s where the billing began. AWS billing showing charges for additional public IPv4 addresses. A better, more secure, and cost-effective solution is to keep your RDS private within a VPC and connect to it via a method called SSH tunneling through a bastion host. ...

October 5, 2025 · 3 min · 543 words · Hitesh Patel
Architecture diagram of self-hosted Ghost CMS blog on AWS EC2 with Nginx reverse proxy

How did I host my own blog Ghost CMS + AWS

After exploring Hashnode, Dev.to, and Medium, I decided to self-host my blog, not for performance, but for control. Here’s how I did it with AWS, Ghost, and a minimal budget. 🧰 TL;DR: Self-hosted my Ghost blog on AWS EC2 (t2.micro) using a custom Nginx setup with /blog routed. Faced installation challenges due to CPU limits, solved it with a t2.large temp instance. How It All Started It all started when I was in college and watched a video by Quincy Larson, creator of FreeCodeCamp, about why developers must have a blog. So I started geekaid.in. After writing on it for a while, I dropped it a year ago as it stopped aligning with what I originally thought of. ...

July 6, 2025 · 3 min · 548 words · Hitesh Patel