I 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.
You'd get too many support requests from customers wondering why all their data disappeared after they rebooted.
Re:DigitalOcean is laying off staff
by WrtCdEvrydy on Friday January 17, 2020 @03:20PM
(#22078786)
I wonder if you could map the writes to the drive to some sort of permanent storage programatically.
Re:DigitalOcean is laying off staff
by freehunter on Friday January 17, 2020 @04:24PM
(#22079508)
You 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.
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?