Cloud cost management alone won't fix your cloud spend problem
Tags: cloud, kubernetes, cloudskills
Published: 2021-11-19 08:31:20

<!-- wp:paragraph -->
<p>The pay-per-use model of the public cloud seemed too good to be true. And you probably quickly caught onto its catch: analyzing and predicting your cloud costs is like driving blindfolded hoping that the street traffic would stay the same.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:quote {"className":"is-style-large"} -->
<blockquote class="wp-block-quote is-style-large"><p>A solid cloud cost management strategy and tooling solves this problem - but only partially. Knowing what your costs are and where your costs come from isn’t going to reduce them magically.&nbsp;</p></blockquote>
<!-- /wp:quote -->

<!-- wp:paragraph -->
<p>It’s a good start, but you still need engineering resources to implement the changes. And not just once, but on a regular basis - or whenever you see a savings opportunity, note a peak usage scenario, or too much shadow IT starts creeping in.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Is there a better way to control your cloud spend? Keep on reading to find out.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Read this guide to see why cost management isn’t enough in the cloud world:</strong></p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<ul><li><a href="#whyarecompaniesstrugglingwithcloudcosts">Why are companies struggling with cloud costs?</li>
<li><a href="#buthereswherecloudcostmanagementfallsshort">But here’s where cloud cost management falls short</a><ol>
<li><a href="#cloudcostsarealwayschanging">Cloud costs are always changing</a></li>
<li><a href="#resourcedemandsneverstaythesame">Resource demands never stay the same either</a></li>
<li><a href="#costvisibilityisharderthanitsounds">Cost visibility is harder than it sounds</a></li>
<li><a href="#multicloudmakescostmanagementevenmorechallenging">Multi cloud makes cost management even more challenging</a></li>
<li><a href="#cloudcostmanagementrequiresmanualwork">Cloud cost management requires manual work</a></li></ol>
<li><a href="#whatelseistheretohelpwithmycloudcosts">What else is there to help with my cloud costs?</a></li>
<li><a href="#andnoneofthatmanagementguaranteessavings">And none of that management guarantees savings, unless you decide to automate optimization</a></li></ul>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 id="whyarecompaniesstrugglingwithcloudcosts">Why are companies struggling with cloud costs?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Jumping on the public cloud bandwagon too fast can make that wagon tip over.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Most teams find controlling cloud costs challenging because they never had so much freedom in spinning up new instances and experimenting with different things. Even those who never used anything other than the public cloud struggle to control their cloud spend.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Here are some common reasons why cloud costs spiral out of control:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>Companies overlook the risks of the pay-per-use,</li><li>They have no visibility into their costs,</li><li>They don’t budget for the cloud and let their bill surprise them each month.</li></ul>
<!-- /wp:list -->

<!-- wp:quote {"className":"is-style-large"} -->
<blockquote class="wp-block-quote is-style-large"><p>Legacy cost visibility, allocation, and management dashboards helped to solve some of these problems, but not all.</p></blockquote>
<!-- /wp:quote -->

<!-- wp:heading {"level":3} -->
<h3>So, what exactly is cloud cost management?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Cloud cost management is an umbrella term for cost monitoring, reporting, visibility, allocation, budgeting, and forecasting.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The goal here is to understand and manage the costs associated with public cloud resources. It means knowing where costs come from, to which teams they can be allocated, and how much you’re likely to spend in the future.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The last one is particularly important for CFOs, who aren’t too pleased when they have to restate the quarterly results because someone left an expensive instance running for too long.</p>
<!-- /wp:paragraph -->

<!-- wp:quote {"className":"is-style-large"} -->
<blockquote class="wp-block-quote is-style-large"><p>Cloud cost management is all about control - or, gaining more granular control over the cloud spend while keeping the same level of performance.&nbsp;</p></blockquote>
<!-- /wp:quote -->

<!-- wp:paragraph -->
<p>Most cloud providers offer basic cloud cost management solutions to help them achieve that. There are also plenty of specialized third-party tools that offer extra visibility and insight into your cloud expenses.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 id="buthereswherecloudcostmanagementfallsshort">But here’s where cloud cost management falls short</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":4449,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://cast.ai/wp-content/uploads/2021/11/1200x628-Management-Falls-Short.png" alt="where cloud cost management falls short" class="wp-image-4449"/></figure>
<!-- /wp:image -->

