AWS学习笔记3 -- Spot Instance, Spot fleets

网友投稿 278 2022-09-13

AWS学习笔记3 -- Spot Instance, Spot fleets

How to terminate persistant spot 请求?

Spot Fleets

Spot instances + (optional) On-Demand Instances 在价格约束下满足目标产能 meet the target capacity with  price constraints

定义possible launch pools: instance type (m5.large), OS, AZ可以有多个launch pools, 供fleet选择当满足产能,或达到最高费用时停止launch instances

Strategies to allocate spot instances:

最低价格 lowest price:from the pool with the lowest price (cost optimization, short workload) 多元化 diversified: distributed across all pools (great for availability, long workloads) 容量优化 capacity optimized: pool with the optimal capacity for the numer of instances

Spot Fleets allow us to automatically request Spot Instances with the lowest price

Sport Fleets 允许我们以最低价格自动请求Spot 实例

"LaunchTemplateConfigs": [ { "LaunchTemplateSpecification": { "LaunchTemplateId": "lt-0e8c754339b27161c", "Version": "1" } "Overrides": [ { "InstanceType": "m4.16xlarge", "WeightedCapacity": 64, }, { "InstanceType": "m5.24xlarge", "WeightedCapacity": 96, }, ] } ], "TargetCapacitySpecification": { "TotalTargetCapacity": 2880, "OnDemandTargetCapacity": 960, "SpotTargetCapacity": 1920, "DefaultTargetCapacityType": "Spot" }}

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:于根伟正式出任津门虎总经理兼主教练!
下一篇:ASP.NET Aries JSAPI 文档说明:AR.DataGrid
相关文章

 发表评论

暂时没有评论,来抢沙发吧~