Live data from Hacker News

Linux boxes via SSH: suspended when disconected

shellbox.dev

61–70 of 163 posts

Re: Linux boxes via SSH: suspended when disconected

#61
post #10
post #5

Earlier quoted context omitted.

Hi, That is a good point actually. The suspended price has to be significantly lower than the alternative. I'll revise it. Still, there is the advantage of simplicity not having to deal with the web console etc. Some people may enjoy this

The interesting part here is that the box is stateful, unlike a Lambda. You return literally to the point where you left off.

A VPS does the same thing for far cheaper.

Re: Linux boxes via SSH: suspended when disconected

#63
post #38

Earlier quoted context omitted.

Sort of, but maybe not quite? When you spin up an EC2 spot instance, it's a fresh instance with whatever AMI you load into it, and it's a fresh boot at that time. (You can save persistent data to an EBS volume that you create once up front and then attach to each new instance, of course.) With this service, it seems like the VM underpinning your session is suspended (like as if you were to suspend-to-RAM or hibernate…

Right you would need it to be on-demand to hibernate like that but even then a medium will beat these prices I believe.

I think you can technically hibernate the instance when the spot reclaim signal comes in. Then snapshot the instance and then terminate it.

Can then spawn a new instance from the snapshot and it should unhibernate

Whether the OS will like that... That's another point. As there will be things that change like smbios etc

Re: Linux boxes via SSH: suspended when disconected

#64
What a brilliant billing and account interaction interface. I legitimately wanted to build something like this for a transactional SMS provider where it would all be provisioned, managed, configured on the CLI. Do you have any tips on how you built this out so elegantly?

Re: Linux boxes via SSH: suspended when disconected

#65
post #6

Earlier quoted context omitted.

Pretty sure shellbox.dev has been around for at least 2-3 years though - EDIT nm they have a show HN from two days ago. I must be thinking of a similarly named/sounding service

Maybe you mean keypub.sh? That is another project of mine with similar graphic design.

Actually I was thinking of the Devbox cloud thing, which I think they call Jetify Cloud now

Re: Linux boxes via SSH: suspended when disconected

#66
post #6

Earlier quoted context omitted.

Pretty sure shellbox.dev has been around for at least 2-3 years though - EDIT nm they have a show HN from two days ago. I must be thinking of a similarly named/sounding service

Maybe you mean keypub.sh? That is another project of mine with similar graphic design.

Love the site design btw. Super attractive on mobile.

Re: Linux boxes via SSH: suspended when disconected

#68

I'm curious: what's the use case? Usually when I need a server I need it to stay on and have a public IP.

I wish runpod.io and others had this feature. I've forgotten to stop my pods a few times and only learnt about it when my balance became $0.

Re: Linux boxes via SSH: suspended when disconected

#69
post #7
post #2

This looks quite similar to exe.dev which was on here a while ago - anyone know how it compares?

I think exe.dev is subscription. In Shellbox.dev you have funds and pay very little when not connected

Do you do any resource scaling at all? What happens if my workload hammers the VM resources?

Re: Linux boxes via SSH: suspended when disconected

#70
post #41
post #22

I've been trying to come up with a hypothetical use case for this. I can't use this as a server without keeping an active session right? I wonder if you could get around this by sshing into itself from inside the primary session. Is that an edge case you've considered?

For this use case, why wouldn't you just instead run a VPS on AWS or some cheaper platform?

You definitely should
Post reply on HN