7

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
  • 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. Commented Mar 9, 2018 at 13:39

2 Answers 2

7

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.

0

That's not true. Immutable servers simply means that the servers cannot be changed but the can be deleted and created from the updated source code.

1
  • Please add further details to expand on your answer, such as working code or documentation citations.
    – Community Bot
    Commented Sep 7, 2021 at 10:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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