Note: Due to the deprecation of AWS App Runner, this Cloud Lab is temporarily unavailable while we transition the deployment to Amazon ECS Express Mode. In the meantime, feel free to explore more AWS Cloud Labs available on the platform.
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: