DEV Community

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

Collapse
mdabdulhalimrafi profile image
Md. Abdul Halim Rafi

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

Collapse
ibrahimcesar profile image
Ibrahim Cesar

You can using CDK, an exemple repo: github.com/ibrahimcesar/nextjs-ssr...

Collapse
cweekly profile image
Chris Weekly

Thanks for sharing, @ibrahim Cesar.
Cool PoC, and nice writeup (ibrahimcesar.cloud/blog/nextjs-typ...).

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