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