Deploying a Nuxt Site to AWS from a Git repository with Amplify hosting

nader dabit
Instructornader dabit
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 4 years ago

In this video you'll learn how to use Amplify hosting to deploy a Nuxt site from a Git repository. We'll begin by walking through the steps of creating the deployment and configuring the correct build settings to enable a static build. Once the site is deployed, we'll view the live site hosted on AWS.

Nader Dabit: [0:00] To get started, we'll go to the AWS Console at console.aws.amazon.com. Next, we'll search for AWS Amplify. Under Deploy, we'll click on the Get Started button. Now, we'll choose our Git Provider and then click Continue. After authenticating with GitHub, we should be able to choose the repository and the branch that we'd like to deploy.

[0:42] Next, we'll edit the Build Settings. Because we're generating a static site, we'll set the build command to yarn run generate and the baseDirectory to dist. We'll save the updated build settings, scroll down and click Next. To deploy, click Save and Deploy.

[1:08] Once the deployment is successful you should see four grid checkmarks. To view the live app, click on the URL given to you by the Amplify Console.

egghead
egghead
~ 11 minutes ago

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

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

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!

Markdown supported.
Become a member to join the discussionEnroll Today