173
immutable infrastructure
Replace the server. Do not SSH in and patch it. The next boot matches the build.
What is immutable infrastructure?
Immutable infrastructure means instances are not changed after launch. A new image or revision replaces them. Patches happen in the build. Snowflakes — machines someone edited live — cannot be recreated.
Why does immutable infrastructure matter when vibe coding?
Models “just SSH and install.” The fix exists on one box. Name a new revision instead.
How do you do immutable infrastructure?
Bake the change into the image or the container. Roll instances. No pets. If you must exec in, the real fix is still a rebuild.
How do you ask a model for immutable infrastructure?
Ship (change) as a new immutable revision. Do not SSH and mutate the running machine. Rolling back is running the previous revision.
What goes wrong with immutable infrastructure?
An immutable image that pulls “latest” at boot. You froze nothing. Pin the versions inside the build.