I have an Zend Server 8 cluster based on the supplied Zend cloudformation template. I modified it in the CMInstance MetaData/AWS::CloudFormation::Init section to make a change to httpd.conf. It worked fine and as if by magic all the new autoscaling group instances have the same modification in them despite nothing being added to the Launchconfig.
Great
My problem now is that I have an older cluster, created with an earlier version of the template which does not have the modification to httpd.conf. I can't really do a Cloudformation Update because of manual changes done since the stack was created.
I can update all the instances by hand and it's fine but when new instances are created in the autoscaling group the change is not propagated to them.
So my question is how can I get these changes to propagate to the new autoscaling group instances or at least can anyone help me understand how it works when the stack is created using the updated template
Thanks
Terry
Zend Server Cloudformation Question
-
- Posts: 15
- Joined: Sun Jul 17, 2011 3:17 pm
- Location: Ramat Gan, Israel
Re: Zend Server Cloudformation Question
You can not edit existing launch configuration, but you copy it and alter user data section when creating new copy.
After you create new launch configuration with desired changes, you should edit your auto scaling group to make it use new launch configuration.
All that can be done either using AWS CLI or AWS Console (EC2 / Auto Scaling).
After you create new launch configuration with desired changes, you should edit your auto scaling group to make it use new launch configuration.
All that can be done either using AWS CLI or AWS Console (EC2 / Auto Scaling).
Dmitry Zbarski
Cloud Integration Engineer
Zend Technologies, Ltd.
Cloud Integration Engineer
Zend Technologies, Ltd.