DEV Community

Discussion on: You Can Run Containers on AWS Amplify Now

Collapse
 
siddharatha profile image
Sid

Would this be the way to run sapper / nextjs with amplify where the dynamic pages/ requests will be served through fargate containers ?

Collapse
 
swyx profile image
swyx • Edited

we don't officially encourage serving HTML from fargate containers, bc it is cheaper and faster via amplify hosting (static S3 pages and cloudfront). This is why I emphasize them as part of the APIs workflow.

however we do allow it - this is why Serverless Containers are enabled for Amplify Hosting. This is useful for, for example, hosting Next.js SSR.