【发布时间】:2020-07-15 10:13:43
【问题描述】:
我最近进行的一项 EC2 配置更改需要您的帮助。
我有 14 个 EC2 On-Demand 运行实例,但后来我才知道,我实际上可以通过购买预留实例将成本降低一半。
首先,我购买了 1 个与按需实例类型匹配的预留实例,并立即应用了计费折扣(我可以根据此视频确认这一点:https://www.youtube.com/watch?v=rvdnJrLlWJs)。
然后我又购买了 4 个预留实例,如下所示:
购买后,我希望看到应用的计费折扣,但我在“无区域”下看到了 RI(如下所示)。我选择的配置和单实例的配置完全一样,唯一的区别是实例的数量是4个。
我可以确认我的所有 14 个 EC2 Running On-Demand 实例都属于 t2.medium 系列。
请提供帮助和建议。谢谢
[更新] 根据@aws-ps 建议的方法,我得到了以下结果:
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Does not support vpc yet, please be careful when trusting these results
Congratulations, you have no unused reservations
Congratulations, you have no unreserved instances
Traceback (most recent call last):
File "./ec2-check-reserved-instances.py", line 84, in <module>
qty_running_instances = reduce( lambda x, y: x+y, running_instances.values() )
TypeError: reduce() of empty sequence with no initial value
【问题讨论】:
-
您可以联系 AWS 客户服务(不同于 AWS Support)。他们可以协助查询与计费和预留实例相关的问题。他们是这类问题的专家。
-
已经在与他们交谈。这是我做的第一件事
标签: amazon-ec2 aws-reserved-instances