forked from cohere-ai/cohere-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecs_service.json
53 lines (52 loc) · 1.48 KB
/
ecs_service.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
{
"serviceName": "ToolkitService",
"cluster": "<Your cluster name>",
"loadBalancers": [
{
"targetGroupArn": "<Your target group ARN for API>",
"containerName": "<Your container name>",
"containerPort": 8000
},
{
"targetGroupArn": "<Your target group ARN for App>",
"containerName": "<Your container name>",
"containerPort": 4000
}
],
"serviceRegistries": [],
"desiredCount": 1,
"launchType": "FARGATE",
"platformVersion": "LATEST",
"taskDefinition": "<Your task definition ARN>",
"deploymentConfiguration": {
"deploymentCircuitBreaker": {
"enable": true,
"rollback": true
},
"maximumPercent": 200,
"minimumHealthyPercent": 100
},
"placementConstraints": [],
"placementStrategy": [],
"networkConfiguration": {
"awsvpcConfiguration": {
"subnets": [
"<Your subnet 1 ID>",
"<Your subnet 2 ID>",
"<Your subnet 3 ID>"
],
"securityGroups": [
"<Your security group for application ID>"
],
"assignPublicIp": "ENABLED"
}
},
"healthCheckGracePeriodSeconds": 20,
"schedulingStrategy": "REPLICA",
"deploymentController": {
"type": "ECS"
},
"enableECSManagedTags": true,
"propagateTags": "NONE",
"enableExecuteCommand": false
}