Edit Launch Configuration user-data
It would be a great time saver if Ylastic created a way to update/replace an existing launch configuration's user-data, leaving the rest of the options intact. While ideally editing all attributes would be easier than having to go through the steps to create one from scratch, for starters, editing user-data would be great.
Thanks!
Jack Murgia
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Ylastic on 05 May, 2012 05:14 PM
AWS does not let you update a launch configuration. You can only create and delete a launch config.
We could probably do the replace, but that would involve, removing the existing launch config and creating a new launch config with the updated parameters provided. Once caveat to this is that there may be a brief time when the lc will not exist (while it is being deleted and re created). That might cause some issues with the scaling activities. Also how do we handle the case where for some reason the create of the new lc fails in EC2? Sine the old one has to be deleted before we create the new one (if you would like to use the exact same name for the lc).
Thoughts?
thanks!
2 Posted by zcox on 08 Aug, 2012 01:29 PM
Even if we had some functionality to select an existing launch config, copy all of its existing values, edit any of those values, and then create a new launch config from those values, that would be a huge improvement over what aws provides today. It is so extremely painful when you just want to change one value like ami, or you want to edit one little part of the user-data-file boot script.
Support Staff 3 Posted by Ylastic on 08 Aug, 2012 05:00 PM
Ok. So maybe something a clone/edit an existing launch config?
thanks!
4 Posted by zcox on 08 Aug, 2012 05:35 PM
Yeah exactly! Not quite as easy as "edit launch config" but at least this way you could create a new launch config based on the values of an existing launch config, making any small changes you want, then you could just manually tell your AutoScaling group to use this new launch config.
5 Posted by jack.murgia on 09 Aug, 2012 04:23 AM
+1 on @zcox's suggestion- that would do the trick.
Ylastic closed this discussion on 08 Aug, 2014 12:01 PM.