AWS re:Postを使用することにより、以下に同意したことになります AWS re:Post 利用規約

EC2 Reserved instances - how do they work

0

I am curious as to how ec2 reserved instances work.

Let's say I reserve 20x t3a.nano for a year.

But I use 40x t3a.nano for 6 months and 0 for 6 months.

Would the reservation cover everything since I used average 30x t3a.nano over the course of the 12 months?

Or is the 20x t3a.nano reservation a daily capacity and you use it or lose it?

質問済み 2ヶ月前59ビュー
2回答
2
承認された回答

EC2 Reserved Instances (RIs) work as a billing discount applied to the use of On-Demand Instances in your account, rather than as a physical allocation of instances. Here's how your scenario would play out:

  1. You reserve 20x t3a.nano instances for a year.

  2. For the first 6 months when you're using 40x t3a.nano:

  • 20 instances would be billed at the discounted Reserved Instance rate.
  • The additional 20 instances would be billed at the regular On-Demand rate.
  1. For the next 6 months when you're using 0 instances:
  • You would still be billed for the 20 Reserved Instances, even though you're not using them.

The reservation does not "average out" over the course of the year. It's applied on an hourly basis, up to the number of instances you've reserved. You pay for the entire term of a Reserved Instance, regardless of your actual usage. This means that in your scenario, you would not fully benefit from your RI purchase during the second half of the year when you're not using any instances.

Reserved Instances are best suited for steady-state usage. If your usage fluctuates significantly, as in your example, you might not fully optimize your cost savings. In such cases, it might be more beneficial to consider other pricing options like Savings Plans, which offer more flexibility, or to adjust your RI purchase to match your minimum consistent usage.
Sources
Reserved Instances
Reserved Instances for Amazon EC2 overview - Amazon Elastic Compute Cloud
Amazon EC2 Reserved Instances - Amazon EC2 Reserved Instances and Other AWS Reservation Models

profile picture
回答済み 2ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前
0

Likely it will be cheaper for you not to use RI and use On Demand for 6 months.

profile picture
エキスパート
回答済み 2ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