Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 29, 2022 09:50 am GMT

How to Convince Your Dev Team that Cloud Cost Management is Important?

Software engineers typically dont care about infrastructure costs because they never had to.

But when you leave the team to its own devices, costs may easily get out of control, given that provisioning cloud resources is so easy.

I know what youre thinking: convincing the team that cloud costs are important is so hard. Even if you give people direct recommendations - this is the top challenge for 40% of FinOps people.

So, what can you do? Speaking from the experience of leading a dev team at CAST AI, I decided to share a few tips on how we made it work.

Explain the WHY behind cost optimization

Heres what I hear often happens: the cloud operations team implements an analysis/optimization tool that goes through the infrastructure and produces a set of recommendations that ultimately land on the desk of engineering to be implemented.

When you ask an engineer to do something extra (and care about it), you need to explain the value of that action to the team or even the entire company.

You need to have a narrative about cloud costs in place to make devs start thinking about FinOps matters. Weve seen Spotify successfully build a gamification-driven culture of achieving cloud cost savings.

Heres the narrative that worked for my team:

Optimizing cloud costs isnt about just reducing costs - its about removing waste via smartmoney management and good hygiene practices.

Were not looking to prevent our company from reaping the benefits of agility and speed the cloud brings.

But we need to show that were smart about using our resources. We need to achieve the exact ratio of performance vs. cost. We need to commit to reducing and ultimately eliminating wasteful spending to do that. And thats why we monitor, track, and optimize our infra costs.

Equip your team with processes for identifying costs

Build visibility into cost drivers with tagging

Theres no point in asking your team to cut their spending if you have no idea how much money goes into which service is used by which team.

Thats why the first step is building visibility into your cost drivers - both for you and for your entire team.

Develop a tagging system for your team and ask people to tag resources within the next month. By the end of the month, youll be able to allocate costs to teams easily.

Which resources should you be tagging? This guide from AWS is a great starting point.

Airbnb created a great approach to attribution. The company gave teams all the key information to make tradeoffs between cost and other business drivers, all to maintain the overall spend within the set growth threshold.

By adding this level of visibility into cost drivers, Airbnb incentivized engineers to come up with architectural design changes that would be more cost-effective.

Invest in monitoring for better accountability

Adding alerts and monitoring to your toolkit isnt just about accountability - it helps you to avoid disasters.

A team at Adobe once generated an unplanned cloud bill of over $500k because someone left a computing job running on Azure. One alert would be enough to prevent this.

Humans make mistakes - and in the cloud, the implications of one simple error might translate into thousands of dollars. One company employee made a keystroke error that caused spinning up an AWS instance much larger than required. Then the job that was supposed to end on Friday wasnt turned off and ran all weekend, resulting in $300,000 in charges that the company could have easily prevented.

Typically, billing data arrives with some delay to a cost tracking tool like AWS Cost Explorer. If you check your cloud bill at the end of the month, you might get a nasty surprise. Troubleshooting cost issues after they happen is hard (and costly).

It makes sense to invest in real-time monitoring and alert mechanisms that notify you as soon as your cloud spending for a specific service passes the threshold you set for it. You can either do that or periodically look into your infrastructure billing to catch it yourself.

But in the cloud world, things move quickly. Once team racked up a $72k bill in just a few hours just testing a service.

You cant afford people to dedicate their time to monitoring the cloud manually. And you likely dont have the time to do it yourself. This is where real-time monitoring and alerting tools can help. But automation is what takes it all to the next level.

Implement automation to make everyones life easier

Asking your people to pay more attention to cloud expenses is a big ask if you dont follow up with the right tooling. Tagging, monitoring, and alerting help a lot but still leave room for a lot of work. And you can bet that your engineers arent going to be happy about that - this isnt the job they signed up for.

Implement an automation solution to take all of these tasks off their plate.

An automation tool takes them over and constantly looks for cost optimization opportunities. Instead of producing a long list of recommendations, it takes care of these tasks on its own (within the limits you set for it).

While tagging or monitoring can be done manually, the same cant be said about picking the most cost-effective instances or replacing spot instances when they get interrupted to save your workload.

If you use Kubernetes, heres an example of automation flow for optimizing cluster costs:

https://cast.ai/blog/what-is-autonomous-cloud-cost-optimization-and-what-can-you-gain-from-it/


Original Link: https://dev.to/castai/how-to-convince-your-dev-team-that-cloud-cost-management-is-important-kl4

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To