<!-- wp:heading {"level":3} -->
<h3 id="cloudcostsarealwayschanging">1. Cloud costs are always changing</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Predicting cloud expenses is hard, even if you’re a tech giant like Pinterest. During the 2018 holiday season, <strong>the company’s cloud spend </strong><a href="https://www.theinformation.com/articles/as-aws-use-soars-companies-surprised-by-cloud-bills" target="_blank" rel="noreferrer noopener"><strong>went way beyond the initial estimates</strong></a> due to increased usage. Pinterest had to pay AWS $20 million on top of the $170 million worth of cloud resources it already reserved.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 id="resourcedemandsneverstaythesame">2. Resource demands never stay the same either</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Using the public cloud is all about striking the balance between cost and performance. Traffic spikes can either generate a massive and unforeseen cloud bill if you leave your check open or cause your application to crash if you put rigid limits over its resources. Cloud cost management doesn’t get you anywhere near to solving this issue.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 id="costvisibilityisharderthanitsounds">3. Cost visibility is harder than it sounds</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Decision-making about cloud spend is often decentralized in large organizations. This makes visibility more challenging than it seems. Add to that shadow IT projects popping up all over the place and you’ll have to deal with costs that can’t be explained just by taking a look at a dashboard or report.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 id="multicloudmakescostmanagementevenmorechallenging">4. Multi cloud makes cost management even more challenging</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Companies that use multi cloud combinations need to consider the costs of several different public cloud providers at the same time. It’s like doubling or tripling the effort you’re doing for one cloud, there are no shortcuts here.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 id="cloudcostmanagementrequiresmanualwork">5. Cloud cost management requires manual work</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>And lots of it. Analyzing your setup, allocating costs to teams, understanding how much you’ve spent on what, finding better options, migrating your applications to better resources, and then checking whether it’s all working - this is what you need to do. And not once, on a regular basis.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 id="whatelseistheretohelpwithmycloudcosts">What else is there to help with my cloud costs?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>There’s <a href="https://cast.ai/blog/the-ultimate-guide-to-cloud-cost-optimization/" target="_blank" rel="noreferrer noopener">cloud cost optimization</a>. The best way to understand what optimization is all about is knowing what tactics it offers to teams looking to control their cloud spend.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Here are a few of them:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li><strong>Instance rightsizing</strong></li><li><strong>Automatic scaling (autoscaling)&nbsp;</strong></li><li><strong>Resource scheduling</strong></li><li><strong>Removing unused resources</strong></li><li><strong>Spot instance use</strong></li></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Not only does optimization help you achieve all of these things, but it can make the process automatic - without adding repetitive tasks for engineers. Some things just aren’t supposed to be managed manually.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Optimizing cloud costs is a point-in-time exercise. You need to keep an eye on your application demands and the available resources 24/7 to identify savings opportunities.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Let's look into some of the named cost optimization points to see why automation brings so much value there.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3>1. Instance rightsizing and type selection - or, picking the best instance for the job</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Selecting the right virtual machine size can drive your bill down by a lot if compute is your biggest expense.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:quote {"className":"is-style-large"} -->
<blockquote class="wp-block-quote is-style-large"><p>But how can you expect a human engineer to do that when AWS alone has some <a href="https://cast.ai/blog/400-ec2-instance-types-the-good-the-bad-and-the-ugly/" target="_blank" rel="noreferrer noopener">400 different EC2 instances</a> alone that come in many sizes?</p></blockquote>
<!-- /wp:quote -->

<!-- wp:paragraph -->
<p>Similar instance types deliver different performance levels depending on which provider you pick. Even in the same cloud, a more expensive instance doesn't always come with higher performance.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":4451,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://cast.ai/wp-content/uploads/2021/11/1080x1080-Picking-the-best-instance.png" alt="choosing virtual machines" class="wp-image-4451"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Here’s what you usually need to do when picking an instance manually</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>1. Establish your minimal requirements</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Make sure you do it for all compute dimensions, including CPU (architecture, count, and processor choice), memory, SSD, and network connection.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>2. Choose the right instance type</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You may select from a variety of CPU, memory, storage, and networking configurations that are bundled in instance types that are optimized for a certain capability.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>3. Define your instance's size.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Remember that the instance should have adequate capacity to handle your workload's requirements and, if necessary, incorporate features such as bursting.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>4. Examine various pricing models</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>On-demand (pay-as-you-go), reserved capacity, spot instances, and dedicated hosts are all available from the three major cloud providers. Each of these alternatives has its own set of benefits and cons. This guide covers them all in detail: <a href="https://cast.ai/blog/how-to-choose-the-best-vm-for-the-job/" target="_blank" rel="noreferrer noopener">How to choose the best VM type for the job and save on your cloud bill</a>&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Considering that you need to do that on a regular basis, that’s a lot of work!</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3>2. Autoscaling instances as soon as demand changes</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>If you’re running an e-commerce application, you need to prepare for sudden traffic spikes (think mentioned by a Kardashian on Instagram) yet scale things down when the need is gone.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Manually scaling your cloud capacity is difficult and time-consuming</strong>. You must keep track of everything that happens in the system, which may leave you with little time to explore cloud cost reductions.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:quote {"className":"is-style-large"} -->
<blockquote class="wp-block-quote is-style-large"><p>When demand is low, you run the risk of overpaying. And when demand is high, you’ll offer poor service to your customers.</p></blockquote>
<!-- /wp:quote -->

