Next.js Discord

Discord Forum

How to host on ec2?

Unanswered
Dwarf Crocodile posted this in #help-forum
Open in Discord
Dwarf CrocodileOP
Earlier I was using CRA + flask, and I deployed it on ec2 (with nginx as reverse proxy and for serving my index.html inside build folder, a gunicorn service running for my app.py file on ec2).

Now, I have moved from CRA to Nextjs but still using the same flask backend.

How can i deploy it?
(I am hoping I don't need to change much of the ec2 configurations)

3 Replies