Saturday, August 29, 2026Vol. I · No. 003

The Field Notes

dispatches from a next.js build, deployed by hand

← Back to the archive

aws

Deploying to an EC2 box

Filed 2026-08-26The Field Notes Desk

The goal isn't a production-grade setup — it's understanding what actually happens between 'yarn build' and a URL that responds over port 80.

Rough shape of the plan: a small EC2 instance running Node, the app built with yarn build and kept alive with a process manager like pm2, and Nginx in front of it as a reverse proxy so port 80 forwards to Next.js on port 3000.

Everything after that — a domain name, HTTPS with Let's Encrypt, CI/CD — is a follow-up entry once the basic version is actually reachable from outside the VPC.