saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
https://repo.saltproject.io/
Apache License 2.0
14.16k stars 5.48k forks source link

[salt-cloud][azure] Add new instance to existing cloud service #16138

Closed andrejohansson closed 10 years ago

andrejohansson commented 10 years ago

When provisioning a salt profile to an instance using salt-cloud on Azure today, it will also automatically create a new Cloud Service. But there seems to be no way of creating and adding new instances to an existing cloud service.

In code it seems this is the only supported behaviour, check msazure.py

We are using the built-in azure autoscale features and they only work within the same cloud-service, and unfortunately you have to create all the instances in advance and have them suspended. Thats the way "scaling" works in Azure right now.

So if we would get a burst of activity we have to have a bunch of prepred suspended machines to boot up to "scale up". The problem is that creating them manually is painful, so we would like to create them with salt, automated and in parallell which is a step better. But right now we can't create them in the same cloud service.

egilh commented 10 years ago

I've added a request for that here: https://github.com/saltstack/salt/issues/15959

andrejohansson commented 10 years ago

@egilh missed that! This can be closed as we wait for #15959. Thank you!