Browse Source

increased instance warmup time to prevent autoscaling example from draining and killing instances before they are ready

master
Sebastian Rieger 5 months ago
parent
commit
1fd86375c9
  1. 2
      example-projects/tug-of-war-in-the-clouds/aws-boto3-standalone-db-autoscaling/start.py

2
example-projects/tug-of-war-in-the-clouds/aws-boto3-standalone-db-autoscaling/start.py

@ -378,7 +378,7 @@ response = asClient.put_scaling_policy(
AutoScalingGroupName='tug-of-war-asg-autoscalinggroup',
PolicyName='tug-of-war-asg-scalingpolicy',
PolicyType='TargetTrackingScaling',
EstimatedInstanceWarmup=30,
EstimatedInstanceWarmup=60,
TargetTrackingConfiguration={
'PredefinedMetricSpecification': {
'PredefinedMetricType': 'ALBRequestCountPerTarget',

Loading…
Cancel
Save