Connect to public ECR

Initialization

cd src/public-ecr

# Create the .env file from the sample
cp .apprunner.env.example .apprunner.env
🎯 .apprunner.env

Apply the terraform plan

Run the script to create the AppRunner service with Terraform

./run.sh apply

Possible output:

...
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Outputs:

app_url = "8h5q2y87mf.ap-northeast-1.awsapprunner.com"

We can see the service running by visit output app_url: https://8h5q2y87mf.ap-northeast-1.awsapprunner.com

Sample service screenshot

Cleanup

Run the script to destroy the deployed stack.

./run.sh destroy