-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask-def.json
151 lines (151 loc) · 4.56 KB
/
task-def.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"family": "allen-backend-services",
"executionRoleArn": "arn:aws:iam::274524495977:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"name": "allen-backend-services",
"image": "274524495977.dkr.ecr.ap-south-1.amazonaws.com/allen_backend_registry:latest",
"cpu": 819,
"memory": 1536,
"portMappings": [
{
"name": "allen-backend-services-9000-tcp",
"containerPort": 9000,
"hostPort": 9000,
"protocol": "tcp",
"appProtocol": "grpc"
},
{
"name": "allen-backend-services-8000-tcp",
"containerPort": 8000,
"hostPort": 8000,
"protocol": "tcp",
"appProtocol": "http"
"protocol": "tcp"
}
],
"essential": true,
"environment": [],
"mountPoints": [],
"volumesFrom": [],
"dependsOn": [
{
"containerName": "aws-otel-collector",
"condition": "START"
}
],
"memory": 2048,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/fargate/allenBackend",
"awslogs-region": "ap-south-1",
"awslogs-stream-prefix": "allen"
}
}
},
{
"name": "aws-otel-collector",
"image": "amazon/aws-otel-collector",
"cpu": 201,
"memory": 512,
"portMappings": [
{
"containerPort": 2000,
"hostPort": 2000,
"protocol": "udp"
},
{
"containerPort": 4317,
"hostPort": 4317,
"protocol": "tcp"
},
{
"containerPort": 8125,
"hostPort": 8125,
"protocol": "udp"
},
{
"containerPort": 4318,
"hostPort": 4318,
"protocol": "tcp"
}
],
"essential": true,
"command": [
"--config=/etc/ecs/ecs-default-config.yaml"
],
"environment": [],
"mountPoints": [],
"volumesFrom": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/fargate/allenBackend",
"awslogs-region": "ap-south-1",
"awslogs-stream-prefix": "aws-otel-collector"
}
},
"healthCheck": {
"command": [
"/healthcheck"
],
"interval": 5,
"timeout": 6,
"retries": 5,
"startPeriod": 1
}
}
],
"family": "allen-backend-services",
"executionRoleArn": "arn:aws:iam::274524495977:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"revision": 45,
"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.container-ordering"
},
{
"name": "ecs.capability.container-health-check"
},
{
"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": [
"FARGATE"
],
"cpu": "1024",
"memory": "2048",
"registeredAt": "2023-06-12T08:30:45.201Z",
"registeredBy": "arn:aws:iam::274524495977:user/[email protected]",
"tags": []
}