GCP CUD: Are There Better Ways to Save Up the Cloud?
Tags: cloud, gcp, kubernetes, devops
Published: 2022-12-15 17:20:17

<!-- wp:paragraph -->
<p>Getting a serious discount on cloud resources in exchange for a commitment lasting one or three years sounds great. You'll need cloud capacity anyway, so why not buy it via GCP CUD (Committed Use Discounts)? If you're negotiating a deal now, stop and read why there are better ways to reduce your cloud costs.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading" id="h-gcp-cud-let-s-cover-the-basics">GCP CUD: let's cover the basics</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Google has had Committed Use Discounts on offer for the past few years. The system was designed to compete with AWS Reserved Instances without requiring advanced payments like with an <a href="https://cast.ai/blog/running-on-aws-savings-plans-you-can-still-reduce-your-cloud-bill/">AWS savings plan</a> to get the maximum available discount.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You can choose from two types of GCP Committed Use Discounts: Resource-Based CUDs and Spend-Based CUDs.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading" id="resource-based-cuds"><strong>Resource-Based CUDs</strong></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Resource-based Committed Use Discounts deliver a discount if you commit to using a minimum level of Compute Engine resources in a specific region. This GCP CUD was designed for predictable and steady-state workloads. You can also use CUD sharing, which lets you share the discount across all projects tied to your billing account.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Example of a resource-based CUD: You get 100 vCPU for M3 in us-west1</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><!-- wp:list-item -->
<li>This applies to vCPU, Memory, GPU, Local SSDs, and images.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>You can use supported services such as Compute Engine, Dataproc, and GKE.</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading" id="spend-based-cuds"><strong>Spend-Based CUDs</strong></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Spend-based Committed Use Discounts give you a discount if you commit to spending a minimum amount ($/hour) for a GCP product or service. This type of CUD was developed to help companies generate predictable spend measured in $/hr of equivalent on-demand spend.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Example of a spend-based CUD: You commit to spend $50/hour on Cloud SQL (Postgres) in us-west1</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><!-- wp:list-item -->
<li>This amount applies to aggregated cloud spend for cloud resources</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>You get access to all the supported services like Cloud SQL, Cloud Run, VMware Engine, <a href="https://cast.ai/blog/cast-ai-vs-gke-autopilot-where-to-manage-kubernetes-on-gke/">GKE Autopilot</a>.</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Many teams use CUD monitoring tools to make sense of their spend. For example, the CUD analysis dashboard helps to visualize and evaluate the effectiveness and financial impact of the GCP CUD you bought. The CUDs cost breakdown chart also comes in handy for monitoring CUD costs and understanding how much money you're saving. Speaking of saving…</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading" id="h-how-much-can-you-save-with-gcp-cud">How much can you save with GCP CUD?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>When you enter a committed use contract, you buy Compute Engine resources like vCPUs, memory, GPUs, or local SSDs at a discounted price. In exchange, you commit to paying for them for one or three years.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>According to Google Cloud Platform, customers using CUDs can achieve <a href="https://cloud.google.com/compute/docs/instances/committed-use-discounts-overview">up to 57% of discount</a> for most resources like machine types or GPUs. With memory-optimized machine types, the discount can reach as high as 70%.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading" id="h-how-do-gcp-committed-use-discounts-work">How do GCP Committed Use Discounts work?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Suppose you have a bunch of workloads that are stable and relatively predictable. You estimate that they're going to stay the same for a while. This is the most common use case for GCP CUDs - all you need to do is commit to using a specific number of resources or spending a given sum of money over one or three years.&nbsp;&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>What do you need to commit to a level of service with Google Cloud Platform? </strong>You must have sufficient space in your quota. Quota limits the amount of a particular shared resource. For example, Rate Quotas restrict the number of requests you can make to an API or service, and Allocation Quotas limit the usage of resources without a rate of usage.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The idea behind quotas is <strong>preventing unforeseen usage spikes</strong>, and helping teams manage their resources better. You can always request Google to increase your quotas.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Once you commit to a contract, expect to be billed each month for the duration of your contract term. You'll need to pay for these services, no matter if you use them now. Any services used above the commitment level will be billed using the higher on-demand rate.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading" id="h-what-are-gcp-sustained-use-discounts-and-how-do-they-differ-from-cud">What are GCP Sustained Use Discounts, and how do they differ from CUD?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Committed Use Discounts often get confused with Sustained Use Discounts. The latter are automated discounts you get on incremental usage after running Google Compute Engine resources for a significant part of a billing month.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The longer you run your resources continuously within the billing month, the bigger your potential discount on incremental usage.&nbsp;&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Google calculates these discounts automatically and applies Sustained Use Discounts based on your usage. You'll find them listed in your bill as a separate item.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading" id="h-4-risks-of-gcp-committed-use-discounts">4 risks of GCP Committed Use Discounts</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>GCP CUD might look interesting at first glance. After all, if you're planning to use cloud resources, why not get the same resources you need for a lower price?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Think twice before signing a contract - GCP CUDs come with some serious drawbacks.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading" id="h-changing-requirements-will-cost-you-a-lot"><strong>Changing requirements will cost you a lot</strong></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>When you commit to given resources or levels of usage, you need to <strong>assume your requirements won't change while the contract is running</strong>.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:quote {"className":"is-style-plain"} -->
<blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph -->
<p>But a lot can change in the cloud world within a single year. Not to mention your business requirements! Even tech giants with entire departments dedicated to managing and forecasting cloud costs cannot make accurate forecasts.</p>
<!-- /wp:paragraph --></blockquote>
<!-- /wp:quote -->

