1. Home
  2. Training Library
  3. Google Cloud Platform
  4. Courses
  5. Optimizing Resource Utilization on GCP

Commitment Types

Contents

keyboard_tab
Course Introduction
1
Introduction
PREVIEW1m 35s
RESOURCE COSTS AND UTILIZATION
COMMITTED USE DISCOUNTS
OTHER COST CONSIDERATIONS
Course Conclusion
10

The course is part of these learning paths

Google Cloud Platform Technical Essentials
14
3
8
Developing for Google Kubernetes Engine
25
3
14
Architecting with Google Kubernetes Engine
22
3
13
Google Professional Cloud DevOps Engineer Exam Preparation
14
1
5
1
more_horizSee 1 more
Start course
Overview
Difficulty
Intermediate
Duration
32m
Students
45
Ratings
5/5
starstarstarstarstar
Description

In this course, focusing on GCP resource optimization, we'll look at ways to identify resource costs and how to identify resource utilization levels. We'll also cover preemptible VMs and how to use them to optimize utilization and to save on costs.

You’ll learn what committed use discounts are and how you can benefit from them. And finally, we'll cover TCO considerations and network pricing.

Learning Objectives

  • Learn how to identify resource costs and utilization with a view to optimizing them
  • Understand what preemptible VMs are and how they can be used to manage costs
  • Learn about committed use discounts and commitment types
  • Learn about TCO considerations and network pricing on GCP

Intended Audience

This course is intended for those who wish to learn how to optimize resource utilization on the GCP platform, and for those preparing for GCP certifications.

Prerequisites

To get the most out of this course, you should already have some working knowledge of GCP.

Transcript

To optimize your resource usage, and in turn, minimize costs, you can purchase committed use discounts for several different resources. 

Notice the table on your screen.

We can see here that we have General purpose E2 commitments, general purpose N2 commitments, general purpose N2D commitments, general purpose N1 commitments, compute-optimized commitments, and memory-optimized commitments.

The E2 commitments allow you to purchase discounts on vCPUs and memory for all E2 machine types, while the N2 commitments allow you to purchase not only vCPU and memory discounts for N2 machine types, but also Local SSD discounts as well. The N2 discounts are also applicable to sole-tenant nodes.

General purpose N2D commitments allow you to purchase discounts on vCPUs, memory, and local SSD for all N2D machine types, while the N1 commitments let you purchase discounts on vCPUs, memory, local SSD, and even some GPUs for all N1 machine types except those that are shared-core. The N1 discounts are also applicable to sole-tenant nodes.

As you might expect, compute-optimized commitments apply to compute-optimized machine types and they allow you to purchase vCPUs and memory discounts, while memory-optimized commitments allow you to purchase discounts on vCPUs and memory for memory-optimized machine types.

So, as you may have guessed by looking at this table, when you purchase a general-purpose commitment, what you need to do is choose which generation you want the commitment to apply to. If you purchase an N2 commitment, that commitment will apply only to your N2 machine types. Likewise, E2 commitments will apply only to E2 machine types. If you plan on deploying memory-optimized machine types, you would want to purchase memory-optimized commitments, while purchasing compute-optimized commitments if you plan to use compute-optimized machine types.

Now, I should point out that when purchasing commitments for GPUs and local SSDs, you have to also reserve those resources when you purchase the commitment. This is required so that Google Cloud can ensure that these resources are always available for you.

Now, my boss is gonna be upset if I actually purchase a 3-year commitment in order to show you how it’s done. That being the case, what I’m going to do is just refer you to the URL that you see on your screen so you can see that actual process, right from the horse’s mouth:

https://cloud.google.com/compute/docs/instances/signing-up-committed-use-discounts#purchasecommitmentgpuslocalssd

Be sure to join me in the next section, where we’ll take a look at some other cost considerations when trying to optimize use and minimize costs.

About the Author
Avatar
Thomas Mitchell
Instructor
Students
43677
Courses
57
Learning Paths
16

Tom is a 25+ year veteran of the IT industry, having worked in environments as large as 40k seats and as small as 50 seats. Throughout the course of a long an interesting career, he has built an in-depth skillset that spans numerous IT disciplines. Tom has designed and architected small, large, and global IT solutions.

In addition to the Cloud Platform and Infrastructure MCSE certification, Tom also carries several other Microsoft certifications. His ability to see things from a strategic perspective allows Tom to architect solutions that closely align with business needs.

In his spare time, Tom enjoys camping, fishing, and playing poker.