开发者

How can I assign an Elastic IP to one of the balanced instances?

If you have one instance, and auto scaling needs to create one more, then you have two instances. But when auto scaling wants to remove one because it's not needed, the new or the old one can be removed.

So, the instance I had with the Elastic IP now it's removed ...

How can I apply a Elastic IP always to one of the instances of a 开发者_JAVA技巧auto scaling activity ?

Thank you


Hmm.. You could have a small code that checks if the ip is available, and will attached to one of your instance. You can write it such as when the instance is launch it automatically attached that Elastic IP to itself if that IP is available.


You could create 2x scaling groups as described here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