We have finished building our next.js app with AWS Amplify authentication! Now we want to display our app for the world to see. We first need to create and push our code to a repository. Then, in the amplify console, we go to frontend environments and follow the prompts, click save and deploy, and you're done!
Instructor: [0:00] Let's deploy our server-side rendered Next.js app to AWS Amplify. First, create a GitHub repo. Then, push your code to the repository. Go to the Amplify Console for your app, switch it over to frontend environment, then choose GitHub. Select your repository and your branch.
[0:46] We'll use the staging backend environment. We'll also enable full-stack continuous deployment so that every time I push my code to GitHub, my frontend redeploys. Select a service rule. Click save and deploy. Your app will take a few minutes to deploy. Once it does, you can access your Next.js app. We pushed our application to GitHub and then we're able to deploy it to AWS Amplify.
Member comments are a way for members to communicate, interact, and ask questions about a lesson.
The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io
Be on-Topic
Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.
Avoid meta-discussion
Code Problems?
Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context
Details and Context
Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!