News for hackers. Stuff that matters.
Re:DigitalOcean is laying off staff by derefr on Friday January 17, 2020 @02:43PM (#22078398)
> 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?

Re:DigitalOcean is laying off staff by matoro on Friday January 17, 2020 @02:56PM (#22078526)
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.
Re:DigitalOcean is laying off staff by icedchai on Friday January 17, 2020 @03:03PM (#22078620)
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.

Re:DigitalOcean is laying off staff by totony on Friday January 17, 2020 @05:06PM (#22079958)
This can be done using overlayfs, but it kind of defeats the purpose since you now need a storage device