Right-sizing in the Cloud

Right-sizing in the Cloud

I have recently been helping clients understand and control their cloud costs and finding some very easy ways to save 20 – 40% of their cloud costs with very little effort. I would really like to hear from others who are implementing applications in the cloud, whether they have observed these opportunities and what they have done to mine them for gold (literally!).

The most important point that most cloud users forget is that while most of the cloud resources are billed by usage, some, like compute instances, are charged based on provisioning. Once you have chosen a region, processor, size, and type, and instantiate it, you start paying for it. No matter what the utilization is, no matter that the application just uses it periodically. When I look at my clients’ cloud invoices, more than 50% of the bill is for compute instances, so this is a good place to look for waste.

There are several ways to save here:

-?????????Compare regions and processor / type to see if there is a price difference that you can exploit without performance hits to your application. Of course, the libraries and components you use need to be compatible with the processor type, but a bit of research and testing here can save a lot of money over time.

-?????????Choose the smallest instance that your application can run on, not the size that was used when it was on-prem. Make sure that auto-scaling is used in your architecture and scale out and back in as the load changes. Test this to ensure that it works. Check to see that utilization is always in the 60 – 70% range for the compute instances you use.

-?????????Talk to the product owner and the sales team to understand the business growth model, translate that into application load and then prepay for the base load expected. This can save you 50% or more, compared to the on-demand cost.?Revisit this on a quarterly basis to make sure that reality and prediction are aligned. This should also be done for the instances that are used and billed under database or middleware tools.

-?????????Every time an instance is created, make sure it is tagged with a unique identifier, the app name, environment (dev, test, prod, DR) and the owner. Other information like department, cost center etc. can be added as tags, or stored in a mapping table from the identifier. This avoids having to retag when re-orgs occur. The tags are essential when looking at costs and usage and ensuring that owners know what resources they have and what they cost.

-?????????For Dev and Test instances included a TTL in the automation used to create them, and at least hibernate them automatically at that time. Daily reports on cost should be emailed to the instance owners so they are aware.

The cloud invoice every month needs to be compared to the previous months, but that is usually at a high level, and to understand what drove an increase or decrease, the usage records need to be analyzed. Fortunately, the cloud providers provide native tools to start you on that journey, and there are third party tools that also help. These should be used to set up daily cost reports. Just like an event is raised when CPU is too high, or a disk too full, cost increases should be ticketed and investigated.

Usage and cost should be examined by the application architects to look for optimization opportunities, especially after each deployment. While cost increase due to increased traffic or sales is a good thing, it needs to be proportional to the increased revenue. If it isn’t, an urgent investigation is warranted before the costs accumulate into the monthly invoice.

There are many ways to keep cloud costs under control, and I have just outlined a few. I would really like to hear from others about successful cloud cost control techniques.

#finops #cloudcostmanagement #rightsizing #lean

John Platais

Senior Director | Information Technology | Data Analytics & Insights | AIML | Developer | Automation | ScrumMaster | Scrum Product Owner

1 年

This is a great article for both small and large operations.??Cloud capacity is both knowable and controllable using the right inputs and analytics.??When many move to the cloud they assume that their “on-prem” configuration should be mirrored in the cloud.??This leads to classic “sticker shock” and confusion.??By approaching cloud migration critically and with a data driven mindset, hosting your requirements on the cloud can reduce your bottom line and facilitate greater scalability when needed.??Couple key points I would reinforce here include…. 1.?????Know what you need under various conditions…what are your core requirements and when do you need to be able to scale and for how long? 2.?????For many, the business growth model can be challenging. Most don’t want to undersize at the risk of client satisfaction but don’t want to oversize due to unnecessary overhead.??Building a solid, repeatable model for resource consumption here is critical… Big Picture, building a cloud presence can be both challenging and, in some cases, very costly if you don’t have a method for capacity assessment, prediction, and the agility to scale where/when needed. Great Read.....

回复

Good Summary of key critical points to look for not burning cost on unused Infrastructure a behavior in legacy and traditional data centers - same mentality prevails. The Dev/test/qa and multiple environments spun and left unused. Tracking and monitoring costs on usage and utility of all services and automating with IaaC is good start. And this may be a good area for AI/ML tools to have a strict discipline and also DevSecOps done RIGHT - not to have too many environments from retro IT legacy leaders - used to have too much of infrastructure like the Automotive industry filling parking lot with unsold vehicles. BTW, are trying to have these ideas into a tool to monitor so CFO has a good view to whip the folks who drain the finance in Waste - Muda ..

回复

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

Animesh Mukherjee的更多文章

  • Use FinOps to optimize Cloud Ops

    Use FinOps to optimize Cloud Ops

    Introduction The business and finance functions in companies have been managing the investments and costs of IT for…

    5 条评论
  • Choosing On-Prem vs. Public Cloud

    Choosing On-Prem vs. Public Cloud

    There was an article recently on Linked In by David Heinemeier Hansson about his company’s decision to leave the public…

    6 条评论
  • Business Process Expectations and Messaging Systems like Kafka

    Business Process Expectations and Messaging Systems like Kafka

    Messaging systems like Kafka are used to distribute messages and data streams in all sorts of applications, mostly in…

  • Be Prepared

    Be Prepared

    This used to be the slogan of the Boy Scouts, but it applies to all of us for many aspects of life. As I deal with the…

    2 条评论
  • Uptime Percentages, Recovery Time Objective and Error Budgets

    Uptime Percentages, Recovery Time Objective and Error Budgets

    It is very common to talk about the number of ‘nines’ that an application is expected to be up and running, a short way…

    1 条评论
  • How Platform Engineering Helps Meet C-Suite Expectations

    How Platform Engineering Helps Meet C-Suite Expectations

    Digital transformation and application modernization increasingly means building a cloud-native application hosted by a…

    4 条评论
  • Why are empty roads lit up at night?

    Why are empty roads lit up at night?

    While approaching New Delhi on a flight at 2am a week ago, I noticed that while most of the land, houses etc. were…

    2 条评论
  • People are the Most Important in the People, Process, Technology Triad

    People are the Most Important in the People, Process, Technology Triad

    “Your bag has arrived, I had it delivered to your room!”, she shouted as she watched me approach her concierge desk…

    2 条评论
  • Stoking Creativity

    Stoking Creativity

    Betty’s husband always used the ‘yes, but’ to respond in conversations. It was so bad that she and her friends used to…

  • Opening Up – to new ideas …

    Opening Up – to new ideas …

    All over the US, and especially here in California, restrictions imposed due to COVID are being eased and businesses…

社区洞察

其他会员也浏览了