Jump to: navigation, search

Difference between revisions of "Heat/AutoScaling"

(When a stack is created with these resources the following happens:)
Line 14: Line 14:
  
 
==== When a stack is created with these resources the following happens: ====
 
==== When a stack is created with these resources the following happens: ====
 
+
# Alarm: the alarm rule is written into the DB
 +
# Policy: nothing interesting
 +
# LaunchConfig: it is just storage
 +
# Group: the Launch config is used to create the initial number of servers.
 +
# the new server starts posting samples back to the cloud watch API
  
 
==== When an alarm is triggered in watchrule.py the following happens: ====
 
==== When an alarm is triggered in watchrule.py the following happens: ====

Revision as of 02:46, 21 June 2013

Heat Autoscaling now and beyond

AS == AutoScaling

Current

The AWS AS is broken into a number of logical objects

  • AS group (heat/engine/resources/autoscaling.py)
  • AS policy (heat/engine/resources/autoscaling.py)
  • AS Launch Config (heat/engine/resources/autoscaling.py)
  • Cloud Watch Alarms (heat/engine/resources/cloud_watch.py, heat/engine/watchrule.py)
Current architecture

When a stack is created with these resources the following happens:

  1. Alarm: the alarm rule is written into the DB
  2. Policy: nothing interesting
  3. LaunchConfig: it is just storage
  4. Group: the Launch config is used to create the initial number of servers.
  5. the new server starts posting samples back to the cloud watch API

When an alarm is triggered in watchrule.py the following happens: