DEV Community

Cover image for Mutable vs Immutable Deployments - A Diagram
Mike
Mike

Posted on

Mutable vs Immutable Deployments - A Diagram

Hey DEV community,

As I'm getting closer to my June 28, 2020 deadline to release my book, Cloud Native Web Development, I decided to dedicate half an hour during my lunch breaks from now until I publish the book to draw the (architecture) diagrams I need.

I'll just throw them in here, hoping others find them useful.

Today: Mutable vs. immutable deployments.

Alt Text

Diagram source (if you want to edit/reuse it)

Top comments (3)

Collapse
 
5422m4n profile image
Sven Kanoldt

Thanks for sharing. The Immutable Deployment is basically what you can do with docker image artefact based deployments.

However, the drawing tool is awesome. I did 2 architecture sketches with it today and the first time it was super fun.

Collapse
 
ujwaldhakal profile image
ujwal dhakal

this looks like a monolith vs microservice deployment to me ?

Collapse
 
mikenikles profile image
Mike

In theory, you could deploy a monolith as immutable. However, in practice, I agree with you that immutable deployments are much more often related to an architecture based on multiple, independent services.