<div dir="ltr"><div><div>Hi Everyone,<br><br></div>I instantiated a stack within Heat that contains a simple launch configuration and autoscaling group (template listed below). The stack came up and the instance started, however when I killed the instance (nova delete XXX) it wasn't restarted...on AWS if a CloudFormation instance gets killed it seems to be restarted. This is without me defining any health monitors. How can I achieve the same behavior with OpenStack?<br>
<br></div>Thanks!<br><br>-Aaron<br><div><br>{<br> "AWSTemplateFormatVersion" : "2010-09-09",<br><br> "Resources" : {<br> "SimpleConfig": {<br> "Type": "AWS::AutoScaling::LaunchConfiguration",<br>
"Properties": {<br> "ImageId": "804b7e07-7e15-4c45-93d5-6bed194c484a",<br> "SecurityGroups": [ "PantsDown" ],<br> "InstanceType": "m1.small"<br>
}<br> },<br> "MyServerGroup": {<br> "Type": "AWS::AutoScaling::AutoScalingGroup",<br> "Properties": {<br> "VPCZoneIdentifier" : ["2b8be0fa-330d-4ba5-86f7-76b9e71c6a72"],<br>
"AvailabilityZones" : ["nova"],<br> "DesiredCapacity" : 1,<br> "LaunchConfigurationName": {<br> "Ref": "SimpleConfig"<br>
},<br> "MinSize": "1",<br> "MaxSize": "3"<br> }<br> }<br> }<br>}<br></div></div>