News for hackers. Stuff that matters.
Re:Ask HN: Which configuration management software would/sho... by tibbon on Saturday March 14, 2020 @01:00PM (#22576729)
Yup. We do this. When our servers need a change, we change the AMI for example, and then re-deployment just replaces everything. Most servers survive a day, or a few hours.
Re:Ask HN: Which configuration management software would/sho... by wpietri on Saturday March 14, 2020 @01:50PM (#22577090)
Makes sense to me. I was talking with a group of CTOs a couple years back. One of mentioned that they had things set up that any machine more than 30 days old was automatically murdered, and others chimed in with similar takes.

It seemed like a fine idea to me. The best way to be sure that everything can be rebuilt is to regularly rebuild everything. It also solves some security problems, simplifies maintenance, and allows people to be braver around updates.

Re:Ask HN: Which configuration management software would/sho... by 0xEFF on Saturday March 14, 2020 @02:31PM (#22577461)
Configuration Management is still present in this process, it's just moved from the live system to the image build step.
Re:Ask HN: Which configuration management software would/sho... by notacoward on Saturday March 14, 2020 @04:18PM (#22578325)
Probably the most insightful comment in this entire thread. Thank you. In many cases, an "image" is just a snapshot of what configuration management (perhaps not called such but still) gives you. As with compiled programming languages, though, doing it at build time makes future change significantly slower and more expensive. Supposedly this is for the sake of consistency and reproducibility, but since those are achievable by other means it's a false tradeoff. In real deployments, this just turns configuration drift into container sprawl.
Re:Ask HN: Which configuration management software would/sho... by __float on Saturday March 14, 2020 @03:50PM (#22578130)
Is this still as painful as it used to be? AMI building took ages, so iteration ("deployment") speed is really awful.
Re:Ask HN: Which configuration management software would/sho... by grrywlsn on Saturday March 14, 2020 @04:15PM (#22578289)
Personally that's why I avoid Packer (or other AMI builders) and keep very tightly focussed machines set up by the cloud-init type process.