Exercise 3: Deploy your app
Now that you have working front end application, it's time to deploy it. And you can use Amplify to do that.
Task
Deploy your React application using Amplify.
Don't forget to run the amplify publish command once you add a new category to Amplify.
Hints
- See the Amplify docs for more info: https://aws-amplify.github.io/docs/js/start?platform=react
- Use the
amplify add hostingcommand to deploy your application to Amazon S3 (and CloudFront for CDN and SSL). - If you select a "production" version with HTTPS when selecting a hosting type, your deployment might take 10 minutes or so, because setting us AWS Cloudfront can be slow. But feel free to try it, it'll not require any additional settings on your side.