|
|
|
|
|
by notyourday
2287 days ago
|
|
> What I prefer to do is use Terraform to create immutable infrastructure from code. Can you mount all your volumes read-only and run all of your stack? If you cannot, then you do not have immutable infrastructure. You simply happen to agree that no one write anything useful, which with time will absolutely fail because someone, somewhere is going to start storing state on a stateless system giving you "a cow #378 called 'Betsy'" |
|
1. You deploy a completely fresh instance/container, instead of in-place updates 2. You don't actively push changes on a running instance/container
Of course you might have stuff written to disk, such as logs, temp files, etc. But it should be non-essential data, and potentially pushed to a central place in near real-time.