Live data from Hacker News

Linux boxes via SSH: suspended when disconected

shellbox.dev

111–120 of 163 posts

Re: Linux boxes via SSH: suspended when disconected

#111
post #32

Earlier quoted context omitted.

Simpler, easy to use, more enjoyable and fun are also valid reasons

What’s difficult to use in Hetzner or DigitalOcean?

Apart from the payment part, this could be used entirely from a machine without a GUI. You can do the same with others using Terraform or aws-cli but it requires setup first.

Re: Linux boxes via SSH: suspended when disconected

#112
post #88
post #75

Earlier quoted context omitted.

For these kinds of services, I think the main value would be UX improvements, such as offering an environment preconfigured with a certain set of tools (e.g. nmap, tmux, curl, etc.) and other defaults. SSH in, and don't deal with a web panel. They may also be valuable in a learning environment where you don't want student servers running 24/7. Other than those points, offering access to more powerful hardware is prob…

What you've described sounds a bit like the very new https://exe.dev service! Which I discovered on HN just weeks ago.

came across it few days back , thier signup has been broken for 2 days smh . wanted to try it out.

Re: Linux boxes via SSH: suspended when disconected

#113

Earlier quoted context omitted.

Frankly, the model with the single America continent doesn’t make any sense, because south and north Americas are so different in both geographical and cultural/historical sense.

Continents are about geology not culture

Europe says hi.

Re: Linux boxes via SSH: suspended when disconected

#114
post #8
post #4

$36/mo for 2/4/50 VPS without public IP... Ok, I get the idea that the service is for non-regular use, but I think even $0.005 per hour ($3.6/mo) of suspended state is too expensive. The same config in Hetzner is just $4.09/mo for 24/7 working VPS with public IPv4 address

Interesting to compare with Fly's sprites: https://sprites.dev/#billing

Maybe I'm being dense, but could someone kindly explain to me the "Web App" example on that Sprites page?

"30 hours of wake time per month (~5 concurrent users avg), averaging 10% of 2 CPUs and 1 GB RAM"

Does that mean it would sit available but using 0% when there's nobody on the site, and just bill for usage when web traffic is causing the server to do work? So if the web app went a month with no visitors it would cost nothing (except for the file storage fees)?

Re: Linux boxes via SSH: suspended when disconected

#115

Earlier quoted context omitted.

> which seems tough given how cheap a VPS already is. A suspended machine only costs its disk usage to the hoster. You can have 800 of them on a machine with 4TB SSD. You can't say the same for VPS at all.

it has to cost some amount in reserved capacity too. for every n suspended machines there is some small fraction of a machine's cpu/ram capacity that must be kept in reserve, like in a fractional lending system.

You can 'suspend' to SSD/aka hibernate.

Can be pretty fast.

Re: Linux boxes via SSH: suspended when disconected

#116

Earlier quoted context omitted.

THanks for your response! as well I am interested in which bare metal instances from which provider are you using if I may ask since I had a similar idea (as mentioned before) and I wanted to deploy it on hetzner but I was always worried that hetzner's policy might be too harsh for it even though they are one of the cheapest options out there Which server provider did you end up using? Thanks once again for your in d…

Hetzner is cheap but they are sticklers for rules. Need photocopy of ID when renting servers etc. I just got elsewhere now

Where did you go if I may ask?

Re: Linux boxes via SSH: suspended when disconected

#117
post #94
post #55

There's been so many of these lately. I really need to share a blog post on doing this exact thing with a VPS, 2 commands to install and setup lxd. And then client side bash function to just make and connect via tmux and delete when you're done. Self hosting these services is too easy to do and you can have more control of your data and better specs.

It's funny to me as well. Being initially inspired by Yelp's dockersh I wrote a functional MVP of the same concept around 2 years ago. It used a custom Go sshd-proxy to spawn kata-container backed pods in kubernetes. I used it personally for a very brief period of time, and found it useful as a small timesaver for testing things. I wasn't comfortable with monetizing it though. After seeing a few of these pop up, I re…

i looked at containerssh once and it was way to featureful for me. I came up with a simple ssh daemon that basically does spawn arbitary containers on ssh login and destroys on exit: https://github.com/abbbi/sshcont

Re: Linux boxes via SSH: suspended when disconected

#118
Unrelated in many ways, but I have the reverse problem:

When I suspend my Linux machine, my ssh connections are lost.

Anyone know of a good solution for this?

PS: Yes, I know about tmux/screen but I'd like a solution that keeps the connection, because I often forget to start a screen session. Also, I'd like my X11 applications to keep working.

Re: Linux boxes via SSH: suspended when disconected

#120
post #5
post #4

$36/mo for 2/4/50 VPS without public IP... Ok, I get the idea that the service is for non-regular use, but I think even $0.005 per hour ($3.6/mo) of suspended state is too expensive. The same config in Hetzner is just $4.09/mo for 24/7 working VPS with public IPv4 address

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

What web console?
Post reply on HN