From the course: AWS Quick Tips for Developers

Unlock this course with a free trial

Join today to access over 22,700 courses taught by industry experts.

Easily hosting a web app on S3

Easily hosting a web app on S3

- [Instructor] If you want to host your web app on AWS, Amplify can do it for you. I have a basic react app I created with the NPM init react app command. You can find out more about that at the Create React App Getting Started page. Here's the command that I used and I added host me as my app name. Now I already have Amplify installed. If you don't you can go to the Amplify site, click get started, and learn about setting it up with the install and the configure. From the terminal, I'm already in the path from our project and I'm going to run Amplify in it. We're going to run the init and then we're going to add hosting and then we're going to publish it to AWS. So we have to confirm the project name, give it an environment name, and select a few other things like our default editor, the type of project, the source path, and so on. Now it'll do its magic once we tell it which profile to use that we set up during the configure of Amplify. Once it's initialized, we can run Amplify add…

Contents