16 ms·
FreeBSD doesn't run on EC2 yet. I'm working on it. :-) Leaving that minor detail aside, I (unsurprisingly) think FreeBSD is much better than any variety of li
by cperciva 19y ago
FreeBSD doesn't run on EC2 yet. I'm working on it. :-)
Leaving that minor detail aside, I (unsurprisingly) think FreeBSD is much better than any variety of linux for this purpose. The first rule of running servers is "apply security patches", while the second rule is "don't break things" (some people reverse these two...). FreeBSD works with a concept of "stable branches", and as a general rule, FreeBSD does not break APIs or ABIs except across major version upgrades. In contrast, security patches to linux have been known to change kernel/userland interfaces, as well as kernel APIs -- either of which can result in system administrators needing to run around fixing things after applying a security update.
This is even more relevant in the context of cloud computing, where the patching (or not patching) of the operating system is performed by someone (e.g., Amazon) other than the people actually using the virtual machine instances. I don't think Amazon has really figured out what to do with linux here; but for FreeBSD the right answer is simple: Update images as soon as security updates are released, secure in the knowledge that doing so won't break anything.
- wmf 19y agoAn obvious solution that comes to mind is to rent virtual hardware and let customers do the patching.
- jrsims 19y agoNice. Do you plan on sharing with the rest of the class? Do you have a site for this project?
- cperciva 19y agoYes, I will be sharing -- once there's something to share. Before getting to that point, there's work which needs to be done on Xen, packaging up FreeBSD in such a way that EC2 can handle it, and getting FreeBSD and EC2 to handle each other's quirks sanely... so there's nothing to share so far, and no need for an empty website yet.
- iamelgringo 19y agoPost here when you're done, and here's a little encouragement along the way. I'd love to play around with it. Anybody else know of any VPS's that offer BSD?
- extantproject 19y agoDid you get this working?