⚠️ This lesson is retired and might contain outdated information.

Deploy an AWS Amplify Backend

Ali Spittel
InstructorAli Spittel
Share this video with your friends

Social Share Links

Send Tweet
Published 3 years ago
Updated 2 weeks ago

We'll deploy our backend generated using the Amplify Admin UI to AWS. Once deployed, we'll use the Admin UI's CMS functionality to create data. We'll also sync our deployed application with our local frontend.

Ali Spittel: [0:00] Now that I've tested my data out locally, I want to deploy my application. If you wanted to remodel your data, you can go back to the Model tab and then rerun the amplify pull command in order to pull down your updated API.

[0:14] I'm happy with the schema that I created, and so I'm going to move on to the Deploy step. If you need an AWS account, you can click here to set one up, but if you already have one, you can log in to deploy to AWS.

[0:29] I now need to add a name to my app. You can choose a deployment region. Choose whichever one is closest to you or whoever your user base will be. My application will deploy.

[0:44] Now that my deployment is complete, I'll open this Admin UI. You'll see that I have access to a data modeling page similar to the one that I had before. You can also manage your application's content.

[0:57] I haven't created any courses or videos yet in my live app. You can click this Create course form, and here, enter a title. You can also add a description. There's a markdown editor in case you want to have a preview of what something would look like in markdown. It'll also allow you to link to videos and create new videos directly within this form.

[1:26] I'll save my course. I want to change my local app to use my deployed app instead of my sandbox one. I'll click these instructions here and copy this command. Then I'll run it in my terminal. It'll ask me to log in in the browser. I'll choose my editor, which is Visual Studio Code. I'm building a JavaScript app and using React. I'll choose all the defaults for these questions.

[1:50] If I make any changes using the Admin UI, I can run amplify pull to get access to those changes locally. If I make any changes locally, I can in turn run amplify push to get those available in my deployed app.

[2:04] In this video, we deployed our video course platform to AWS so it's live. We used the Amplify Admin UI to manage our application content.

egghead
egghead
~ 43 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