Ask HN: Help with NextJS deployment architecture on AWS

3 points by fazkan - 299 Days, 23 Hours ago Hacker News

I use pm2, with nginx in front, on a lightsail instance (ubuntu base-image) and manually run commands (clone, migrate, and pm2 restart) every time we merge to a prod branch, with the idea that eventually those commands will run as part of github actions.

The postgres is also on the same instance.

Curious if anyone has any comments on this.

Also a side question if anyone has used coolify for production apps? How was the experience?

I don't want to spend more time than is required maintaining the infra for the webapp.

Can't go with vercel or a hosted PAAS, because we have AWS credits, and don't want to spend unnecessarily.

thanks in advance

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...