Deployment

AWS Amplify is only used from the @lambdalabs/labs generator when program=Labs

Note: All your applications MUST be deployed to the "US_east_1 Virginia" region!

Navigate to the AWS Amplify console page: My Account > AWS Management Console > Search "Amplify".

Searching for AWS Amplify

Click on "Get Started" underneath the "Deploy" heading.

Click Getting Started Button

Select "GitHub". This will bring up an authorization window. When you have authorized access a message saying "GitHub authorization successful" will display.

Selecting GitHub
GitHub Authorization Confirmation

Select your newly cloned project under "Select a repository"

Selecting Your Repository

Select the branch you would like to deploy and then click "next". In this example, we are deploying the main branch.

Selecting Your Branch

Amplify generates a build configuration automatically for us which is fantastic!

Automatically Generated Build Config
  • Now we need to add our environment variables. To do so, click on "Advanced settings" to reveal where we can add our required environment variables specified here. After you have added those, click "next".

Adding Your Environment Variables

Now you can review that you have configured your deployment properly. Note that Amplify automatically detected that we are building a React project. Sweet!

Reviewing Your Deployment Settings

To accept your settings, click "save and deploy".

Deploying Your App

Now we wait for our deployment to be provisioned, built, deployed, and verified. You can view the logs for the processes by clicking one of the steps and then clicking the dropdown to reveal the console.

Viewing Deployments Logs

After these steps have completed, you're all done! You can click on the autogenerated domain to view your newly deployed application!

Viewing Your Live Deployment

Last updated

Was this helpful?