GCP - Associate Cloud Engineer Study Guide

    3: Ensuring successful operation of a cloud solution

    This chapter walks the day-two operational surface of a Google Cloud landing zone: connecting to Compute Engine and GKE, inspecting and mutating the running fleet, splitting Cloud Run traffic, expanding VPC capacity, querying managed databases, and wiring Cloud Monitoring, Cloud Logging, audit logs, and Managed Service for Prometheus. Every section combines a configuration walkthrough with the trade-offs an Associate Cloud Engineer is expected to defend on the exam.

    Learning Objectives

    By the end of this chapter, you will be able to:

    • Connect to Compute Engine instances over SSH, IAP, OS Login, and Windows RDP, and pick the path that matches a security model.
    • View VM inventory across projects, deploy new application versions, and route traffic between Cloud Run revisions.
    • Create, schedule, restore, and rotate Compute Engine snapshots and images for backup, golden-image, and forensic workflows.
    • Inspect GKE clusters, configure Artifact Registry pull access, add and resize node pools, and operate Pods, Services, and StatefulSets.
    • Configure Horizontal and Vertical Pod Autoscalers, MIG autoscalers, and Cloud Run scaling parameters against published quotas.
    • Add subnets, expand subnet CIDRs, reserve static IPs, and configure Cloud DNS and Cloud NAT.
    • Run queries against Cloud SQL, BigQuery, Spanner, Firestore, and AlloyDB, and review Dataflow and BigQuery job status.
    • Back up and restore Cloud SQL and Firestore, export logs to BigQuery or external systems, and configure Data Access audit logs.
    • Build Cloud Monitoring alerting policies, ingest custom metrics, deploy Ops Agent and Managed Service for Prometheus, and investigate incidents with Gemini Cloud Assist for Cloud Monitoring.

    Executive Summary

    • The day-two surface is dominated by four CLIs: gcloud, kubectl, bq, and the per-database SQL clients. Choose the right one and most operational tasks become a handful of well-typed commands.
    • Snapshot and image lifecycles are the backbone of Compute Engine durability; resource policies turn ad-hoc backups into governed schedules with retention.
    • Cloud Run revisions are immutable, and the only operational dial that matters in production is the traffic split between them.
    • Cloud Logging is the source of truth for everything from application stack traces to administrative changes; log buckets, sinks, and Log Analytics decide cost and retention.
    • Cloud Monitoring alerting plus custom metrics plus Managed Service for Prometheus turn telemetry into the signals on which on-call decisions get made.

    Assumptions

    • The landing zone, billing accounts, Cloud Identity tenant, IAM model, and Shared VPC scaffolding from the first two chapters are in place.
    • Compute Engine, GKE, Cloud Run, Cloud Storage, Cloud SQL, AlloyDB, Spanner, Firestore, BigQuery, Cloud Monitoring, and Cloud Logging APIs are enabled in the example project acme-prod-1234.
    • Region defaults are us-central1 (region) and us-central1-a (zone) unless a sample command states otherwise.
    • The gcloud CLI is authenticated with a principal that holds the necessary predefined roles in the target project; SDK versions are recent stable releases.

    Sections in this chapter

    1. Free
    2. Free with account
    3. Free with account
    4. Free with account
    5. Free with account
    6. Free with account
    7. Free with account
    8. Free with account
    9. Free with account