<!-- wp:paragraph -->
<p>Here’s what you need to take care of when scaling resources manually:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>Gracefully handle traffic increases and keep costs at bay when the need for resources drops,</li><li>Ensure that changes applied to one workload don’t cause any problems in other workloads or teams,&nbsp;&nbsp;</li><li>Configure and manage resource groups on your own, making sure that they all contain resources suitable for your workloads.</li></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p><strong>When scaling manually, you'd have to scale up or down your resources for each and every virtual machine across every cloud service you use. </strong>This is next to impossible. And you have better things to do anyway.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That’s where autoscaling comes into play.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Autoscaling does all the tasks listed above automatically. All you need to do is define your policies related to horizontal and vertical autoscaling, and the autonomous optimization tool will do the job for you.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3>3. Managing spot instance interruptions&nbsp;</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":4450,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://cast.ai/wp-content/uploads/2021/11/1080x1080-Managing-spot-instances.png" alt="managing spot instances" class="wp-image-4450"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Spot instances are up to 90% cheaper than on-demand instances, so buying idle capacity from cloud providers makes sense.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>There's a catch, though: the provider may reclaim these resources at any time. If you’re an AI-driven SaaS, this is fine while you're doing some background data crunching that you can delay.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>But what if you need the workload to avoid the interruption? </strong>You need to make sure your application is ready for that and have a plan in place when your spot instance is interrupted.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Here's how you can take advantage of spot instances:</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>1. Check to see if your workload is ready for a spot instance.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Will you be able to tolerate interruptions? How long will it take to finish the project? Is this a life-or-death situation? These and other questions are useful in determining if a workload is suitable for spot instances.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>2. Examine your cloud provider offer.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Examining less popular instances is a good idea because they're less likely to be interrupted and can run for longer periods of time. Before deciding on an instance, look at how often it is interrupted.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>3. Make a bid</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Set the maximum price you're willing to spend for your preferred spot instance. The rule of thumb is to set the maximum price at the level of on-demand pricing.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>4. Manage spot instances in groups</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You'll be able to request a variety of instance types at the same time, boosting your chances of securing a spot instance. Learn more about managing spot instances here: <a href="https://cast.ai/blog/how-to-reduce-cloud-costs-by-90-spot-instances-and-how-to-use-them/" target="_blank" rel="noreferrer noopener">Spot instances: How to reduce AWS, Azure, and GCP costs by 90%</a></p>
<!-- /wp:paragraph -->

<!-- wp:quote {"className":"is-style-large"} -->
<blockquote class="wp-block-quote is-style-large"><p><strong>To make all of the above work, you’ll have to dedicate a lot of time and effort to configuration, setup, and maintenance tasks.</strong></p></blockquote>
<!-- /wp:quote -->

<!-- wp:heading -->
<h2 id="andnoneofthatmanagementguaranteessavings">And none of that management guarantees savings, unless you decide to automate optimization</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Traditional methods like cost tracking and reporting can only get you halfway there - and at a hefty cost in engineer time.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Cloud cost management doesn’t guarantee savings, automated optimization does.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Discover the benefits of autonomous cloud cost optimization for your company. Book a demo with CAST AI, the world's leading cloud optimization platform for Kubernetes.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<br>
<div id="wisepops-demo"></div>
<br>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>P.S. You can always test out the platform and see what it would automate in your environment. To get started, <a href="https://console.cast.ai/?screen_hint=SIGNUP" target="_blank" rel="noreferrer noopener">simply register here.</a></p>
<!-- /wp:paragraph -->