Skip to content

Commit

Permalink
adjust cpu and memory values
Browse files Browse the repository at this point in the history
  • Loading branch information
vertism committed Dec 1, 2023
1 parent 81b6658 commit b9976ee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions terraform/environments/cdpt-chaps/application_variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"ec2_desired_capacity": 2,
"ec2_max_size": 3,
"ec2_min_size": 2,
"container_cpu": 256,
"container_memory": 1024,
"container_cpu": 512,
"container_memory": 2048,
"network_mode": "none",
"server_port": "80",
"app_count": "1",
Expand All @@ -21,13 +21,13 @@
"region": "eu-west-2",
"container_instance_type": "windows",
"ami_image_id": "ami-0de7ce0d2a2e4fc16",
"instance_type": "t3.medium",
"instance_type": "t3.micro",
"key_name": "",
"ec2_desired_capacity": 2,
"ec2_max_size": 3,
"ec2_min_size": 2,
"container_cpu": 256,
"container_memory": 1024,
"container_cpu": 512,
"container_memory": 2048,
"network_mode": "none",
"server_port": "80",
"app_count": "1",
Expand All @@ -43,8 +43,8 @@
"ec2_desired_capacity": 2,
"ec2_max_size": 3,
"ec2_min_size": 2,
"container_cpu": 256,
"container_memory": 1024,
"container_cpu": 512,
"container_memory": 2048,
"network_mode": "none",
"server_port": "80",
"app_count": "1",
Expand Down
8 changes: 4 additions & 4 deletions terraform/environments/cdpt-chaps/task_definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
{
"name": "${app_name}",
"image": "${ecr_url}:${docker_image_tag}",
"essential": true,
"cpu": 992,
"cpu": 256,
"portMappings": [
{
"containerPort": 80,
"hostPort": 8080
}
],
"memory": 5000,
"memory": 1024,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
Expand All @@ -28,6 +27,7 @@
"name": "APP_LOG_LEVEL",
"value": "debug"
}
]
],
"essential": true,
}
]

0 comments on commit b9976ee

Please sign in to comment.