Running NextJS on ECS + Fargate


Hi! Would like to know if it is possible to deploy a NextJS app with SSR on AWS ECS + Fargate? After deploying I face a 500 server error, and googling returns a similar issue here:

Would love to know if anyone has experience with this. Thanks!

  • can you check the container logs to see what's causing the 500 server error?

asked 3 months ago156 views
1 Answer


The Amplify framework currently does not provide support for SSR with Next JS on ECS Fargate.

Please track the github issue 8049 that you've posted in the question for future updates about the feature request.

Please feel free to provide detailed explanation of your use-case and code-snippets on the Amplify project issues page to get direct advice from Amplify developers.

profile picture
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions