diff --git a/dotcom-rendering/cdk/bin/cdk.ts b/dotcom-rendering/cdk/bin/cdk.ts index ddb8cff0942..5445816d3f9 100644 --- a/dotcom-rendering/cdk/bin/cdk.ts +++ b/dotcom-rendering/cdk/bin/cdk.ts @@ -174,7 +174,7 @@ export const TagPageRenderingPropsPROD: RenderingCDKStackProps = { taskCpu: 2048, taskMemoryLimitMiB: 4096, scaling: { - minimumTasks: 3, + minimumTasks: 12, maximumTasks: 30, cpuScaling: { targetValue: 20, @@ -185,10 +185,10 @@ export const TagPageRenderingPropsPROD: RenderingCDKStackProps = { }, }, - // Route 100% traffic to EC2 + // Route 100% traffic to ECS targetGroupWeights: { - ec2: 1, - ecs: 0, + ec2: 0, + ecs: 1, }, }, }; diff --git a/dotcom-rendering/cdk/lib/__snapshots__/renderingStack.test.ts.snap b/dotcom-rendering/cdk/lib/__snapshots__/renderingStack.test.ts.snap index 97e51502d55..b0f2192e604 100644 --- a/dotcom-rendering/cdk/lib/__snapshots__/renderingStack.test.ts.snap +++ b/dotcom-rendering/cdk/lib/__snapshots__/renderingStack.test.ts.snap @@ -4301,7 +4301,7 @@ exports[`The RenderingCDKStack matches the snapshot for Tag Page Rendering PROD ], "Properties": { "MaxCapacity": 30, - "MinCapacity": 3, + "MinCapacity": 12, "ResourceId": { "Fn::Join": [ "", @@ -5503,13 +5503,13 @@ exports[`The RenderingCDKStack matches the snapshot for Tag Page Rendering PROD "TargetGroupArn": { "Ref": "TargetGroupTagpagerendering42E428EE", }, - "Weight": 1, + "Weight": 0, }, { "TargetGroupArn": { "Ref": "TagpagerenderingEcsTargetGroupTagpagerendering0976D2E5", }, - "Weight": 0, + "Weight": 1, }, ], },