This week AWS amplify announced support for deploying Next.js SSR apps, which has been a long awaited feature. You can read the announcement here.
For the purposes of this guide we will deploy the basic app scaffold provided by create-next-app
Since we will be using Amplify, we first need to go through the installation and setup process. We can figure out how to do that by following the official docs.
Once we have Amplify configured we can go ahead and create a project. We can achieve that by running
Amplify provides a zero config deploy similar to vercel, which allows us to connect a git provider to use for our deployments. To get started we can go the the Amplify console and select Host web app.
Thanks to Amplify we can now deploy Next.js SSR app on AWS with a relatively low effort. Let me know what you think about this new feature!