Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Revert "temporarily increase cpu and memory size " #139

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker_fargate/docker_fargate_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ def __init__(self, scope: Construct, context: str, env: dict, vpc: ec2.Vpc, **kw
self,
f'{stack_prefix}-Service',
cluster=cluster, # Required
cpu=8192, # Default is 256 which is 0.25vCPU; 8192 is 8 vCPU
cpu=4096, # Default is 256 which is 0.25vCPU; 4096 is 4 vCPU
desired_count=3, # 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=16384, # Default is 512; 16384 MiB is equivalent to 16GB.
memory_limit_mib=8192, # Default is 512; 8192 MiB is equivalent to 8GB.
public_load_balancer=True, # Default is False
idle_timeout=Duration.seconds(300), # Modify default idle time out to avoid 504 gateway error
# TLS:
Expand Down
Loading