I've a webserver instance with an Elastic IP in Amazon. That's my main instance.
Now, I'm configuring the loadbalancer and autoscaling. When I create the group, I put min-size 1. So when I launch the autoscaling commands, it appears another instance. So I have the old main instance, and the one created by the autoscaling.
Is it possible to create a group with min-size=0 and have my main instance as the first of that group ? so I don't have to pay 2 instances when load is low.
In that case ... if one day I want to 开发者_StackOverflow社区change the group/triggers configuration, this main instance will be deleted ? :(
Thank you !
No, because your main instance should be your template image that the auto-scaler runs up. You should be able to throw that main instance away and that same template runs up again automatically.
If there's something custom in that main instance, you're working against the design of load balancing and auto scaling.
精彩评论