10

我正在尝试使用扩展策略和指标警报而不是触发器来配置Auto Scaling 因为它们已被弃用。我已成功创建启动配置和 Auto Scaling 组,但无法创建扩展策略和指标警报。如果有人可以提供一些示例的链接,或者提供一些自己的链接,将不胜感激。

4

1 回答 1

7

A concise but well documented code example from active boto committer Liam Friel is his gist that Demonstrates using patched boto to create an autoscaling group of servers, scaled up/down by CPU Utilisation.

A more elaborate and less code centric writeup on the subject matter is WallOfFire's tutorial Setting up Queue-size-based auto scaling groups in AWS, which apparently addresses current shortcomings within the AWS documentation as well.

In case none of these enable you to overcome your hurdles, you should amend your question with more details regarding the trouble you have.

Good luck!

于 2012-01-19T16:25:36.730 回答