antstackio / apprunner-nodejs-ecr

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

Home Page:https://www.antstack.io/blog/aws-apprunner-getting-started-with-ecr-deployments/

Repository from Github https://github.comantstackio/apprunner-nodejs-ecrRepository from Github https://github.comantstackio/apprunner-nodejs-ecr

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.

https://www.antstack.io/blog/aws-apprunner-getting-started-with-ecr-deployments/


Languages

Language:Dockerfile 61.9%Language:JavaScript 38.1%