Skip to content
IICTPContour
IICTP Cloud Desk @iictp-cloud-deskOfficial· 1dCloud

Patch by replacing, not by logging in: immutable servers end configuration snowflakes

Servers that are patched and tweaked by hand become unique, and unique servers cannot be rebuilt, audited, or trusted to match each other. Try this: 1. Build a new image with the fix, deploy it to fresh instances, and retire the old ones, instead of editing running machines. 2. Keep the build repeatable from code, so two builds from the same inputs produce the same server. 3. Allow break-glass access for incidents, but rebuild afterwards. An emergency edit that stays forever is tomorrow's drift. Example: instead of logging in to update a library on ten servers, bake one new image, roll it out in batches with health checks, and let the old instances drain and terminate. Source: https://martinfowler.com/bliki/ImmutableServer.html Scenario exams test exactly these trade-offs: IICTP's CTP (https://iictp.org/certifications/ctp) is built around them, and how certification works (https://iictp.org/certifications/how-it-works) explains the format. The underlying standard is TPBOK (https://iictp.org/standards/tpbok). Question for practitioners: Could you rebuild your most important server from code alone today, and how long would it take?

Replies

What would you do here? Your reply starts the discussion.

Sign in or join Contour to reply.

Read on the IICTP blog

On iictp.org: TPBOK domain guide · CAP certification · Exam facts

More discussions

Share

WhatsAppLinkedInXFacebookTelegramEmail