Getting Started with AWS App Runner

Getting Started with AWS App Runner
Getting Started with AWS App Runner

CLOUD LABS



Getting Started with AWS App Runner

In this Cloud Lab, you’ll learn about different features of AWS App Runner by deploying both a container image in Amazon ECR and an application in a GitHub repository.

8 Tasks

beginner

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Thorough understanding of AWS App Runner
Hands-on experience deploying image containers using App Runner
Hands-on experience deploying applications available in GitHub repositories
Hands-on experience building and pushing Docker images to an ECR repository
An understanding of the CI/CD feature of AWS App Runner

Technologies
EC2 logoEC2
ECR logoECR
App Runner
Cloud Lab Overview

AWS App Runner is a fully managed service provided by Amazon that allows for application deployment either from the source code or a container image. It provisions and manages the resources required to scale the application. App Runner supports GitHub repositories or Amazon ECR repositories as the source. It also supports the CI/CD feature that deploys a new version of our application as soon as it detects changes made to the source code.

In this Cloud Lab, you’ll first create a private ECR repository. You will then launch an EC2 instance, create a Docker image for a Flask application, and push this image into your repository. After this, you’ll deploy this image using AWS App Runner and provide custom auto-scaling configurations. You’ll also connect your GitHub repository with AWS App Runner to launch another application. Finally, you’ll update the source code in your repository to see the CI/CD feature in action.

After completing this Cloud Lab, you’ll be able to deploy your applications on the AWS cloud using AWS App Runner. You’ll also be familiar with the CI/CD capabilities of AWS App Runner.

The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:

Integrating EC2, ECR and GitHub for scalable App Runner
Integrating EC2, ECR and GitHub for scalable App Runner

Cloud Lab Tasks
1.Introduction
Getting Started
2.Deploying a Container Image
Create a Repository
Build a Docker Image
Deploy Image on App Runner
3.Deploying Source Code in a GitHub Repository
Using GitHub as a Source in a Service
Update the Application
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Before you start...

Try these optional labs before starting this lab.

Relevant Course

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like