Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
1 / 5
0

Migrating a MERN app to AWS serverless (and what broke)

DEV Community: serverless·Suleiman Abdulkadir·3 days ago
#PDHJ2yo1
Reading 0:00
15s threshold

I built Taskly about a year ago. Standard MERN stack, ran on a $10/month VPS with PM2 and nginx. It worked fine. Nobody was complaining. I migrated it to AWS serverless anyway. Partly to learn, partly because I was mass applying to DevOps roles and needed something real to talk about in interviews. "I deployed a hello world Lambda" doesn't cut it. The app Task management for small teams. Tasks, projects, teams, calendar, notifications, avatar uploads, productivity stats. About 15 API routes, 6 Mongoose models. React frontend with Context API nothing fancy but enough moving parts that the migration wasn't trivial. Original stack: Express, session auth, MongoDB, Cloudinary, Resend for emails. Where I ended up Request flow: users hit CloudFront for the React app, WAF-filtered API Gateway for the backend. Lambda runs Express via serverless-express, talks to DocumentDB in a private VPC, pushes events to EventBridge, and queues emails through SQS to SES.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More