4 ms·
> That $5/mo has to cover the hardware costs: you're buying expensive physical servers to put the VPSes on, and lots of SSDs too. SSDs have a limited lifetime m
by derefr 7y ago
> That $5/mo has to cover the hardware costs: you're buying expensive physical servers to put the VPSes on, and lots of SSDs too. SSDs have a limited lifetime measured in writes, and some of your customers will leave broken programs running that chew through this precious resource for no reason. If you throttle them, they'll complain.
This makes it sound like you could get a big win in the VPS-provider space by drawing an ROI line at ~$20, and making all instances below that size diskless, with their rootfs being either a tmpfs overlay of a shared SAN-mount of a base image (like a LiveCD environment), or a tmpfs into which was dumped a PXE initramfs image (as e.g. CoreOS does in its idiomatic deploy style.)
I feel like many customer use-cases would still be satisfied by such instances (especially if you also offer local object-storage for the diskless instances to interact with.) It'd sort of be a hybrid position between ephemeral PaaS containers, and actual persistent VMs.
Anyone know of a provider that provides low-cost long-running diskless VPSes like this?
- matoro 7y agoI use Scaleway which does it this way. It was very nice to be able to detach my rootfs when my CPU blew up and just make it the rootfs of another instance.
- icedchai 7y agoYou'd get too many support requests from customers wondering why all their data disappeared after they rebooted.
- WrtCdEvrydy 7y agoI wonder if you could map the writes to the drive to some sort of permanent storage programatically.
- freehunter 7y agoYou could. You’d just need some kind of file system driver that connects the application to a more stateful disk so as things pass through temporary memory they’re written to an SSD or HDD. Of course that already exists, and DO offers it for $5.
- totony 7y agoThis can be done using overlayfs, but it kind of defeats the purpose since you now need a storage device