How to adjust latency-based scaling in AWS Elastic Beanstalk?

The delay in my application deployed to AWS Elastic Beanstalk is usually about 50 ms, I want another instance to start if the average latency is 500 ms (1/2 second). You can change the zoom trigger in the configuration and select Delay , but the smallest Unit of Measure is Second and Upper . > and Lower scale values must be integer or percent.

Therefore, it is not possible to set the trigger as needed.

+7
amazon-web-services elastic-beanstalk
source share
1 answer

The “Lower Violation Scale” and “Upper Violation Scale” properties are the number of EC2 instances to add or remove. It must be an integer or percentage.

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html

To use sub-second delays as triggers for scaling, set the UpperThreshold and LowerThreshold to "0.5" in 500 ms. The unit will be the second.

+9
source share

All Articles