Deploy Your React Application to AWS Using the Amplify CLI

nader dabit
Instructornader dabit
Share this video with your friends

Social Share Links

Send Tweet
Published 6 years ago
Updated 4 years ago

In this lesson we learn how to deploy your React application to AWS using the Amplify CLI & Amazon S3.

Instructor: [00:02] To add hosting, we can run amplify add hosting. For the environment setup, we can either choose dev for S3 with HTTP or prod for S3 with HTTPS with CloudFront distribution. I'll choose dev.

[00:16] Next, we're prompted for the bucket name. Give the bucket a unique name. For the index doc and the error doc, we can choose index.html.

[00:31] To deploy our new setup, we can run amplify publish. Once the deployment is complete, our app should launch in a new window. If we open the URL, we see that the app is indeed running from our S3 bucket.

nader dabit
nader dabitinstructor
~ 5 years ago

We've recently launched the Amplify Console, which is now the preferred way of deploying Amplify applications & has built-in CI / CD & atomic deployments. For more info, check out the documentation at https://aws.amazon.com/amplify/console/.

Markdown supported.
Become a member to join the discussionEnroll Today