logoalt Hacker News

mdeeksyesterday at 4:44 PM7 repliesview on HN

> MicroVMs support up to 8 hours of total runtime

Does this mean you effectively can't use them as long-lived developer environments? It sounds like even if you suspend them, this is the hard limit on the total time it can run.


Replies

topspinyesterday at 4:58 PM

It just a time limit of the life of a single MicroVM.

Using this for a long lived "developer environment" would be extraordinarily expensive anyhow. Scaling the vCPU + RAM cost of these to the same shape compute optimized Graviton On-Demand EC2 instance (16 vCPU x 32 GB RAM) shows about 4x the cost.

So don't do that. Just use an EC2 instance.

show 1 reply
mmastracyesterday at 4:49 PM

They are long-lived if you're a mayfly.

But I think the point is that they should be cheap to set up, and because of the short life, never really contain anything except the potential to compute when needed, not important data.

alFReD-NSHyesterday at 6:47 PM

In theory, you could set up a process to move data/filesystem between sessions into and out of s3.

fizxyesterday at 10:55 PM

Firecracker doesn't reclaim RAM well, so they put this limit in to make sure you don't suffer from the eventual memory bloat problems.

amw-zeroyesterday at 4:46 PM

You can use them for dev environments.

You just have to finish development in 8 hours.

lab14yesterday at 4:47 PM

I'm assuming you can launch them again after 8 hours.

8noteyesterday at 4:58 PM

lambdas are ephemeral on compute, but couldn't you connect up EFS for your long lived data?

then when you launch the next one, its like you are still there?

show 1 reply