Google Cloud Platform Tutorial
Learn Google Cloud Platform step by step: 45 lessons in 12 chapters with examples, quizzes, diagrams and projects.
Start learning →
of lessons completed
Cloud Basics
- What Is Cloud Computing? Learn what cloud computing is: on-demand resources, pay-as-you-go pricing, IaaS vs PaaS vs SaaS, and the shared responsibility model, with a bill calculator.
- Google Cloud at a Glance A beginner map of Google Cloud: compute, storage, databases, networking, data analytics and AI product families, when to pick GCP, and a service picker.
- Regions, Zones and Latency Understand Google Cloud regions, zones and multi-regions, how to choose a location for latency, price, availability and data residency, with a region picker.
Getting Started
- Account, Free Tier and Billing Setup Set up a Google Cloud account safely: free trial vs Always Free, billing accounts, budgets and alert thresholds, with a budget-alert calculator to practice.
- Projects and the Resource Hierarchy Learn how Google Cloud organizes resources: organization, folders and projects, project ID vs number, labels, tags and quotas, with an inheritance resolver.
- Console and Cloud Shell Tour the Google Cloud console, use Cloud Shell and the Cloud Shell Editor in your browser, learn navigation shortcuts, and see how a CLI parser works.
- The gcloud CLI Learn the gcloud command-line tool: install, log in, configurations, setting a project, flags, --format and --filter, and scripting, with runnable stand-ins.
Identity and Security
- IAM: Principals, Roles and Policies Understand Google Cloud IAM: principals, roles, permissions, allow policy bindings, inheritance and conditions, with a policy evaluator you can run.
- Service Accounts and Credentials Learn Google Cloud service accounts: attaching them to workloads, impersonation, workload identity federation, and why key files are a last resort.
- Least Privilege and Organization Policies Apply least privilege on Google Cloud: custom roles, predefined vs basic roles, organization policy constraints, IAM Recommender and audit logs.
- Secret Manager and Cloud KMS Store passwords and API keys in Secret Manager, understand versions and rotation, and learn envelope encryption and CMEK with Cloud KMS, with a runnable demo.
Compute
- Compute Engine Virtual Machines Learn Compute Engine: machine types, images, disks, creating VMs with the console and gcloud, SSH, startup scripts, spot VMs and cost, with a lifecycle simulator.
- Instance Groups, Autoscaling and Load Balancing Learn instance templates, managed instance groups, autoscaling signals, health checks and load balancer types on Google Cloud, with an autoscaler simulation.
- App Engine Learn Google App Engine: standard and flexible environments, app.yaml, services and versions, and traffic splitting, with a runnable splitting stand-in.
- Cloud Run Learn Cloud Run: deploying containers, the PORT contract, request-based scaling, scale to zero, concurrency, revisions and traffic, with a runnable server.
- Cloud Run Functions Learn Cloud Run functions on Google Cloud: HTTP and event triggers, CloudEvents, the Functions Framework and cold starts, with a runnable mini framework.
- Containers, Artifact Registry and GKE Build container images, store them in Artifact Registry and run them on GKE Autopilot or Standard with deployments and services, plus a reconciler demo.
Storage and Databases
- Cloud Storage Buckets and Objects Learn Cloud Storage buckets and objects, storage classes, lifecycle rules, versioning and signed URLs, with the gcloud storage commands and a rule engine.
- Persistent Disk, Local SSD and Filestore Learn block, file and object storage on Google Cloud: disk types, snapshots, Local SSD and Filestore, plus a storage chooser you can run to practice.
- Cloud SQL Learn Cloud SQL, Google's managed MySQL, PostgreSQL and SQL Server: instances, high availability, replicas, backups, private IP and connectors, with SQL to run.
- Firestore and Bigtable Understand Firestore documents, collections and indexes, and Bigtable wide-column tables and row-key design, with a document-store stand-in you can query.
- Spanner, AlloyDB and Choosing a Database Compare Cloud Spanner and AlloyDB with Cloud SQL, Firestore, Bigtable and BigQuery, and use a decision function to pick the right Google Cloud database.
Networking
- VPC Networks, Subnets and Firewall Rules Learn Google Cloud VPC networks: custom vs auto mode, regional subnets, routes, firewall rule priorities, network tags and Private Google Access, with simulators.
- Load Balancing, Cloud CDN and DNS Learn the Google Cloud global external HTTP(S) load balancer: forwarding rules, URL maps, backends, Cloud CDN caching and Cloud DNS records, with a URL map router.
- Hybrid Connectivity, VPN and Peering Connect networks on Google Cloud: Cloud VPN, Interconnect, VPC peering, Shared VPC and Private Service Connect, with a route reachability checker.
Data and Analytics
- BigQuery Basics Learn BigQuery on Google Cloud: datasets, tables, standard SQL, on-demand and capacity pricing, loading data and public datasets, with SQL you can run.
- BigQuery Partitioning, Clustering and Cost Control Cut BigQuery bills and query time: partitioned and clustered tables, dry runs, avoiding SELECT *, and a pandas model that estimates bytes scanned.
- Pub/Sub Messaging Learn Pub/Sub on Google Cloud: topics, subscriptions, push vs pull, acknowledgements, ordering, dead-letter topics and at-least-once delivery, with a broker stand-in.
- Dataflow, Dataproc and Batch Pipelines Process big data on Google Cloud: the Apache Beam model on Dataflow, Spark on Dataproc, windows, streaming vs batch and Cloud Composer, with a runnable pipeline.
Operations and Delivery
- Cloud Logging, Monitoring and Alerting Learn Cloud Logging, Cloud Monitoring, log-based metrics, dashboards, alerting policies, uptime checks, SLOs and Error Reporting, with a runnable logger and alert rule.
- Infrastructure as Code with Terraform Learn infrastructure as code on Google Cloud with Terraform: the google provider, state in a bucket, plan and apply, modules, and a runnable plan-diff stand-in.
- Cloud Build, Cloud Deploy and CI/CD Build a CI/CD pipeline on Google Cloud: cloudbuild.yaml steps, triggers, Artifact Registry, Cloud Run deploys and Cloud Deploy rollouts, with a pipeline runner stand-in.
AI on Google Cloud
- Vertex AI and the Gemini API Learn what Vertex AI is, how Gemini models are called from code, how prompts, grounding, tokens, costs and quotas work, with a runnable cost estimator stand-in.
- Pre-trained AI APIs and Machine Learning Workflows Compare pre-trained Google Cloud AI APIs (Vision, Speech, Translation, Natural Language) with AutoML, custom training and BigQuery ML, plus a scikit-learn stand-in.
Production Practice
- Cost Management and Optimization Control Google Cloud spending: billing export to BigQuery, labels, budgets, committed use discounts, right-sizing and Spot VMs, with a pandas billing analysis stand-in.
- Reliability, Security and Architecture Patterns Design reliable, secure Google Cloud systems: multi-zone design, backups and disaster recovery, VPC Service Controls and defense in depth, with an availability calculator.
- Common Mistakes and Troubleshooting Avoid the classic Google Cloud mistakes: leaked keys, public buckets, surprise bills, permission denied and quota errors, forgotten resources, and cleanup.
Projects
- Project: Host a Static Website Build a static website on Google Cloud: a Cloud Storage bucket, a load balancer with Cloud CDN, a DNS record and a managed HTTPS certificate, step by step.
- Project: Deploy a Containerized API on Cloud Run Package a small API in a container, push it to Artifact Registry, deploy it to Cloud Run, connect to Cloud SQL and keep the password in Secret Manager.
- Project: Event-Driven Image or Data Pipeline Build an event-driven pipeline: an upload to Cloud Storage publishes to Pub/Sub, a Cloud Run function processes it and writes the result to Firestore.
- Project: Log and Sales Analytics in BigQuery Load a CSV into BigQuery, create a partitioned and clustered table, write analytics queries, control cost and connect a dashboard, with runnable SQL.
- Project: A Three-Tier App with Terraform Define a three-tier app in Terraform: a custom VPC, a managed instance group behind a load balancer, a private Cloud SQL database, and a clean teardown.
Practice and Review
- Practice Exercises with Solutions Test yourself with Google Cloud scenario exercises on IAM, cost, networking, storage lifecycle and event design, with runnable checkers and solutions.
- Google Cloud Interview Questions Prepare for Google Cloud interviews with beginner to architect questions and model answers on IAM, networking, compute, data and cost, plus flashcards.
- Google Cloud Cheat Sheet A quick Google Cloud reference: everyday gcloud commands, a service chooser, and limits and defaults worth remembering, with a runnable service picker.