Tag
gcp
Published articles tagged gcp.
Artifact Registry
Artifact Registry stores build artifacts such as Docker images and npm packages in regional repositories with IAM and optional scanning. This chapter creates a Docker repository, authenticates docker push, and publishes the series file API image.
Cloud Logging
Cloud Logging ingests logs from Cloud Run, load balancers, and your app’s stdout. This chapter writes structured JSON from the series API, queries logs in Logs Explorer, and outlines sinks and audit logs.
Cloud Monitoring
Cloud Monitoring collects metrics from Cloud Run and load balancers, builds dashboards, and fires alerts. This chapter explores key metrics, uptime checks, alerting policies, and SLOs for the series file API.
Continuous delivery with Cloud Build
Cloud Build runs containerized build steps on Google’s infrastructure and can push to Artifact Registry and deploy Cloud Run. This chapter defines cloudbuild.yaml for the series API and outlines GitHub triggers.
Deploying containers with Cloud Run
Cloud Run runs stateless containers on demand with HTTPS URLs, revisions, and autoscaling. This chapter deploys the series file API from Artifact Registry, configures the runtime service account, scaling, and ingress.
Formatting and validating Terraform files
Consistent HCL and early validation catch mistakes before plan or apply. This page covers terraform fmt and validate, variable and lifecycle checks, TFLint, pre-commit hooks, and a minimal CI gate—with a pointer to terraform test for module regressions.
Getting started with Terraform on Google Cloud
A step-by-step runbook to install Terraform, authenticate with Google Cloud, and manage a storage bucket, a VPC, and a small Compute Engine VM through init, plan, apply, and destroy—using the standard file layout.
Google Cloud glossary
Google Cloud Platform terms used in the series—project, service account, Artifact Registry, Cloud Run revision, and more—each defined briefly and linked to the chapter that goes deeper.
HCL structure in Terraform
HashiCorp Configuration Language is how Terraform files declare providers, resources, variables, and outputs. This page walks through blocks and expressions, meta-arguments, dependency graphs, and sensible file layout—with Google Cloud examples throughout.
IAM in Google Cloud
Cloud IAM decides who can call which API on which resource. This chapter covers principals, roles, allow policies, service accounts, and least privilege, then creates deployer and runtime identities for the series file API.
Protecting services with Cloud Armor
Cloud Armor attaches WAF rules and rate limits to Google Cloud external load balancers. This chapter fronts the series Cloud Run service with an HTTPS load balancer and a security policy.
Terraform cheat sheet
Scannable Terraform CLI commands for init, fmt, validate, plan, apply, state, import, workspaces, and common environment variables—grouped for quick lookup beside the Terraform series.
Terraform glossary
Terraform terms used across the series—provider, state, backend, plan, drift, and more—each defined briefly and linked to the chapter that explains the idea in depth.
Terraform modules
Modules bundle resources into reusable units with inputs and outputs. This page covers root versus child modules, calling modules from local paths, git, and the Registry, versioning with terraform-google-modules, and refactoring with moved blocks.
Terraform vs OpenTofu and alternatives
Terraform is not the only way to define infrastructure. This comparison covers OpenTofu as a compatible fork, Pulumi's general-purpose languages, cloud-native tools on GCP AWS and Azure, and Ansible for configuration after provisioning.
What is Google Cloud Platform?
Google Cloud Platform is a suite of managed services for compute, storage, networking, and operations, scoped to projects inside an organization. This overview explains the resource hierarchy, regions, billing, and how to install the Cloud SDK so later chapters can deploy one small container app.
VPC networks in Google Cloud
A VPC network is your private address space in GCP: subnets, routes, firewalls, NAT, and peering. This chapter maps those pieces on Google Cloud, including Direct VPC egress for Cloud Run.
Infrastructure as Code with Terraform
Terraform lets you describe cloud infrastructure in version-controlled configuration and reconcile it with a plan/apply loop. This overview covers why IaC matters, how Terraform's declarative model works, the core moving parts, the standard workflow, and authenticating to Google Cloud.
State data in Terraform
Terraform state maps configuration to real resource IDs and attributes. This page explains what state contains, local versus GCS backends with locking, state commands, import and moved blocks, drift, sensitive values, workspaces, and when to use remote state data sources.
Google Cloud cheat sheet
Scannable gcloud commands for projects, IAM, Cloud Storage, Artifact Registry, Cloud Run, Cloud Build, logging, and monitoring—grouped for quick lookup beside the Google Cloud Platform series.
Google Cloud Storage
Cloud Storage holds object data in buckets with storage classes, lifecycle rules, and IAM. This chapter places GCS next to disks and databases, configures a bucket for the series API, and implements upload and list with the Node.js client.