<!-- wp:paragraph -->
<p>Pinterest is a good example of that. Users spent so much time browsing gift and decoration ideas during one holiday season that the company's cloud bill <a href="https://www.theinformation.com/articles/as-aws-use-soars-companies-surprised-by-cloud-bills">went way beyond the initial estimates</a>. By that point, Pinterest had already committed to paying $170 million to AWS - and then needed to get extra capacity, as a result spending $20 million more than forecasted.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading" id="h-you-risk-getting-locked-in-with-the-cloud-provider"><strong>You risk getting locked in with the cloud provider</strong></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>By entering into a contract with Google, you may be <strong>vulnerable to vendor lock-in</strong>. Over time, you might become dependent on GCP for its products and services within one or three years. What if Google decides to subset a service you're using during your contract?</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading" id="h-you-may-lose-flexibility"><strong>You may lose flexibility</strong></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>As requirements change, so do your computing needs. When new challenges arise, you might have to commit to even more or get stuck with unused capacity that you've already paid for. Either way, you're on the losing side.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You'll have no flexibility of scaling or the ability to configure multi-region/zone distribution easily.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading" id="h-setting-up-gcp-cud-takes-a-lot-of-manual-work"><strong>Setting up GCP CUD takes a lot of manual work</strong></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The DevOps approach requires advanced preparation, budgeting, and commitment to support seasonal usage fluctuations.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Selecting the optimal VMs that will meet your application's demand and workload patterns today, tomorrow, and a year from now is complicated, to say the least. <strong>Manual methods are time-consuming and imprecise, leading to unreliable results.&nbsp;</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Sure, you can use solutions for cloud bill analysis that can help you reserve the right instance type, but they might direct you to reserve capacity based on the instance type you're using now rather than what's right for your application. You might have issues like overprovisioning and cloud waste.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading" id="h-you-don-t-need-to-commit-in-exchange-for-a-60-discount">You don't need to commit in exchange for a 60% discount</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Instead of reserving capacity upfront for a discounted price, consider using <a href="https://cast.ai/cloud-cost-optimization/">cloud costs optimization</a> techniques such as rightsizing, autoscaling, and spot instances. They allow you to stay flexible and reduce the cloud bill by ensuring that your teams provide just what they need.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We recently analyzed cost data from clusters under our management and discovered that teams reduce their monthly cloud costs by <a href="https://cast.ai/the-state-of-kubernetes-overprovisioning/">almost 50%</a> by eliminating overprovisioning. By adding spot instances to the mix, companies cut their cloud bill by 60% on average.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>If you’re looking for an alternative to GCP CUD, start with free <a href="https://cast.ai/cloud-cost-monitoring/">Kubernetes cost monitoring</a> and turn on automation that saves you 60% without any commitment.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:group {"style":{"spacing":{"padding":{"top":"2rem","right":"2rem","bottom":"2rem","left":"2rem"},"margin":{"top":"2rem","bottom":"2rem"}}},"backgroundColor":"cast-black","className":"pattern-cta-text-btn","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"center"}} -->
<div class="wp-block-group pattern-cta-text-btn has-cast-black-background-color has-background" style="margin-top:2rem;margin-bottom:2rem;padding-top:2rem;padding-right:2rem;padding-bottom:2rem;padding-left:2rem"><!-- wp:group {"style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"},"blockGap":"0.5rem"}},"layout":{"type":"constrained","contentSize":"520px"}} -->
<div class="wp-block-group" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:heading {"level":5} -->
<h5 class="wp-block-heading" id="h-cast-ai-clients-save-an-average-of-63-on-their-kubernetes-bills">CAST AI clients <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-cast-green-color">save an average of 63%</mark> on their Kubernetes bills</h5>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Connect your cluster and see your costs in 5 min, no credit card required.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->