Let’s Get Certified
Module 10 / 15 · Modernize infrastructure and applications with Google Cloud

Match infrastructure control to the application

A reporting API runs in a container and receives intermittent HTTPS traffic. Another service needs a kernel module and fixed VM settings. Which controls make the two choices different?

Match infrastructure control to the application

Cloud Run can scale a variable-traffic application down to zero running instances.

Work through the decision

A reporting API runs in a container and receives intermittent HTTPS traffic. Another service needs a kernel module and fixed VM settings. Which controls make the two choices different?

Check your reasoning

The API can use a managed request-driven runtime if it meets the platform constraints. The second workload needs control of the guest operating system. Compare the operating burden, scaling behavior and service needs before choosing Cloud Run, GKE or Compute Engine.

Cert Espresso · 1:48:07

Interpret the evidence

Compute Engine
Provides configurable VMs for workloads needing guest OS access, machine configuration or legacy software.
Google Kubernetes Engine
Provides managed Kubernetes for workloads requiring Kubernetes APIs or orchestration features.
Cloud Run
Runs supported containers with managed request-driven scaling and can scale idle services to zero under the appropriate configuration.
Cloud Run functions
Provides a managed function model for tasks triggered by supported events or HTTP requests.
AlloyDB Omni
Provides an AlloyDB-compatible PostgreSQL engine deployable outside the Google Cloud managed service, including supported on-premises environments.

Practice the guide skills

  1. List which OS-level controls a legacy application requires from Compute Engine and which maintenance work remains with the operator. Watch 1:46:39
  2. Split one release dependency in a monolith and identify which component could scale independently. Include the extra operational cost of distributed services. Watch 1:47:34
  3. Choose GKE when Kubernetes APIs or orchestration features are required. Separate application configuration from cluster or node operations. Watch 1:47:02
  4. For a bursty HTTPS service and an object-triggered function, compare Cloud Run services and Cloud Run functions. Identify trigger, concurrency and cold-start implications. Watch 1:48:07
  5. Evaluate hybrid and multicloud options such as AlloyDB Omni, BigQuery Omni, GKE Enterprise and Looker against actual deployment and data-location requirements for the product. Watch 1:51:24

Official objectives for this lesson

Translate an operating constraint into a platform choice

Two teams estimate how much platform control they actually require.

Public lookup API   stateless HTTP container, bursts during launches
Factory connector   vendor-supported guest image and special kernel requirement

Test Cloud Run scaling and startup latency for the first workload. Evaluate Compute Engine for the second because the guest OS requirement changes what the operator must control. Compare ongoing patch and support work in the cost model.

Related lesson · Select compute and failure boundaries

Knowledge check

Match infrastructure control to the application quiz

Answer 3 questions. Check each answer for an explanation.