Upgrade Reserved Instance

0

Hi. I have a t2.large RI (convertible) which will expire in December 2024. I now need to add a new server with higher capacity (possibly an m4.xlarge). I'm trying to figure out how best to optimise cost.

The new m4 instance will run parallel to the current server for 4-6 months and then the t2 instance will be decommissioned.

Is there a way to change my RI from t2 to m4 after 6 months? If yes, how can I minimise the cost for the new m4 for these 6 months? If not, is there a way to avoid paying for the whole year after the t2 is decommissioned?

Thanks!

Nitesh
已提問 1 年前檢視次數 383 次
3 個答案
3
已接受的答案

Yes, if you have convertible RIs you can likely convert them for the new instance types. The link below details when conversions can be made at the details of the process. As for when you do it, you will have to do a bit of math and determine whether you convert the RIs now or when you are ready to shutdown the existing instances.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-convertible-exchange.html

Exchange Convertible Reserved Instances

You can exchange one or more Convertible Reserved Instances for another Convertible Reserved Instance with a different configuration, including instance family, operating system, and tenancy. There are no limits to how many times you perform an exchange, as long as the new Convertible Reserved Instance is of an equal or higher value than the Convertible Reserved Instances that you are exchanging.

When you exchange your Convertible Reserved Instance, the number of instances for your current reservation is exchanged for a number of instances that cover the equal or higher value of the configuration of the new Convertible Reserved Instance. Amazon EC2 calculates the number of Reserved Instances that you can receive as a result of the exchange.

You can't exchange Standard Reserved Instances, but you can modify them. For more information, see Modify Reserved Instances .

profile pictureAWS
專家
iBehr
已回答 1 年前
profile pictureAWS
專家
已審閱 10 個月前
  • Thank you for the explanation. It seems the best option is to move the RI from t2 to m4 and perhaps run the current t2 instance in the spot mode for as long as required. Is my understanding correct?

  • There are some other implications of spot mode. Using on-demand is the simplest option for the t2, but obviously a bit more costly. If you want to do spot, you will have to create an image of the t2 instance and then launch a spot instance with that image. So doing so will take a bit of downtime. Make sure that you use persistent spot instance so if the instance gets preempted it stops rather than terminates and then restarts when sufficient capacity exists. Further, make sure that you understand spot capacity and that you can lose the instance for unknown periods of time with 2 minutes notice when spot capacity is low. Finally, I would highly recommend using Data Lifecycle Manager (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html) to automatically create snapshots of your instance on a daily basis and keep them for several days as a safety net.

  • T2 on-demand sounds better then. Thanks again.

0

Agreed with exchanging reserved instances. If you need to calculate how much you can save with the new instance type, I recommend trying aws pricing for google sheets. It's helpful to compare on-demand and different reserved instance prices!

Brian
已回答 1 年前
  • Thank you! This is helpful!

-1

Hello Nitesh,

Yes, you can change your t2 to a t3 or an m4 easily by stopping your instance (NOT TERMINATING IT), and right click on the instance in the portal and select Instance Settings / Change Instance Type. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html Best Craig

profile pictureAWS
已回答 1 年前
  • Thanks, but I want to change my RI, not the instance itself.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南