DEV Community

Discussion on: ⚡️ 5 Minute Tutorial: Deploying a NextJS app with AWS Amplify Hosting

mdabdulhalimrafi profile image
Md. Abdul Halim Rafi

Can you please teach how can I host nextJs with SSR (server.js) in aws?

ibrahimcesar profile image
Ibrahim Cesar

You can using CDK, an exemple repo:

cweekly profile image
Chris Weekly

Thanks for sharing, @ibrahim Cesar.
Cool PoC, and nice writeup (

For the sake of other readers I want to point out that the CDK construct for serverless-nextjs is still experimental (, and observability (especially tracing, but also logging) is still problematic with the serverless-nextjs component in general.