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.
Is it possible to deploy a small HTTPS web app on Fargate, internet accessible, without using a load balancer?asked 6 months ago
Overriding Hostname on ECS FargateAccepted Answerasked 10 months ago
Failed to expose AWS ECS Fargate Service via ALBasked 7 months ago
Running NextJS on ECS + Fargateasked 3 months ago
JVM Runtime.getRuntime().availableProcessors() returns 1 on AWS ECS Fargateasked 10 months ago
No space left on device when deploy ECS Fargate Service with CDKAccepted Answerasked a year ago
500 Error: having trouble using IPv6 on ECS with Fargateasked 3 months ago
Deploy an app having Frontend in Angular and Backend in Java on Fargate ECS.
About deploying EFS on ECS Fargateasked 2 months ago
Deploy on ECS Fargate Container from on-premise