RousselTMLEARNING

Cloud computing

Understanding Google Cloud: regions, projects, hierarchy, tools and pricing

Google Cloud basics: regions and zones, the organization, folders and projects hierarchy, APIs to enable, console, gcloud and Cloud Shell, billing, automatic sustained use discounts and commitments.

1. Regions, zones and the global network #

The infrastructure.

Principles #

Google Cloud is organized into regions (Paris europe-west9, Belgium europe-west1…) containing at least three zones. A distinctive feature: the VPC network is global (one VPC spans all regions) and the external HTTP(S) load balancer has a global anycast IP address.

ScopeExamples
ZonalCompute Engine VMs, zonal persistent disks
RegionalSubnets, Cloud SQL HA, regional GKE, Cloud Run
GlobalVPC, external HTTP(S) load balancer, images, Cloud DNS

2. Organization, projects and APIs #

Structuring and enabling.

Hierarchy #

Google Cloud hierarchy
Organization Policy constraints can, for example, limit the usable regions.
gcloud auth login && gcloud config set project mon-projet-123
gcloud projects create formation-gcp-123 --folder=<id-dossier>
gcloud billing projects link formation-gcp-123 --billing-account=<id-facturation>
gcloud services enable compute.googleapis.com run.googleapis.com
gcloud config set compute/region europe-west9

3. Pricing #

What is specific to Google Cloud.

Principles #

  • Per-second billing for Compute Engine.
  • Automatic sustained use discounts on some VM families, with no commitment.
  • Committed use discounts (1 or 3 years) and Spot VMs for interruptible workloads.
  • A permanent free tier (« Always Free ») on several services and a trial credit.
Good practice: Set up budgets and billing alerts as soon as the billing account is created.

Related articles

Observability on Google Cloud: Cloud Monitoring, Logging, Trace, Profiler and Managed Prometheus

A complete overview of Google Cloud Observability: Cloud Monitoring, Cloud Logging (router, sinks, Log Analyt…

IAM on Google Cloud: roles, service accounts and organization policies

Manage access on Google Cloud: principals, basic, predefined and custom roles, IAM bindings, service accounts…

Google Cloud networking: global VPC, subnets, firewall and load balancing

Design networking on Google Cloud: global VPC and regional subnets, firewall rules based on tags and service …

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!