Is it worth it? Azure Reservations and Savings Plans VS PAYG
AI generated image

Is it worth it? Azure Reservations and Savings Plans VS PAYG

In my work helping Azure customers optimize their workloads, I often get this question: how do I know when it's worth reserving or shutting down my virtual machines?

Well, thankfully, math can help us here with a simple calculation for the break-even hours.

But first, I must say that the cheapest option should always be always considered, and it's very often the "on-demand" use: switching on resources only when they are needed and off once done. There are several benefits to this policy, including instilling in the cloud teams the notion that they should only allocate resources when they are used and needed, and not just keeping them idle "just in case".

Let's do the math. I will pick a VM size, for example a E32ads v5. The current price listed for East US is as follows (Pricing - Linux Virtual Machines | Microsoft Azure):

  • PAYG=$2.0960/hour
  • RI3Y=$0.7965/hour
  • SP3Y=$0.9799/hour

The monthly rates from the same page are:

  • PAYG=$1,530.0800/month
  • RI3Y=$581.4158/month
  • SP3Y=$715.3124/month

so the discount is very good, especially with 3 Years Reservations! But I still want to know if it may be more convenient for me to switch it off and on when needed, thus not using it 7x24 each month.

The calculation is:

"hourly cost Reserved" *24/"hourly cost PAYG"        

so in this case = $0.7965*24/$2.0960 = 9,12 hours is the break even

so the cost for 9,12 hours in PAYG is $2.0960*9,12*30 = 573,4656$ for the month, which is less than the Reserved monthly price.

This means that to make it worth reserving I need to be using that VM more than 9,12 hours a day: using it for 9,12 hours or less , PAYG is cheaper.

Let's do the calculation for Savings Plans now:

$0.9799*24/$2.0960 = 11,22 hours

Since the discount is lower, I have to make sure my VM is used more than 11,22 hours a day to make the savings plan cost effective. In fact, the cost for running the VM for 11,22 hours a day would be 705,5136$, less than the Savings Plans' monthly rate.

My key takeaway is: please always consider on/off policies where possible, as these have an impact not just on cost but also on the used resources and ultimately on their carbon emissions.



要查看或添加评论,请登录

Paola Annis的更多文章

  • S01E05 dapr-compass – But why Dapr?

    S01E05 dapr-compass – But why Dapr?

    If you missed the previous episodes of the season, here’re the links: S01E01 dapr-compass: how the story begins S01E02…

  • The green impact of serverless

    The green impact of serverless

    [this article's contents have been presented at Serverless Days Milan, 4th June 2020] Living in Milan, I have had to…

    7 条评论
  • Cloud Optimization is the place!

    Cloud Optimization is the place!

    So. you've arrived this far and embraced the cloud model by bringing a bunch (or thousands) of workloads into the…

    1 条评论
  • A day in the life of a digital working mom

    A day in the life of a digital working mom

    It’s a Wednesday evening and I am checking my clockwork household organisation. It all revolves around digital and…

    4 条评论
  • The rise of the digital bookworm

    The rise of the digital bookworm

    I have always been an avid reader since the time my mom, for my 11th birthday, gave me a library card for a present. It…

  • I'm back...and so is NPS!

    I'm back...and so is NPS!

    If you were wondering why I haven't posted for a while now, it's because on top of the usual work-family load, I have…

  • AI and CX?

    AI and CX?

    From Mobile World Congress 2016 to the recent F8 ten year roadmap speech, AI is definitely one of the hottest…

    1 条评论
  • social customer care: you're doing it wrong!

    social customer care: you're doing it wrong!

    In preparation for a customer meeting around social customer care, I am browsing through Twitter and Facebook looking…

    1 条评论
  • Perspective (and the guy with flip flops)

    Perspective (and the guy with flip flops)

    Yesterday evening I was having a fine dinner with some colleagues. A very international and diverse bunch, all with…

    2 条评论
  • Instant CX gratification?

    Instant CX gratification?

    As users, in engaging with companies, are we more focused on the result, or on the instant gratification? If I have to…

社区洞察

其他会员也浏览了