根据平均使用量购买亚马逊预留实例

Purchasing Amazon reserved instances based on average usage

似乎可以根据平均使用量而不是初始使用量来购买预留实例。例如,如果我购买了 2 个 RI,第 1 天 运行 1 个实例,第 2 天 运行 3 个实例,它的使用率与我 运行 2 个实例基本相同2天。 RI 计算会这样吗,还是我会被收取 3 天的 RI 使用量和 1 天的按需使用量?

没有时间跨度。

每个小时都被单独考虑,未充分利用的预留实例小时数不会向前或向后滚动到 运行 个实例数多于预留的小时数。

Customers using both Reserved and On-Demand instances will have Reserved Instance rates applied first to minimize costs. You pay the low hourly usage fee for every hour in your Reserved Instance term (which means you’re charged the hourly fee regardless of whether any usage has occurred during an hour). When your total quantity of running instances during a given hour exceeds the number of applicable Reserved Instances you own, you will be charged the On-Demand rate. (emphasis added)

https://aws.amazon.com/ec2/pricing/reserved-instances/buyer/

虽然没有明确说明,当然,"you will charged the On-Demand rate"指的是超出保留实例数的每小时运行个实例。

预留实例仅查看并发 运行 次。如果您有两个预留 RI,并且 运行1 天使用 3 个实例,1 天使用 1 个实例,则您不在 RI 分配范围内,而是按需支付 1 天的费用。

引擎盖下有为您保留的文字容量,否则就没有意义