简体   繁体   English

如何将AWS Spotfleet放在ElasticLoadBlancer(ELB)后面

[英]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 ? 有什么方法可以将Spotfleet的所有实例放在一个ELB后面? Preferably via Cloudformation. 优选地通过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. 使用连接到AutoScalingGroup的LaunchConfiguration (具有SpotPrice),可以在ELB中拥有现货车队。

This is a fairly standard AutoScalingGroup/LaunchConfiguration usage, the SpotPrice is the only thing that is different from the standard fleet configuration. 这是相当标准的AutoScalingGroup / LaunchConfiguration用法,SpotPrice是唯一与标准车队配置不同的东西。 You can combine this basic ASG with this basic LaunchConfig . 您可以将此基本ASG该基本LaunchConfig结合使用。 I'd remove the FindInMap and Ref stuff from the latter, just replace it with the strings of your choice. 我将从后者中删除FindInMap和Ref内容,只需将其替换为您选择的字符串即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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