简体   繁体   English

AWS预留实例计费

[英]AWS Reserve Instance Billing

I have about 8 EC2 Windows t2.small instances iam paying about $0.03 (on-demand) Total is about 5840 hrs/month. 我有大约8个EC2 Windows t2.small实例,我支付约0.03美元(按需)总计约5840小时/月。 If I buy 1 reserve instance for 1 year is a total of about 8760 hrs 如果我购买1个储备实例1年,总共约8760小时

Will the bill for this reserve instance be applied to all my 8 EC2 pricing ? 这个储备实例的账单是否适用于我所有的8 EC2定价? Or will it be only applied to 1 of them ? 或者它只适用于其中一个?

I ask these because I am not sure I will have all 8 instances for 1 year, but I am sure I will have them for at least 3 months. 我问这些是因为我不确定我将在1年内完成所有8个实例,但我相信我会拥有它们至少3个月。 So I can pay upfront for 17520 hrs of EC2 t2.small Windows. 所以我可以预先支付17520小时的EC2 t2.small Windows。

All my EC2 run 24/7 我所有的EC2全天候运行

As long as you run at least one t2.small instance running all the time, your reserved instance rate will be applied to that instance. 只要您运行至少一个t2.small实例一直运行,您的预留实例速率将应用于该实例。

  • If you have 8 instances running, 7 will be charged on-demand price one will be charged for reserved instance price. 如果您有8个实例正在运行,则7个将按需收取费用,将按预留实例价格收取费用。

  • If you have 2 instances running, you will be charged one for on-demand and one for reserved instance. 如果您有2个实例正在运行,那么您将按需按需付费一个,为保留实例付费一个。

  • If you have no instance running, you will be charged for one reserved instance. 如果您没有运行实例,则需要为一个预留实例付费。

  • If you will be running the instance for three months only, do not buy reserved instance since it is not cost effective. 如果您将仅运行实例三个月,请不要购买预留实例,因为它不符合成本效益。 Instead try the Reserved Instance Marketplace , where some people sell their unused reserved instances. 而是尝试预留实例市场 ,其中一些人出售他们未使用的预留实例。

If you buy 1 reserve instance for 1 year then you'll be charge separately for that 1 reserved instance.It is calculated on the basis of reserved instance rate. 如果您购买1个预留实例1年,那么您将分别为该1个预留实例收费。它是根据预留实例率计算的。

Rest all will be charged on the "on-demand" basis rate. 休息所有将按“按需”基准费率收费。

The simplest way to think of a Reserved Instance is that you are pre-purchasing (annually or monthly) the right to run one matching instance every hour of the year at now hourly cost. 考虑预留实例的最简单方法是,您预先购买(每年或每月)以一小时成本每年每小时运行一个匹配实例的权利。

(Things get a bit more complicated with Linux per-second pricing.) (Linux每秒定价会让事情变得复杂一些。)

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

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