Skip to content

Learn GCP (Google Cloud Platform) from scratch. Learn through video tutorials, notes and architecture diagrams.

License

Notifications You must be signed in to change notification settings

DevOpsWithG/gcp-zero-to-hero

 
 

Repository files navigation

GCP Zero to Hero

Day-1: Introduction to Cloud and GCP

  • What is Cloud Computing? Cloud vs Traditional IT
  • Why GCP? GCP vs AWS vs Azure (with honest comparison)
  • Setup GCP free account
  • Understanding GCP Console and Cloud Shell

Day-2: GCP Project Setup and Billing

  • Projects, billing accounts, and quotas
  • Creating and linking projects to billing
  • Budget alerts and cost visibility
  • Enabling essential APIs (Compute, Storage, etc.)

Day-3: IAM – Roles, Permissions, and Best Practices

  • GCP IAM basics – who can access what?
  • Roles: Basic, Predefined, Custom
  • Use-case: Give limited access to a junior teammate
  • Principle of least privilege and real-world security tips

Day-4: Compute Engine – VMs, SSH, Types of Compute, Region, Zone and much more

  • Launch VMs, connect via SSH
  • Install packages via startup scripts
  • Create and use custom images
  • Enable firewall rules for external access

Day-5: Cloud Storage (GCS) – Buckets, Classes, Policies

  • Create buckets, upload/download files
  • Object versioning, lifecycle policies (coldline, nearline)
  • Static website hosting with GCS
  • Bucket permissions (fine-grained vs uniform)

Day-6: VPC Networking – Subnets and Firewalls

  • Default vs Custom VPC
  • IP ranges, subnet planning (CIDRs)
  • Configure firewall rules (SSH, HTTP)
  • Network tags and internal communication

Day-7: Load Balancing + Managed Instance Groups

  • Create MIGs for autoscaling web servers
  • Setup HTTP(S) Load Balancer with health checks
  • Real-world HA example: App with 3 zones
  • Add logging to monitor backend status

Day-8: Cloud DNS + Domain Mapping

  • Register or use a custom domain (GoDaddy/Namecheap)
  • Create DNS zones, A/AAAA/CNAME records
  • Map domain to Load Balancer IP
  • Use-case: www.myshop.in points to GCP-hosted app

Day-9: Monitoring and Logging

  • Cloud Monitoring – create dashboard for VM metrics
  • Cloud Logging – view logs, set alerts
  • Uptime checks and alerting policies
  • Use-case: Send Slack/Email alert on high CPU usage

Day-10: Cloud SQL (PostgreSQL) – Setup and Access

  • Create a managed PostgreSQL DB
  • Secure access from VM using private IP
  • Manage DB users and backups
  • Import/export database dumps

Day-11: Secrets Manager – Storing API Keys Safely

  • Why not to hardcode passwords or tokens
  • Store and access secrets securely
  • IAM-based access control for secrets
  • Rotate and audit access logs

Day-12: Pub/Sub – Messaging Basics

  • Use-case: Async processing in e-commerce
  • Create topic and publish messages
  • Push vs Pull subscriptions
  • Connect Pub/Sub with Cloud Functions (preview)

Day-13: Docker on GCP – Containerizing Apps

  • Install Docker on Compute Engine
  • Write a simple Node.js/Python app and dockerize it
  • Push image to DockerHub or Artifact Registry
  • Run container in background with exposed port

Day-14: Artifact Registry – Secure Image Storage

  • Setup private Docker repository
  • Push/pull from GCE and GKE
  • Image tagging and versioning strategy (dev, staging, prod)
  • Clean-up policies and access control

Day-15: Intro to Kubernetes + GKE Cluster Setup

  • Kubernetes basics (pods, deployments, services)
  • Create a GKE cluster with 2 nodes
  • Access via kubectl and explore dashboard
  • Deploy basic NGINX or app container

Day-16: Deploy a Real App on GKE

  • Push your custom Docker app to Artifact Registry
  • Deploy app using Deployment.yaml and Service.yaml
  • Expose using LoadBalancer service
  • Rolling update and rollback demo

Day-17: Cloud Build – CI/CD

  • Setup Cloud Build with GitHub trigger
  • Create cloudbuild.yaml file
  • Auto-build Docker image and push to registry
  • Bonus: Deploy to GKE as part of pipeline

Day-18: Terraform – Infrastructure as Code

  • Install Terraform and configure for GCP
  • Write .tf to create VM, bucket, and firewall
  • Store state file in GCS
  • Destroy infra using single command (clean-up demo)

Day-19: Real-Time DevOps Project

  • Use Terraform to provision infra
  • Use Docker + Cloud Build for app containerization
  • Store secrets securely
  • Use GKE for deployment and Pub/Sub for async task
  • Enable monitoring and alerts

Day-20: Serverless with Cloud Run and Functions

  • Intro to serverless architecture – when to use
  • Deploy container to Cloud Run with autoscaling
  • Create a small API using Cloud Functions
  • Compare cost and simplicity vs GKE
  • Real-life use-case: background jobs, webhooks

Day-21: GCP Cost Optimization for DevOps

  • Understand billing breakdown: Compute, Network, Storage
  • Tips to reduce cost:
    • Use preemptible VMs
    • Use autoscaling for GKE and Cloud Run
    • Delete unused disks, snapshots, IPs
  • Setup budget alerts and detailed reporting
  • Use Recommender and Policy Analyzer

About

Learn GCP (Google Cloud Platform) from scratch. Learn through video tutorials, notes and architecture diagrams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published