The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...

Your monitoring says everything is green, right up until your AI platform falls over in a way nobody saw coming. This bundle is for the engineers who refuse to be surprised.
Learn to build the platform, make every layer observable, then deliberately break it to find the cracks before production does. Stop hoping your AI infrastructure holds under pressure and start knowing exactly where it bends, and why.
Bought separately
$119.96
Minimum price
$77.99
$84.99
About the Bundle
Production AI systems fail in ways ordinary monitoring never sees, and when they do, the cost is real. This bundle is built for the engineers who cannot afford that: SREs, platform engineers, and ML infrastructure teams who need their AI platforms to stay standing under real-world pressure. Rather than teaching one tool, it builds a complete reliability discipline: standing up the platform, making every layer observable, deliberately breaking things to find hidden weaknesses, and running demanding AI workloads at scale with confidence.
Owned together, these titles turn a fragile, poorly understood stack into one you can see into, stress-test, and trust. It is the difference between hoping your AI infrastructure holds and knowing exactly where it bends before your users ever feel it.
About the Books
For those who want to build controlled, reproducible AI systems entirely within your own infrastructure, this book is the most practical and implementation-focused trainer. Instead of relying on external APIs or cloud-hosted intelligence services, this book clearly demonstrates how Apache Spark can orchestrate data preparation, model training, batch inference, reporting, and LLM acceleration in a disciplined and transparent way.
As the book opens, it swiftly defines private AI, making it clear that external AI calls are not allowed, full ownership of datasets and model assets is imperative, and repeatable runs with traceable outputs are essential. I will use a realistic sample to show you how to build an end-to-end workflow that ingests raw data, normalizes it into a stable schema, trains a baseline classifier, extracts keywords, generates summaries, and produces structured reports. There's no doubt that each step is implemented with clarity and attention to maintainability. You can be sure that logging, manifests, and monitoring are embedded from the start. We implement classic machine learning techniques, vLLM, performance measurement, batch processing patterns, quarantine handling, and structured metrics to make private AI more usable and compete with cloud-based AI.
Beyond experimentation, the book transitions seamlessly into packaging and routine execution. It will teach you to bundle multiple stages into a single command workflow, schedule daily or weekly runs, generate compact run reports, and adapt the architecture to new datasets without redesigning the system. It does not promise instant transformation or one-click AI solutions. Instead, it provides a structured path to building a sustainable private AI backbone using Spark as the orchestration layer.
Key LearningsHow long do you think it would take you to notice if your AI system started giving worse answers?
Honestly, for most teams, it's weeks, and the news comes from a customer. Chaos engineering answers that question for infrastructure in about thirty seconds, because if a server goes down, it either reroutes or it doesn't. And language models completely shatter all those assumptions. Their output varies for real, their decay builds up instead of happening straight away, and those failures are confident, plausible, and wrong while latency, error rate, and pod health stay exactly where they should be.
This book sets out the new framework for AI infrastructure. You'll find that, working through one support-assistant application across twelve chapters, everything moves from defining steady state for probabilistic systems to injecting faults at every layer, including accelerators, inference servers, model artefacts, retrieval pipelines, model APIs, autonomous agents, distributed training and the monitoring stack itself.
Just to be clear, the toolchain is intentionally kept small. The LitmusChaos orchestrates, the Chaos Mesh reaches the kernel and filesystem, and the mitmproxy handles the content-level faults that neither can touch, extended with custom injectors where nothing suitable exists. So, every experiment comes to one of these four conclusions, and then the last chapter sums them all up as a programme scorecard.
Key Learnings
Table of Content
Stop switching tabs. Start finding out what's going on.
Whenever there's a major outage, it always starts the very same way. Five tools are open, four teams are talking past each other, and one question nobody can settle quickly. The idea behind this book is to give engineers the tools they need to keep an eye on things without breaking the bottom line.This book brings together logs, metrics, traces, frontend sessions and AI telemetry into one place, so you can figure out what's going on when things go wrong. It's all about setting up a production-ready OpenObserve cluster, hooking up every signal through OpenTelemetry, and tweaking the data until long-term storage becomes budget-friendly.
There are several chapters that look at what can go wrong in a business, like infrastructure, networks, apps, data layers and user experience. They even talk about the AI service that went up by three times overnight. In the AI era, the way we think about failure has changed. Things like models drifting, prompts inflating and cost moving faster than latency. If you've got observability built for three signals, you won't be able to see any of them. This book shows what a unified platform can do.
Key Learnings
Table of Content
Target Audience
Whether you're an SRE, platform engineer or architect, you'll find configuration, queries, dashboards and alert definitions you can apply directly. You don't need to have experience with OpenObserve.
At some point, every software engineering organisation hits a point where shipping software feels like it's taking longer than writing it. So, developers are waiting days for a database, environments are drifting apart, and every team is deploying in its own way. This book shows you how to do that, one working layer at a time.
In this book, you'll get to build a complete internal developer platform using tools you can run on a single Linux workstation. The plan is to provision multi-cluster infrastructure with OpenTofu, wire GitOps delivery with Argo CD, design a self-service component API with Kubebuilder and Crossplane, enforce policy with Kyverno and Cilium, and add observability and a Backstage portal that cuts onboarding from weeks to minutes. Then you'll adopt OpenChoreo and use it with custom component types, promotion pipelines, multi-cluster data planes, and AI agents connected through MCP.
Out of the book, about 40% is about the thinking behind it, and the rest is all about putting it into practice. The idea is to make you capable and skilled to design, build, secure, measure and grow a platform that developers will actually use.
Key Learnings
Table of Content
Target Audience
If you know to ship software, and have worked around Git, containers and the Linux command line, then this book is well-suited for you. No prior work with the platform tools is expected, although some knowledge of Kubernetes helps.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.