Non-Fiction, Informative, Educational

Cloud Infrastructure Engineering eBook

A Coursebook on Cloud Infrastructure Engineering

by Cohen Leah

  • English
  • 140 pages
  • 2026
  • SamEnrico

A Coursebook on Cloud Infrastructure Engineering

Formats

Free sample

Chapter 1: The Hidden Spectrum...–- The conference room was silent. Twenty-three engineers stared at a $47,000 monthly cloud bill that had doubled in six months. The CTO, a woman who had survived three acquisitions and two bankruptcies, pointed at the number and asked a single question: “Are we doing this right?”No one answered. Because no one knew.The infrastructure team had followed every “best practice.” They had migrated from physical servers to EC2 instances. They had containerized their applications.

They had even hired a Kubernetes consultant who charged $400 an hour to explain what a pod was. And yet, their cloud environment was slower, more expensive, and less reliable than the on-premises data center they had left behind eighteen months earlier.This is the hidden crisis of modern infrastructure engineering. The industry has spent a decade telling engineers that “cloud native” is a binary state—either you are doing it right, or you are doing it wrong. But this is a lie. And it is a dangerous lie, because it prevents engineers from asking the only question that matters: what does “right” actually mean for my specific system?This chapter dismantles that binary thinking.

You will learn that cloud infrastructure exists on a spectrum, not a switch. You will understand why manual SSH is not just inefficient but actively dangerous—and what to do instead. You will be introduced to three foundational paradigms that will reappear throughout this book: the Shared Responsibility Model, the “Pets vs. Cattle” analogy, and the elimination of toil. And by the end, you will see that modern infrastructure is not a destination you arrive at, but a discipline you practice every day.The Great Binary Deception The cloud industry has a marketing problem.

Every cloud provider, every consultant, and every certification course benefits from a simple narrative: there is the old way (bad) and the new way (good). You are either cloud-hosted or cloud-native. You are either doing Dev Ops or you are doing waterfall. You are either a “pet” shop or a “cattle” ranch.This binary framing is seductive because it offers certainty. If you just buy the right tool, attend the right training, or hire the right consultant, you will cross a magical threshold and become “cloud native.” Your bills will shrink.

Your outages will disappear. Your developers will sing your praises.Reality is messier. Consider two companies:Company A runs 500 virtual machines on AWS EC2. Every VM is provisioned via Terraform, managed in Auto Scaling Groups, and replaced automatically if it fails. Developers never SSH into production.

Configuration is version-controlled. Security groups are defined as code. The environment has been running for three years with 99.99% uptime.Company B runs Kubernetes on the same AWS infrastructure. Every service is containerized. The cluster uses Istio for service mesh, Prometheus for monitoring, and Argo CD for Git Ops.

But the team of ten infrastructure engineers spends 80% of their time managing Kubernetes itself—upgrading the control plane, troubleshooting CNI plugins, and explaining to developers why their pod won't schedule. The environment has suffered two major outages in six months, both caused by misconfigured operators.Which company is “cloud native”?If you answered Company A, you have already rejected the binary. Company A runs VMs—the technology that cloud providers have offered since 2006. By the binary definition, VMs are “cloud-hosted” at best, “legacy” at worst. But Company A embodies every principle of cloud-native engineering: automation, immutability, infrastructure as code, and disposability.

They simply chose a different tool to express those principles.If you answered Company B, you have accepted that Kubernetes alone does not make you cloud-native. Complexity is not sophistication. A system that requires ten engineers to keep it running is not “native” to anything except its own technical debt.The truth: Cloud-native is a spectrum of practices, not a checklist of tools. On one end of the spectrum sits the worst of both worlds: manual servers, click-ops configuration, and no automation. On the other end sits the ideal: fully automated, API-driven infrastructure where every component is defined as code and every change is reviewed before deployment.

Where you fall on that spectrum depends on your practices, not your tool choices.Throughout this book, when we say “cloud-native infrastructure,” we mean infrastructure that exhibits three properties:API-driven: Every resource is created, modified, and destroyed through an API, never through a console or manual process.Automated: Repetitive tasks are eliminated through code, not documented in runbooks.Auditable: Every change leaves a trace in version control and logs.Notice that containers are not mentioned. Neither is Kubernetes. Neither is serverless. These are implementations, not definitions. A VM can be cloud-native.

A container can be anti-cloud-native (if you deploy it via SSH). The tools are secondary to the practices.The Death of Manual SSHLet us talk about a practice that must die: manual SSH access to production servers.If you have ever typed ssh user@10.0.1.45 to debug a problem, you have experienced the seduction of direct access. It feels powerful. It feels immediate. It feels like you are doing something.It is a trap.Manual SSH is the single strongest predictor of infrastructure dysfunction.

When engineers SSH into a server, three things happen, all of them bad:First, you create configuration drift. The change you make on that one server—restarting a service, editing a config file, deleting a log—exists only on that server. When the server is eventually replaced (by Auto Scaling, by a redeployment, by a failure), that change vanishes. But worse: the change was never recorded anywhere. Your infrastructure as code no longer matches reality.

You have created drift, and drift is the enemy of reliable systems.Second, you break auditability. If you SSH into a server and run rm -rf /tmp/cache, there is no record of that action in your version control system, your CI/CD pipeline, or your change management logs. Six months later, when someone asks why the cache directory is empty, the answer is “someone must have logged in and deleted it.” That is not an answer. That is a confession of operational failure.Third, you normalize emergency procedures. Every time an engineer SSHes into production to solve a problem, they learn that SSH is an acceptable solution.

They tell their colleagues. The colleague writes a runbook that begins with “Step 1: SSH into the server.” Soon, the entire team has abandoned automation in favor of direct access. The infrastructure is no longer cattle. It has become a zoo of beloved pets, each with its own quirks and manual workarounds.The counterargument is always the same: “But how do I debug when something goes wrong?” This is a legitimate question, and we will answer it fully in Chapter 5 when we cover debugging without SSH. For now, the short answer is: you design your systems so that SSH is unnecessary.

You use Session Manager (AWS) or Serial Console (GCP) or Azure Bastion for ephemeral, audited access. You deploy ephemeral debug containers that spin up, attach to a process, and disappear. You stream logs to a centralized observability platform. You build health checks that tell you what is broken without requiring you to log in to figure out where.The longer answer is this: if…

This is the end of the free sample. Get the eBook to keep going. Buy now

About this book

A Coursebook on Cloud Infrastructure Engineering

Details

Author
Cohen Leah
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Informative, Educational
Released
2026-06-02
Pages (approx.)
140
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Cohen Leah

See all