aurae-runtime / aurae

Distributed systems runtime daemon written in Rust.
https://aurae.io
Apache License 2.0
1.85k stars 91 forks source link

Option to freeze cells or entire machines #368

Open bjorn3 opened 1 year ago

bjorn3 commented 1 year ago

The cgroup.freeze file can be used to prevent execution of any process in cgroup. Among other things I can imagine that this would be useful for doing a postmortem of a hack by preventing any cover up from the moment the cell was frozen. Freezing the entire machine could be used as emergency measure if there is a suspicion that a significant amount of cells have been hacked. If this turns out to not be the case, it would be possible to unfreeze the machine without having to do a cold start of a cluster that may not even be able to do a cold start anymore due to cyclic dependencies or empty caches.