DEV Community

Budiono Santoso for AWS Community Builders

Posted on • Edited on

Containers on AWS — AWS App Runner

Architecture

Hello before, I am Budi. I want to write about AWS App Runner and share it on my Dev.to. Before writing this tutorial, I explain AWS App Runner. AWS App Runner is AWS fully managed service that makes it easy for developers to quickly deploy containerized web applications and APIs, at scale and with no prior infrastructure experience required.

Let’s go, create and deploy web applications with AWS App Runner and GitHub. Go to AWS App Runner. AWS App Runner available on Compute services.

AWS App Runner

Choose repository type (container registry with Amazon ECR (Elastic Container Registry) and source code repository with GitHub). Choose source code repository and connect to GitHub, click Add new.

AWS App Runner

Login to your GitHub for can continue to AWS Connector for GitHub.

Login your GitHub

Authorize permission to AWS Connector for GitHub, fill in the connection name and choose the GitHub app. Click Next.

Authorize Github

Create connection

Connect to your GitHub and choose a repository for deploy web application. Deployment settings can be manual and automatic (when releasing a new version). Choose manual.

Choose a configuration file (use App Runner console or .yaml file). Use the App Runner console. Choose Runtime for your web. This runtime is available for Node.js and Python. Fill also build command, start command and port. Click Next to continue.

Configure your service. Fill in the service name, settings vCPU and memory for the web app.

When Auto scaling step, you can choose default or custom configuration. If you choose custom configuration, you can fill like this and save.

Review from step 1 to step 3, scroll down and click Create and Deploy. Then waiting for deployment progress until finished.

Waiting for deployment progress until finished. Operation status in progress. Also available default domain with AWS App Runner domain, service ARN and source from GitHub.

Progress

And deployment progress is succeeded, the status also running and the default domain can open and testing. Click the default domain link.

Finished

Result on default AWS App Runner domain. Finally, the web application can running.

Upload your image

Result your image

See App Runner event log from progress to successfully and running.

Event log

Deployment logs

Metrics

OPTIONAL: App Runner can custom domains from default domain to your domain.

Thank you. After trying AWS App Runner, I say easy when creating configuration and deploying the web application from GitHub. And also I will write AWS App Runner with Amazon ECR feature. Once again, thank you for reading :)

Top comments (0)