Skip to content

Commit

Permalink
Merge pull request #534 from guardian/revert-532-aa/increase-capacity
Browse files Browse the repository at this point in the history
Revert "Update capacity to be more production-like"
  • Loading branch information
akash1810 authored Sep 24, 2024
2 parents e9654b5 + 4223339 commit bc4afab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions cdk/lib/__snapshots__/cdk-playground.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,15 @@ Object {
"MinSuccessfulInstancesPercent": 100,
},
"ResourceSignal": Object {
"Count": 3,
"Count": 1,
"Timeout": "PT3M",
},
},
"DependsOn": Array [
"AsgRollingUpdatePolicy2A1DDC6F",
],
"Properties": Object {
"DesiredCapacity": "3",
"DesiredCapacity": "1",
"HealthCheckGracePeriod": 120,
"HealthCheckType": "ELB",
"LaunchTemplate": Object {
Expand All @@ -152,13 +152,13 @@ Object {
],
},
},
"MaxSize": "6",
"MaxSize": "2",
"MetricsCollection": Array [
Object {
"Granularity": "1Minute",
},
],
"MinSize": "3",
"MinSize": "1",
"Tags": Array [
Object {
"Key": "App",
Expand Down Expand Up @@ -210,8 +210,8 @@ Object {
"Type": "AWS::AutoScaling::AutoScalingGroup",
"UpdatePolicy": Object {
"AutoScalingRollingUpdate": Object {
"MaxBatchSize": 6,
"MinInstancesInService": 3,
"MaxBatchSize": 2,
"MinInstancesInService": 1,
"MinSuccessfulInstancesPercent": 100,
"PauseTime": "PT3M",
"SuspendProcesses": Array [
Expand Down
3 changes: 2 additions & 1 deletion cdk/lib/cdk-playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export class CdkPlayground extends GuStack {
},
monitoringConfiguration: { noMonitoring: true },
scaling: {
minimumInstances: 3,
minimumInstances: 1,
maximumInstances: 2,
},
applicationLogging: {
enabled: true,
Expand Down

0 comments on commit bc4afab

Please sign in to comment.