From b43aff654a176faa44610f81ca5668fe654ed29e Mon Sep 17 00:00:00 2001 From: Cherry <79985974+chaeri93@users.noreply.github.com> Date: Sat, 3 Aug 2024 06:54:39 +0900 Subject: [PATCH] Update ecs-task-definition-match.json --- .aws/ecs-task-definition-match.json | 91 ++++++++++++++++++++++++----- 1 file changed, 76 insertions(+), 15 deletions(-) diff --git a/.aws/ecs-task-definition-match.json b/.aws/ecs-task-definition-match.json index 5e9920f..1545540 100644 --- a/.aws/ecs-task-definition-match.json +++ b/.aws/ecs-task-definition-match.json @@ -1,10 +1,20 @@ { + "taskDefinitionArn": "arn:aws:ecs:ap-northeast-2:008971651785:task-definition/cloud6-match-server:9", "containerDefinitions": [ { - "name": "your-container-name", - "image": "your-image", - "memory": 512, - "cpu": 256, + "name": "match-conatiner", + "image": "008971651785.dkr.ecr.ap-northeast-2.amazonaws.com/cloud6-repository:latest", + "cpu": 0, + "portMappings": [ + { + "name": "match-conatiner-8080-port", + "containerPort": 8080, + "hostPort": 8080, + "protocol": "tcp", + "appProtocol": "http" + } + ], + "essential": true, "environment": [ { "name": "MATCH_SIZE", @@ -57,19 +67,70 @@ "valueFrom": "arn:aws:secretsmanager:ap-northeast-2:008971651785:secret:AWS_RDS-qt0eV5:password::" } ], - "portMappings": [ - { - "containerPort": 8080, - "hostPort": 8080 - } - ] + "environmentFiles": [], + "mountPoints": [], + "volumesFrom": [], + "ulimits": [], + "logConfiguration": { + "logDriver": "awslogs", + "options": { + "awslogs-group": "/ecs/cloud6-match-server", + "awslogs-create-group": "true", + "awslogs-region": "ap-northeast-2", + "awslogs-stream-prefix": "ecs" + }, + "secretOptions": [] + }, + "systemControls": [] } ], - "family": "your-task-family", - "networkMode": "bridge", + "family": "cloud6-match-server", + "executionRoleArn": "arn:aws:iam::008971651785:role/ecsTaskExecutionRole", + "networkMode": "awsvpc", + "revision": 9, + "volumes": [], + "status": "ACTIVE", + "requiresAttributes": [ + { + "name": "com.amazonaws.ecs.capability.logging-driver.awslogs" + }, + { + "name": "ecs.capability.execution-role-awslogs" + }, + { + "name": "com.amazonaws.ecs.capability.ecr-auth" + }, + { + "name": "com.amazonaws.ecs.capability.docker-remote-api.1.19" + }, + { + "name": "ecs.capability.execution-role-ecr-pull" + }, + { + "name": "com.amazonaws.ecs.capability.docker-remote-api.1.18" + }, + { + "name": "ecs.capability.task-eni" + }, + { + "name": "com.amazonaws.ecs.capability.docker-remote-api.1.29" + } + ], + "placementConstraints": [], + "compatibilities": [ + "EC2", + "FARGATE" + ], "requiresCompatibilities": [ - "EC2" + "FARGATE" ], - "memory": "512", - "cpu": "256" + "cpu": "1024", + "memory": "3072", + "runtimePlatform": { + "cpuArchitecture": "ARM64", + "operatingSystemFamily": "LINUX" + }, + "registeredAt": "2024-08-01T04:05:37.055Z", + "registeredBy": "arn:aws:iam::008971651785:user/chaeri9813", + "tags": [] }