🚀 Deployed My Next.js Portfolio on AWS EC2 (Production Setup)

Published: (February 28, 2026 at 01:38 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

Cover image for 🚀 Deployed My Next.js Portfolio on AWS EC2 (Production Setup)

🚀 From Localhost to Live Cloud Server—Portfolio

Portfolio screenshot

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

0 views
Back to Blog

Related posts

Read more »

Google Gemini Writing Challenge

What I Built - Where Gemini fit in - Used Gemini’s multimodal capabilities to let users upload screenshots of notes, diagrams, or code snippets. - Gemini gener...