---
title: "Comment by Olivia on \"The apt Lock That Broke Our Auto Scaling\" | Hashnode"
description: "The fail-fast idea is what I'd take away from this — a server that can't load its settings shouldn't sit there alive but useless, it should exit and let auto sc"
url: "https://hashnode.com/posts/the-apt-lock-that-broke-our-auto-scaling/6b0c6ea6e49cccb18407639c/comment/6b0cbf0655f6e6030dc0ce4a"
---

[Discussion](https://hashnode.com/posts/the-apt-lock-that-broke-our-auto-scaling/6b0c6ea6e49cccb18407639c)

Comment [The apt Lock That Broke Our Auto Scaling](https://hashnode.com/posts/the-apt-lock-that-broke-our-auto-scaling/6b0c6ea6e49cccb18407639c)

[Olivia](https://hashnode.com/@oliviacreates)

[18h ago](https://hashnode.com/posts/the-apt-lock-that-broke-our-auto-scaling/6b0c6ea6e49cccb18407639c/comment/6b0cbf0655f6e6030dc0ce4a)

The fail-fast idea is what I'd take away from this — a server that can't load its settings shouldn't sit there alive but useless, it should exit and let auto scaling replace it. Baking the CLI into the image, plus turning off unattended-upgrades on first boot, would have removed the race at the source instead of just retrying around it.
