#Does NextJS SSR work on AWS without Amplify?

7 messages · Page 1 of 1 (latest)

craggy oxide
#

E.g. on EC2, ECS and Fargate etc

opaque zodiac
#

It does

craggy oxide
#

Appreciate the response! I am trying to deploy a NextJS app with SSR on AWS ECS/Fargate but we are facing a 504 Gateway Time-out error. It seems like getServerSideProps is never called.

Running the docker image locally, it works perfectly fine.

Any idea or insight why this happens?

opaque zodiac
craggy oxide
#

Ah gotcha. But great that I have confirmation that it works!

#

Cause all the google searches for NextJS SSR + AWS all give me documentation to amplify hah

opaque zodiac
#

that's not setup 😄