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.
| Scope | Examples |
|---|---|
| Zonal | Compute Engine VMs, zonal persistent disks |
| Regional | Subnets, Cloud SQL HA, regional GKE, Cloud Run |
| Global | VPC, external HTTP(S) load balancer, images, Cloud DNS |
2. Organization, projects and APIs #
Structuring and enabling.
Hierarchy #
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-west93. 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.
