| OLD | NEW |
| 1 .. _autoscale_tut: | 1 .. _autoscale_tut: |
| 2 | 2 |
| 3 ============================================= | 3 ============================================= |
| 4 An Introduction to boto's Autoscale interface | 4 An Introduction to boto's Autoscale interface |
| 5 ============================================= | 5 ============================================= |
| 6 | 6 |
| 7 This tutorial focuses on the boto interface to the Autoscale service. This | 7 This tutorial focuses on the boto interface to the Autoscale service. This |
| 8 assumes you are familiar with boto's EC2 interface and concepts. | 8 assumes you are familiar with boto's EC2 interface and concepts. |
| 9 | 9 |
| 10 Autoscale Concepts | 10 Autoscale Concepts |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 measure_name='CPUUtilization', statistic='Average', | 131 measure_name='CPUUtilization', statistic='Average', |
| 132 unit='Percent', | 132 unit='Percent', |
| 133 dimensions=[('AutoScalingGroupName', ag.name)], | 133 dimensions=[('AutoScalingGroupName', ag.name)], |
| 134 period=60, lower_threshold=40, | 134 period=60, lower_threshold=40, |
| 135 lower_breach_scale_increment='-5', | 135 lower_breach_scale_increment='-5', |
| 136 upper_threshold=80, | 136 upper_threshold=80, |
| 137 upper_breach_scale_increment='10', | 137 upper_breach_scale_increment='10', |
| 138 breach_duration=360) | 138 breach_duration=360) |
| 139 >> conn.create_trigger(tr) | 139 >> conn.create_trigger(tr) |
| 140 | 140 |
| OLD | NEW |