ECR + ECS Fargate Deployment Flow

14 cards

Review this deck
All cards in this deck

ecsTaskExecutionRole: ecr:GetAuthorizationToken

ECR + ECS Fargate Deployment Flow

ecsTaskExecutionRole: ecr:BatchGetImage

ECR + ECS Fargate Deployment Flow

ecsTaskExecutionRole: ecr:GetDownloadUrlForLayer

ECR + ECS Fargate Deployment Flow

ecsTaskExecutionRole: logs:CreateLogStream

ECR + ECS Fargate Deployment Flow

ecsTaskExecutionRole: logs:PutLogEvents

ECR + ECS Fargate Deployment Flow

ecsTaskExecutionRole: secretsmanager:GetSecretValue

ECR + ECS Fargate Deployment Flow

ecsTaskRole: (permissions the app needs — S3, DynamoDB, etc.)

ECR + ECS Fargate Deployment Flow

`family`

task definition name

`networkMode: awsvpc`

required for Fargate

`cpu / memory`

256/512 up to 16384/122880

`executionRoleArn`

role for the ECS agent (pull from ECR, CloudWatch Logs)

`taskRoleArn`

role for the app code (S3, DynamoDB, etc.)

`containerDefinitions[].secrets`

inject from Secrets Manager

`containerDefinitions[].logConfiguration`

awslogs driver

ECR + ECS Fargate Deployment Flow – Flashcards – Docker | Học Dev