From 4f603a6bac5ea1c2bc3b0f251851e89c7fa0d02b Mon Sep 17 00:00:00 2001 From: bhoff Date: Fri, 15 Nov 2024 12:27:33 -0800 Subject: [PATCH] IT-4010: Increase CPU and memory of registry task --- docker_fargate/docker_fargate_stack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker_fargate/docker_fargate_stack.py b/docker_fargate/docker_fargate_stack.py index 3fab588..9a9ef53 100644 --- a/docker_fargate/docker_fargate_stack.py +++ b/docker_fargate/docker_fargate_stack.py @@ -132,11 +132,11 @@ def __init__(self, scope: Construct, context: str, env: dict, vpc: ec2.Vpc, **kw self, f'{stack_prefix}-Service', cluster=cluster, # Required - cpu=256, # Default is 256 + cpu=2048, # Default is 256 desired_count=2, # Number of copies of the 'task' (i.e. the app') running behind the ALB circuit_breaker=ecs.DeploymentCircuitBreaker(rollback=True), # Enable rollback on deployment failure task_image_options=task_image_options, - memory_limit_mib=1024, # Default is 512 + memory_limit_mib=4096, # Default is 512 public_load_balancer=True, # Default is False redirect_http=True, # TLS: