From 52cde78aad088250e65d1f8ee98b61cbc6259e27 Mon Sep 17 00:00:00 2001 From: shri Date: Mon, 4 Nov 2024 11:51:56 +0100 Subject: [PATCH] Increase ecs task cpu and memory --- deploy/aws/ecs-task-definition-prod.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/aws/ecs-task-definition-prod.json b/deploy/aws/ecs-task-definition-prod.json index ec552eb8..fae15a06 100644 --- a/deploy/aws/ecs-task-definition-prod.json +++ b/deploy/aws/ecs-task-definition-prod.json @@ -4,8 +4,8 @@ { "name": "app", "image": "050206582437.dkr.ecr.eu-central-1.amazonaws.com/chapter-app-repository-prod:latest", - "cpu": "256", - "memory": "512", + "cpu": "1024", + "memory": "2048", "essential": true, "command": ["litestar", "run", "--host", "0.0.0.0"], "dependsOn": [ @@ -365,8 +365,8 @@ }, "networkMode": "awsvpc", "requiresCompatibilities": ["FARGATE"], - "cpu": "1024", - "memory": "2048", + "cpu": "2048", + "memory": "3072", "executionRoleArn": "arn:aws:iam::050206582437:role/chapter-app-ecs-task-execution-role-prod", "taskRoleArn": "arn:aws:iam::050206582437:role/chapter-app-ecs-task-role-prod" }