News for hackers. Stuff that matters.
Re:Ask HN: VM hosting that could start under a second? by stop50 on Friday August 26, 2022 @12:01AM (#32603199)
containers are the only thing that start that fast. google cloud and azure allow you to create and destroy vms via api and both allow you to use your own base images, i know this much because an colleague currently is setting up an web ui for internal customers.
Re:Ask HN: VM hosting that could start under a second? by punkpeye on Friday August 26, 2022 @12:04AM (#32603218)
Re GCP VMs with base image, do you know how long it takes to boot them?
Re:Ask HN: VM hosting that could start under a second? by stop50 on Friday August 26, 2022 @01:28AM (#32603669)
It depends. With systemd usually a minute, but we have other workloads, so its not comparable. containers are a lot faster, since some steps can be skipped, like ip addresses and other things. Google uses kvm and probably libvirt for the vms, so you can test it localy before.
Re:Ask HN: VM hosting that could start under a second? by verdverm on Friday August 26, 2022 @12:28AM (#32603368)
Typically less than 30s depending on the underlying image size. Their CloudRun product is probably a better fit for the needs you described, super fast boot times, container based, easy scaling
Re:Ask HN: VM hosting that could start under a second? by punkpeye on Friday August 26, 2022 @01:00AM (#32603525)
CloudRun looks promising!
Re:Ask HN: VM hosting that could start under a second? by stop50 on Friday August 26, 2022 @10:47AM (#32608224)
At the same speed as the on-premise vms.the difference because of cloud-init is minimal.