DEV Community


Discussion on: You Can Run Containers on AWS Amplify Now

siddharatha profile image

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

swyx profile image
swyx Author

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.