AWS Cloud Architecture•Part 3: Compute, Containers & Serverless (21 - 35)
AWS App Runner.
In Simple Words: A fully managed container runner: give it a GitHub repository or container image, and App Runner automatically builds, deploys, provisions load balancers, manages SSL, and scales your web service without configuring VPCs or clusters.
hcl
resource "aws_apprunner_service" "web_app" {
service_name = "frontend-service"
source_configuration {
image_repository {
image_identifier = "public.ecr.aws/aws-containers/hello-app-runner:latest"
image_repository_type = "ECR_PUBLIC"
}
auto_deployments_enabled = true
}
}