DEV Community

Cover image for ๐Ÿš€ Deployed My Next.js Portfolio on AWS EC2 (Production Setup)
Vishal Kondi
Vishal Kondi

Posted on

๐Ÿš€ Deployed My Next.js Portfolio on AWS EC2 (Production Setup)

๐Ÿš€ From Localhost to Live Cloud Serverโ€”Portfolio
 Deployed on AWS EC2

Today I took my Next.js portfolio from development mode to a fully live production server on AWS EC2 (Amazon Linux 2023).

Instead of using managed platforms, I deployed it manually to understand the infrastructure deeply.

โš™๏ธ What I did:
โ€ข Launched EC2 instance
โ€ข Configured Amazon Linux
โ€ข Installed Node.js & Git
โ€ข Built the Next.js app for production
โ€ข Managed the process using PM2
โ€ข Configured Nginx as reverse proxy
โ€ข Opened and secured ports via Security Groups

๐ŸŒ Result:
My portfolio is now live on a public cloud server.

๐Ÿ”— Live Demo:
http://32.192.174.226

Top comments (0)