From 9d8067ce619d3fdd29817b825c9865af28cf6b37 Mon Sep 17 00:00:00 2001 From: linglp Date: Fri, 2 Feb 2024 12:33:22 -0500 Subject: [PATCH 1/6] increase idle timeout --- cdk.json | 2 +- docker_fargate/docker_fargate_stack.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cdk.json b/cdk.json index 61b169e..5e6e57d 100644 --- a/cdk.json +++ b/cdk.json @@ -31,7 +31,7 @@ "aws-cn" ], "dev": { - "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:v23.12.1", + "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:0.1.62-beta", "AWS_DEFAULT_REGION": "us-east-1", "PORT": "443", "TAGS": { diff --git a/docker_fargate/docker_fargate_stack.py b/docker_fargate/docker_fargate_stack.py index a040380..40b61d6 100644 --- a/docker_fargate/docker_fargate_stack.py +++ b/docker_fargate/docker_fargate_stack.py @@ -90,6 +90,7 @@ def __init__(self, scope: Construct, context: str, env: dict, vpc: ec2.Vpc, **kw task_image_options=task_image_options, memory_limit_mib=8192, # Default is 512; 8192 MiB is equivalent to 8GB. public_load_balancer=True, # Default is False + idle_timeout=300, # TLS: certificate=cert, protocol=elbv2.ApplicationProtocol.HTTPS, From 3b64bdea625100e3bf79a4b2ff3a2d31ddc97b10 Mon Sep 17 00:00:00 2001 From: linglp Date: Fri, 2 Feb 2024 12:57:17 -0500 Subject: [PATCH 2/6] update to use Duration --- docker_fargate/docker_fargate_stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_fargate/docker_fargate_stack.py b/docker_fargate/docker_fargate_stack.py index 40b61d6..947fc73 100644 --- a/docker_fargate/docker_fargate_stack.py +++ b/docker_fargate/docker_fargate_stack.py @@ -90,7 +90,7 @@ def __init__(self, scope: Construct, context: str, env: dict, vpc: ec2.Vpc, **kw task_image_options=task_image_options, memory_limit_mib=8192, # Default is 512; 8192 MiB is equivalent to 8GB. public_load_balancer=True, # Default is False - idle_timeout=300, + idle_timeout=Duration.seconds(300), # TLS: certificate=cert, protocol=elbv2.ApplicationProtocol.HTTPS, From e4a9b0c64c571f3a71b07816c0074e658f53cdb5 Mon Sep 17 00:00:00 2001 From: linglp Date: Fri, 2 Feb 2024 12:58:02 -0500 Subject: [PATCH 3/6] add comment --- docker_fargate/docker_fargate_stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_fargate/docker_fargate_stack.py b/docker_fargate/docker_fargate_stack.py index 947fc73..3d4ffb6 100644 --- a/docker_fargate/docker_fargate_stack.py +++ b/docker_fargate/docker_fargate_stack.py @@ -90,7 +90,7 @@ def __init__(self, scope: Construct, context: str, env: dict, vpc: ec2.Vpc, **kw task_image_options=task_image_options, 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), + idle_timeout=Duration.seconds(300), # Modify default idle time out to avoid 504 gateway error # TLS: certificate=cert, protocol=elbv2.ApplicationProtocol.HTTPS, From 941e115a01ce7e02c81886fc20823e47719ddfac Mon Sep 17 00:00:00 2001 From: linglp Date: Mon, 5 Feb 2024 13:21:26 -0500 Subject: [PATCH 4/6] revert to use schematic v23.12.1 --- cdk.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdk.json b/cdk.json index 5e6e57d..7a21529 100644 --- a/cdk.json +++ b/cdk.json @@ -31,7 +31,7 @@ "aws-cn" ], "dev": { - "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:0.1.62-beta", + "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:schematic:v23.12.1", "AWS_DEFAULT_REGION": "us-east-1", "PORT": "443", "TAGS": { From 0e599357cc69ede9af2b4de64b6e3f1339055e27 Mon Sep 17 00:00:00 2001 From: linglp Date: Mon, 5 Feb 2024 13:22:26 -0500 Subject: [PATCH 5/6] remove typo --- cdk.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdk.json b/cdk.json index 7a21529..61b169e 100644 --- a/cdk.json +++ b/cdk.json @@ -31,7 +31,7 @@ "aws-cn" ], "dev": { - "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:schematic:v23.12.1", + "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:v23.12.1", "AWS_DEFAULT_REGION": "us-east-1", "PORT": "443", "TAGS": { From 03b487e21f7bc1d4e9588417ca37748d50395fce Mon Sep 17 00:00:00 2001 From: andrewelamb Date: Thu, 15 Feb 2024 08:52:52 -0800 Subject: [PATCH 6/6] update prod to 24.1.1 --- cdk.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdk.json b/cdk.json index 112ceaa..fcdeb55 100644 --- a/cdk.json +++ b/cdk.json @@ -65,7 +65,7 @@ }, "prod": { - "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:v23.12.1", + "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:v24.1.1", "AWS_DEFAULT_REGION": "us-east-1", "PORT": "443", "TAGS": {