1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Password Protected Deployments with the Amplify Console

    nader dabitnader dabit
    gatsbyGatsby
    reactReact
    awsAWS

    In this video you'll learn how to deploy a web application to AWS using the Amplify Console and add password protection for custom access control.

    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Discuss

    Discuss

    Transcript

    Transcript

    Instructor: If you've already deployed to Amplify, you can jump to the one-minute mark. The first thing we'll do is open the AWS console and search for AWS Amplify. Next, under Deploy, choose Get Started.

    In this screen, you can choose your Git provider and then choose Continue. Here, you'll need to authorize AWS to access your Git repository. In this screen, choose the repository in the branch that you'd like to deploy.

    Amplify should auto detect your default build setting so you can scroll down and click Next. To deploy the application, click Save and Deploy. When the app is successfully deployed, you should see four green check marks.

    To test everything out, click the URL.

    Instructor: To add password protection, we can click on Access Control. In this screen, click on Manage Access. Here, we can apply a global password or a password based on a branch. Here, we'll set a password for the master branch.

    Instructor: Once the username and password have been saved, we can go back to the main dashboard. Now, when we go to view the site, we're prompted for our username and password.