AWS, AWS Amplify, Cloud Computing

4 Mins Read

AWS Amplify: Automate Your Deployments

Voiced by Amazon Polly

Overview

AWS Amplify is a service to deploy your full-stack web and mobile applications. Initially introduced by AWS in November of 2018. AWS Amplify is great for Continuous Deployment (CD/CI) operations with your application. This blog post takes you through a simple demonstration of how to work with AWS Amplify and handle all application deployments. This is an attempt to answer your question such as “How do I deploy AWS amplify?”

Scroll down to AWS Amplify Hosting

For demonstration, we will deploy react app on AWS Amplify by connecting the Git repository to AWS Amplify. Click on “Get Started” in the Amplify Hosting Section.

Select your Git Repository

You can directly connect your code repository with AWS Amplify.

step3

Authorize AWS Amplify to connect with your Github account.

step4

Select allow for All Repositories. Then click on install & authorize.

step5

Successfully Integrating with Github

Once you have done the above steps and successfully integrated with Github. You will this notification by AWS Management Console.

step6

Select your Repository

After successfully connecting with your Github account. Now you can select the repository you want to host on Amplify. We will go with the first repository named “react-app-01”.

step7

Select the Branch

It is important to specify the branch you want to deploy, as your code may have multiple branches. We will select the “Master” branch for this demo and then click on next.

step8

Auto Detecting your App Settings

One of the main features of Amplify is how once you connect your code repository, it will auto-detect the tech stack of the application.

step9

Add Environment Variables

If there are any Environment Variables that are hosted in your application, you can then add them here. AWS Amplify makes sure that these variables are then securely inserted in your application code wherever required.

For the purpose of this demo, we will not add any environment variables. Let’s click on next to continue.

step10

 

Review your Deployment

Before clicking the save and deploy button. Let us review if all parameters are configured correctly. Click on “save and deploy” once done.

step11

Successfully Deploying the App

Now we need to wait till the deployment is successful

step12

Please wait till the status of Provision, Build, Deploy and Verify is green.

step13

Be Ready to Watch the Output

Your application is now successfully deployed on AWS Amplify. You can now share this link with your friends and colleagues to test the application.

step15

Your AWS Amplify Link: https://master.d3ujaozaddhcc8.amplifyapp.com

Enable or Disable CI/CD

AWS Amplify or Amazon Amplify by default has enabled continuous deployments(CI/CD).  With CI/CD enabled, every time you make changes to your code, Amplify will trigger a new deployment and deploy the updated repository of your application.

step16

Freedom Month Sale — Discounts That Set You Free!

  • Up to 80% OFF AWS Courses
  • Up to 30% OFF Microsoft Certs
Act Fast!

About CloudThat

CloudThat is an award-winning company and the first in India to offer cloud training and consulting services worldwide. As a Microsoft Solutions Partner, AWS Advanced Tier Training Partner, and Google Cloud Platform Partner, CloudThat has empowered over 850,000 professionals through 600+ cloud certifications winning global recognition for its training excellence including 20 MCT Trainers in Microsoft’s Global Top 100 and an impressive 12 awards in the last 8 years. CloudThat specializes in Cloud Migration, Data Platforms, DevOps, IoT, and cutting-edge technologies like Gen AI & AI/ML. It has delivered over 500 consulting projects for 250+ organizations in 30+ countries as it continues to empower professionals and enterprises to thrive in the digital-first world.

Share

Comments

    Click to Comment

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!