An operations team patches its web servers by logging in over SSH and running updates on each running instance. Over time the servers have drifted apart in configuration. Which change follows an immutable infrastructure model?
Choose an answer to check it. Afterward, select any option to review its explanation.
Running the script everywhere at once makes changes more uniform, but it is still an in-place modification of running servers, the exact anti-pattern immutable infrastructure rules out.
Adding capacity changes how many servers exist, not how they are changed. The new servers would be patched over SSH like the rest, so nothing about the model becomes immutable.
Immutable infrastructure forbids in-place updates, patches and configuration changes on production resources. A new, updated set of resources is deployed and traffic moves to it, which also removes the drift because every server comes from the same known image.
Snapshots give a point-in-time copy to fall back on, which reduces risk, but the servers are still changed in place and keep drifting. It protects against a bad patch rather than removing the practice causing drift.
id q2617145e9b