Hi HN, we are Frank and Jay and we are working on a better way to deploy Next.js apps to AWS: https://serverless-stack.com/examples/how-to-create-a-nextjs-app-with-serverless.html<p>We are the founders of SST, an open source framework that makes it easy to build serverless apps on AWS: https://github.com/serverless-stack/serverless-stack<p>We found that many people in the community were looking for a better way to deploy Next.js apps to their own infrastructure and they were unhappy with the options. These were not easy to customize (Amplify Next.js) or would pass your code and credentials via a 3rd party service (Serverless Next.js component). So we decided to fix it.<p>There are a couple of things to note, specifically the AWS integration.<p>- Completely open source and free<p>- Deploys directly to your AWS account<p>- Import environment variables from your AWS services<p>- Easily manage permissions to your AWS resources<p>- Works with any CI service, supports PR/preview deployments<p>- Uses AWS CDK to define your infrastructure as code<p>We wrote about how to get started and compared the various deployment options: https://serverless-stack.com/examples/how-to-create-a-nextjs-app-with-serverless.html. You can also check out the docs: https://docs.serverless-stack.com/constructs/NextjsSite<p>We'd appreciate if you took it for a spin and gave us some feedback!
Awesome! I'm glad there are more options for folks deploying Next.js apps. For what it's worth, the majority of Next.js apps we see deployed are self-hosted using a Node.js server[1] or Docker[2]. Would love to hear more your opinion why SST instead of one of these :)<p>To make sure I'm understanding SST, it builds off serverless-nextjs[3], correct? And then ads the features listed above on top, most notably CDK support?<p>[1]: <a href="https://nextjs.org/docs/deployment#nodejs-server" rel="nofollow">https://nextjs.org/docs/deployment#nodejs-server</a><p>[2]: <a href="https://nextjs.org/docs/deployment#docker-image" rel="nofollow">https://nextjs.org/docs/deployment#docker-image</a><p>[3]: <a href="https://github.com/serverless-nextjs/serverless-next.js" rel="nofollow">https://github.com/serverless-nextjs/serverless-next.js</a>