For example, we have 10 t3.medium ec2 instance. Let's say that there are 6 always running 24/7, but the other 4 are not running 24/7, they are turned off when not in use.
If I buy a reserved instance for t3.medium, how does AWS know to apply it to the instances running 24/7 and not part time?
Amazon doesn't apply reserved pricing to a specific instance at all. It basically just applies reserved pricing to your bill. It's like a discount at the time your bill is processed. If you have reserved pricing for N instances, and you have at least N instances running 24/7 reflected in your bill, then the reserved pricing gets applied to those N instances.
Amazon doesn't really care if you are running a single specific instance 24/7, or deleting and recreating instances once a minute. In the end it's just the total number of seconds you have a specific type of instance running each month that they care about, and bill you for.
Be aware that when you setup instance reservations it is actually a capacity reservation. You are telling Amazon you are committing to running this type of instance 24/7 for either 1 year or 3 years. By letting Amazon know this, it helps with their capacity planning, and in return they give you a cost discount. But it also means that they are going to charge you for that reserved capacity even if you don't actually have that instance running 24/7.
Answer from Mark B on Stack OverflowVideos
Hi,
We've been using AWS since 2012 and we've never actually switched to a reserved instance because we don't really understand how it all works...
We have:
1x t2.micro
1x t2.small
1x t3.large
Our t2.micro instance changes now and again to t2.small and occasionally a t2.large, we probably make a change every 2~ months
Our t2.small rarely changes but every 6~ months or so it may get an increase or a decrease.
Our t3.large sometimes goes up to an t3.xlarge or even sometimes a c2.xlarge
We don't plan on leaving AWS anytime soon, we'll likely stay with aws for at least the next 3-5 years.
If we look at the t2.small:
A
Standard 1 Year Term, no Upfrontmeans I am contracted to pay a minimum of $12.92 per month over 12 months which means I can only use that $12.92 a month on a t2.small but cannot upgrade or downgrade the instance?A
Standard 1 Year Term, All Upfrontmeans I am contracted to pay $145 up front, which means I can then use a t2.small for 12 months but cannot upgrade or downgrade the instance?A
Convertible 1 Year Term, no Upfrontmeans I am contracted to pay a minimum of $14.89 per month over 12 months but if I want to upgrade or downgrade the instance I can? What happens if I upgrade? What happens if I downgrade?A
Convertible 1 Year Term, All Upfrontmeans I am contracted to pay $167 up front... the same above questions I have for this one.
Anyone able to explain it better? Thanks
Hi all,
AWS newbie here, so be kind. I'm looking at moving some "on demand" EC2's to "reserved instances".
Checking the BILLING recommendations (via our 'master' account which aggregates all accounts), it's saying:
3.331/hr
Then when I manually went into a single specific account and manually searched in the Marketplace, I saw 2x prices at:
0.101/hr
0.112/hr
assuming I have searched for the like-for-like EC2's ... is this right?
IMG: https://i.imgur.com/4uXm1bt.png