From 5eb07b13ea4ce3f72d2396698419e9108f86a07a Mon Sep 17 00:00:00 2001 From: Ioanna Kokkini Date: Wed, 1 Nov 2023 09:37:04 +0000 Subject: [PATCH] Reduce DCR `minCapacity` to 27 instead of 25 @jacobwinch made a good point in the review about dropping the capacity in groups of 3 and monitoring at each stage. It's good to modify ASG capacity in groups of 3 so that AWS can evenly distribute across Availability Zones (https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html#arch-AutoScalingMultiAZ). https://github.com/guardian/dotcom-rendering/pull/9369#issuecomment-1787482842 Co-authored-by: Jacob Winch --- dotcom-rendering/cdk/bin/cdk.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotcom-rendering/cdk/bin/cdk.ts b/dotcom-rendering/cdk/bin/cdk.ts index 7d6272dcd5c..ebb457e5bfe 100644 --- a/dotcom-rendering/cdk/bin/cdk.ts +++ b/dotcom-rendering/cdk/bin/cdk.ts @@ -13,7 +13,7 @@ new DotcomRendering(app, 'DotcomRendering-PROD', { ...sharedProps, app: 'rendering', stage: 'PROD', - minCapacity: 25, + minCapacity: 27, maxCapacity: 120, instanceType: 't4g.small', });