Zend Server Cloudformation Question

General discussion forum for the Zend Server
Post Reply
Posts: 14
Joined: Tue Sep 22, 2015 10:05 am

Zend Server Cloudformation Question

Post by terr3089 » Thu Jun 08, 2017 11:50 am

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.


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



Posts: 15
Joined: Sun Jul 17, 2011 3:17 pm
Location: Ramat Gan, Israel

Re: Zend Server Cloudformation Question

Post by dima_z_zend » Wed Jun 14, 2017 11:18 am

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).
Dmitry Zbarski
Cloud Integration Engineer
Zend Technologies, Ltd.

Post Reply