简体   繁体   中英

How can i put a AWS Spotfleet behind an ElasticLoadBlancer (ELB)

Is there any way to put all instances of a spotfleet behind one ELB ? Preferably via Cloudformation.

Skimming through the documentation i could not find any hints rearding that topic.

Spotfleet博客文章中 ,我从亚马逊得到了一个答案,指出该功能目前尚不存在,但已计划中。

Using LaunchConfiguration (with a SpotPrice) connected to your AutoScalingGroup, you can have the spot fleet in your ELB.

This is a fairly standard AutoScalingGroup/LaunchConfiguration usage, the SpotPrice is the only thing that is different from the standard fleet configuration. You can combine this basic ASG with this basic LaunchConfig . I'd remove the FindInMap and Ref stuff from the latter, just replace it with the strings of your choice.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM