diff --git a/README.md b/README.md index ea91679..82d8939 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,23 @@ First you need to upload the Docker image to ECR - [Instructions](https://docs.a Create App Runner service using the uploaded image using the AWS Console or CLI. +[AWS Console](https://console.aws.amazon.com/apprunner/home#/create) + +```shell +aws apprunner create-service --service-name my-app-runner-service --source-configuration '{ + "ImageRepository": { + "ImageIdentifier": ".dkr.ecr..amazonaws.com/wrp:latest", + "ImageRepositoryType": "ECR", + "ImageConfiguration": {"Port": "8000"}, + "AutoDeploymentsEnabled": true + } +}' --instance-configuration '{ + "Cpu": "1024", + "Memory": "2048", + "InstanceRoleArn": "arn:aws:iam:::role/AppRunnerECRAccessRole" +}' +``` + ## Azure Container Instances [Azure Console](https://portal.azure.com/#create/Microsoft.ContainerInstances)