Home Books Browse by series All books Agentic AI Engineering Series From Spreadsheets to Code Data Science Foundations Series The Applied Python Library Rust in Practice Cybersecurity for Absolute Beginners Go For Absolute Beginners The TypeScript for Absolute Beginners AI-Powered Excel Automation Kotlin For Absolute Beginners Blog Download Data About Us Contact Browse Library →
GO For Cloud & DevOps cover
Book 4 of the Go For Absolute Beginners series

GO For Cloud & DevOps

The Language Behind Docker and Kubernetes

by Rennick Vaudrey

Kindle
$9.99 $3.99 -60%
Paperback
$29.99 $19.99 -33%

Go for Cloud & DevOps

The Language Behind Docker and Kubernetes · Book Four of the Go for Absolute Beginners Series

Docker is written in Go. Kubernetes is written in Go. Terraform is written in Go. Prometheus is written in Go. If you work with modern cloud infrastructure, you are already using software built in Go every single day — and learning Go properly gives you the ability to understand, extend, and operate that infrastructure at a depth that no other language makes possible.

Go for Cloud & DevOps takes the task API from Go for Backend APIs and deploys it the way it deserves: in a container built from scratch with no operating system and no attack surface, running on Kubernetes with health probes tuned so rolling updates complete without dropping a single in-flight request, monitored by Prometheus, traced end-to-end by OpenTelemetry so a single trace ID connects every log line and every metric for a given request, shipped automatically by GitHub Actions, and managed by Terraform as version-controlled code reviewed in a pull request.

What You Will Learn

Part I — Containers. Docker from first principles for Go developers: image layers, the build cache, and the multi-stage Dockerfile that compiles Go in a builder stage and produces a FROM scratch runtime image weighing roughly fifteen megabytes. Docker Compose for local development with health checks, dependency ordering, and an observability profile that adds Prometheus, Grafana, Loki, and Jaeger with a single flag.

Part II — Kubernetes. The control loop model, Pods, Deployments, Services, ConfigMaps, StatefulSets, and PersistentVolumeClaims — each concept illustrated through real manifests for the task API. Startup, liveness, and readiness probes tuned to the application's actual initialization behavior. Graceful shutdown implemented in Go with the preStop lifecycle hook and http.Server.Shutdown so no request is ever dropped during a deployment. Secrets managed properly with the External Secrets Operator syncing from HashiCorp Vault.

Part III — Observability. Structured JSON logging with Go's slog package shipped to Loki via Fluent Bit, with a trace ID in every line. Prometheus metrics for the full instrumentation of the task API: HTTP request rates and latency histograms, database query durations, connection pool state, and business-level counters. Distributed tracing with the OpenTelemetry Go SDK, the OTel Collector running tail-based sampling that keeps every error trace and every slow trace, and Jaeger for visualization. Alert rules tested with promtool before they ever reach a production cluster.

Part IV — Automation & Infrastructure. A GitHub Actions pipeline that runs tests with a real PostgreSQL service container, builds a signed multi-platform image, scans it with Trivy, and deploys to staging automatically — with rollback on smoke test failure. Terraform managing every Kubernetes resource from the namespace to the HorizontalPodAutoscaler as version-controlled HCL reviewed in pull requests. A capstone chapter deploying the complete system to a cloud cluster with TLS termination at the load balancer, Route 53 DNS managed as code, and a production readiness checklist you can run before every release.

The infrastructure you use every day was built by engineers who understood these tools at this depth. This book gives you that understanding — and the complete, working deployment to prove it.

Pages: 361  ·  Edition: First, 2026

Level: Requires basic Go familiarity. No prior Docker, Kubernetes, or cloud infrastructure experience required.

Buy on Amazon

Pages361
ISBNB0HDTC9TJX
PublisherWaskey Press
FormatPaperback & Kindle
Share this book

Reader reviews

No reviews yet — be the first to share your thoughts.

Leave a review

Share your experience with this book. Reviews are moderated before publication to keep discussions useful and respectful.

Reviews are moderated and appear once approved.

You might also like

View all books →
Buy on Amazon →