AWS Elastic beanstalk 规模触发
AWS Elastic beanstalk scale triggering
我在我的 elastic beanstalk 环境中设置了以下参数:
你觉得这样的设置合理吗?
我不明白违规持续时间参数。这是什么意思? 5分钟合理吗?
谢谢
这一切都取决于。由于不同的原因,不同的应用程序需要扩展。这就是 Elastic Beanstalk 允许您选择多种方式来扩展应用程序的原因。当然,这是合理的。它适用于您的应用程序吗?不确定。您的应用 CPU 是密集型还是仅提供静态内容?延迟和 500's 的第一大因素是什么?
违规持续时间参数是要查看的数据的时间范围。例如,在过去 5 分钟内,CPU 是否超过 70%?将数字降低到 "real time",将数字增加到 "safe"。
来自the docs:
For Measurement period, specify how frequently Amazon CloudWatch measures the metrics for your trigger. Breach duration is the amount of time a metric can extend beyond its defined limit (as specified for Upper threshold and Lower threshold) before the trigger fires.
我在我的 elastic beanstalk 环境中设置了以下参数:
你觉得这样的设置合理吗?
我不明白违规持续时间参数。这是什么意思? 5分钟合理吗?
谢谢
这一切都取决于。由于不同的原因,不同的应用程序需要扩展。这就是 Elastic Beanstalk 允许您选择多种方式来扩展应用程序的原因。当然,这是合理的。它适用于您的应用程序吗?不确定。您的应用 CPU 是密集型还是仅提供静态内容?延迟和 500's 的第一大因素是什么?
违规持续时间参数是要查看的数据的时间范围。例如,在过去 5 分钟内,CPU 是否超过 70%?将数字降低到 "real time",将数字增加到 "safe"。
来自the docs:
For Measurement period, specify how frequently Amazon CloudWatch measures the metrics for your trigger. Breach duration is the amount of time a metric can extend beyond its defined limit (as specified for Upper threshold and Lower threshold) before the trigger fires.