🏗️ DevOps & Infrastructure

How One Developer Built a Production Site for ₹0: The AWS-Cloudflare Blueprint That Actually Works

A developer built a full production infrastructure—with HTTPS, custom domain, and scalable compute—for exactly ₹0. Here's the architecture that worked, and the gotchas that almost broke it.

Architecture diagram showing Cloudflare DNS routing to CloudFront CDN and API Gateway, with S3 bucket locked behind Origin Access Control

⚡ Key Takeaways

  • Separate concerns: use distinct services for DNS (Cloudflare), compute (Lambda), storage (S3), and CDN (CloudFront) instead of bundling them into one expensive platform 𝕏
  • CloudFront requires SSL certificates in us-east-1 regardless of where your actual infrastructure runs—a regional quirk that will trap you if you don't know it 𝕏
  • Disable Cloudflare's proxy mode (use DNS-only) when pointing to AWS services that already handle their own SSL, or you'll get handshake failures 𝕏
  • Understanding zero-cost architecture teaches you how production systems actually work—DNS resolution, SSL termination, CDN behavior—in ways managed platforms won't 𝕏
Published by

Open Source Beat

Community-driven. Code-first.

Worth sharing?

Get the best Open Source stories of the week in your inbox — no noise, no spam.

Originally reported by Dev.to

Stay in the loop

The week's most important stories from Open Source Beat, delivered once a week.