Skip to content

antstackio/apprunner-nodejs-ecr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create AWS App Runner with container image from ECR

Create ECR

aws ecr create-repository --repository-name app-runner-example --image-scanning-configuration scanOnPush=true --profile <AWS_PROFILE> --region <region>

Login to Docker

aws ecr get-login-password --region <region> | docker login --username AWS --password-stdin <AWS-ACCOUNT-ID>.dkr.ecr.<region>.amazonaws.com

Build Docker image

docker build -t app-runner:1 .

Tag docker image

docker tag app-runner:1 <AWS-ACCOUNT-ID>.dkr.ecr.<region>.amazonaws.com/app-runner-example:latest

Push to ECR

docker push <AWS-ACCOUNT-ID>.dkr.ecr.<region>.amazonaws.com/app-runner-example:latest

Create App Runner through One Click CloudFormation Deployment

Click to Deploy to Cloudformation

About

Example Docker and Node Application along with CloudFormation template to deploy App Runner Service.

Topics

Resources

Stars

Watchers

Forks