Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have created a cloud formation script to launch two instances, attach a volume on startup, and setup a load balancer. Now I am looking at setting up auto scaling and I am confused by the launch config. Does that need to basically include everything dealing with instance creation that my cloud formation script does?

Or is it possible to have the as-create-auto-scaling-group --launch-configuration tie into the cloudformation?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

I found the answer.

When you use a cloud formation script by default it in fact does create a launch configuration. I just didn't notice it because I didn't see as-describe-launch-configs in the docs.

So after running that I found the created launch config and then went on with my as-create-auto-scaling-group commands using the existing launch config.

All seems to be good to go now. Sorry it was something so simple I overlooked and hopefully this will help the next person with this question. :-)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.