模板见下面链接:
https://github.com/double12gzh/heat-templates/tree/master/autoscaling
heat 中可以实现auto scaling 的资源有
ResourceGroup
InstanceGroup
OS::Heat::AutoScalingGroup
OS::AWS::AutoScalingGroup
There are four types of scaling group in Heat: ResourceGroup, InstanceGroup, AWS AutoscalingGroup and Heat AutoscalingGroup. In each case, the implemenation of scaling is tightly bound into the resource. The latter three resource types share an unholy inheritance arrangement whereby the actual resource classes inherit from each other. They share no code at all with ResourceGroup, which is an entirely independent implementation.
The goal of this blueprint is to unify as much as possible of the generic scaling group code in a common library that can be called from these various resources, and to remove as much logic as possible from the Resource classes themselves.
mailing list:
http://lists.openstack.org/pipermail/openstack-dev/2016-March/090269.html
Heat Meeting minutes: