Skip to content

Commit f3b8f44

Browse files
committed
chore: task-definition cpu, memory 용량 확장
1 parent cee9f8e commit f3b8f44

2 files changed

Lines changed: 14 additions & 8 deletions

File tree

task-definition-dev.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,13 @@
7070
"cpu": 256,
7171
"memoryReservation": 256,
7272
"essential": false,
73-
"portMappings": [ { "containerPort": 9090, "protocol": "tcp" } ],
73+
"portMappings": [
74+
{
75+
"containerPort": 9090,
76+
"hostPort": 9090,
77+
"protocol": "tcp"
78+
}
79+
],
7480
"logConfiguration": {
7581
"logDriver": "awslogs",
7682
"options": {
@@ -83,7 +89,7 @@
8389
{
8490
"name": "grafana",
8591
"image": "grafana/grafana:10.4.1",
86-
"cpu": 128,
92+
"cpu": 256,
8793
"memoryReservation": 256,
8894
"portMappings": [
8995
{
@@ -108,8 +114,8 @@
108114
"requiresCompatibilities": [
109115
"EC2"
110116
],
111-
"cpu": "1024",
112-
"memory": "512",
117+
"cpu": "2048",
118+
"memory": "1028",
113119
"runtimePlatform": {
114120
"cpuArchitecture": "X86_64",
115121
"operatingSystemFamily": "LINUX"

task-definition-prod.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"containerDefinitions": [
55
{
66
"name": "bitnagil",
7-
"cpu": 1,
7+
"cpu": 1024,
88
"portMappings": [
99
{
1010
"containerPort": 8080,
@@ -61,7 +61,7 @@
6161
{
6262
"name": "grafana",
6363
"image": "grafana/grafana:10.4.1",
64-
"cpu": 128,
64+
"cpu": 256,
6565
"memoryReservation": 256,
6666
"portMappings": [
6767
{
@@ -86,8 +86,8 @@
8686
"requiresCompatibilities": [
8787
"EC2"
8888
],
89-
"cpu": "1024",
90-
"memory": "512",
89+
"cpu": "2048",
90+
"memory": "1028",
9191
"runtimePlatform": {
9292
"cpuArchitecture": "X86_64",
9393
"operatingSystemFamily": "LINUX"

0 commit comments

Comments
 (0)