5

So once an Immutable Server is in place, nothing should change at all. Or is it only configuration.

Are source code updates acceptable on Immutable Servers?

  • 1
    If the source code repository is pulled after the server is brought up (i.e. not included in the server configuration itself) or is in a workspace hosted elsewhere (mounted via NFS, for example) that's part of the server operation and IMHO updating such code should be OK. I'm assuming something like a build server here. – Dan Cornilescu Mar 9 '18 at 13:39
5

No.

Immutable is exactly what it means, immutable, no change on configuration or code running or system library or whatever, if a change has to be made, create a new image and deploy it, never change it while running.

Source code updates are the least thing to change on a running server, this should not happen on a running server, immutable or not.

You should create a versioned release of your code to deploy on servers, once you have this level of fixed versioning you can step ahead to versioning your server image which include this code release.

Any change, being a code patch or a system patch or a configuration change should trigger a new release to be deployed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.