News for hackers. Stuff that matters.
Re:Ask HN: Which configuration management software would/sho... by notyourday on Saturday March 14, 2020 @11:14AM (#22575864)
> 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'"

Re:Ask HN: Which configuration management software would/sho... by tilolebo on Saturday March 14, 2020 @12:07PM (#22576312)
In the current state of infrastructure, an accepted definition of "immutable infrastructure" is that:

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.

Re:Ask HN: Which configuration management software would/sho... by HelloNurse on Saturday March 14, 2020 @03:17PM (#22577867)
Interesting. How would you do that if your deployment is, say, a couple of new tables in a 50TB Oracle database?
Re:Ask HN: Which configuration management software would/sho... by tilolebo on Saturday March 14, 2020 @03:23PM (#22577922)
It only works with stateless resources.

There's no point in trying to manage a database or similar resources this way.