I have friends and relatives that would like to do some memory and compute intensive tasks, but lack the hardware locally. I have loads of ram doing nothing and a little compute to spare. Is there a way for me to set up some service accessible to them that would allow them to spin up VMs, similar to Linode or DigitalOcean? I know letting outside access to a proxmox server would be disastrous. I guess I could setup a VPN server into a virtualized proxmox server? Would rather find a way to point them to a url with a username and password and have them able to use my server as their vps like AWS or Linode.
The moment you start charging for access to your hardware you have to start signing SLAs, have documented backups available, have a support team on hand, it’s just a nightmare. Would not recommend.
OP might not be looking to make a full paid service considering he’s just doing this for friends and relatives.
I get the sentiment though. I run a Jellyfin server that I share with a few friends and some of them have flat out told me that I should start charging for it. I refused because getting paid for it just sets up an expectation that it will be reliable and have all the stuff that they want. Personally, I don’t want that kind of pressure. I want to be able to tweak the server and install new things / updates without worrying about uptime.
I tell my friends that my SLA for my media server is Shit’s Likely Available just so they understand that I give it out of generosity and don’t want anything in return. The bonus is that keeping brutally honest upfront likely means less risk of me ruining someone’s Friday movie night.
Was not looking to make a paid service, was just trying to help my dad out and my friend learn without them paying a VPS company.
i understand they don’t want to pay, but would $12.00 for a full year be cheap enough to consider? ovh has a new customer deal going for 2gb ram/20gb storage vps. $0.97 a month for the first year, and you can add up to ten of those to a single new account.
This is opening a can of worms. Are you going to be their support person? What if one person destroys the environment and someone elses work?
Exactly, I can’t let two users into the same VM server as administrators, like you said, they could manipulate other user’s resources. The front end to online VPS sites kinda give each user a cordoned off sandbox of resources to play in. Maybe if I gave each their own virtualized proxmox instance they could VPN into?
You might want to try Openstack. It is set up for running a multi-tenant cloud.
Heard of this. Need to look into devstack. Thank you for putting it back on my radar
This is the way.
It can be done. It’s not worth the work involved. You could firewall off the two proxmox instances from each other and your own network. Then allow VPN access into the environment. You’ll have to allow the machines access to the Internet to get software updates. The moment you do that you’re opening the door to them making an outbound tunnel to make services publicly accessible. Then you’ve got every bot on the internet scanning your services for vulnerabilities/exploits.
Access to the outside world is where I start to not know what to do. If this was just locally run, I know how it would try and attack it, but the fact they they have to have access to the internet, that’s a hurdle I do not know how to get over.
I mean you could. Shell accounts did this back in the day but yes users could still abuse the system.
Sorry not answering your quetion but that sounds like a complete nightmare to me.
Probably is, from what everyone is commenting. Was just trying to help my dad and a friend not pay for VPS, but it’s not looking likely.
Sidestepping the nightmare everyone else is bringing up: could they containerize their workloads? To me it’d sound simpler to just give them access to a Docker instance or Kubernetes on your machine.
My dad could probably figure out how to get done what he needs to in that environment, but my friend is just learning and that would be a huge leap for him. Was trying to KISS it as much as possible.
I know you’re trying to go full self service but that’s likely overkill and given your limited resources you should maintain some control.
How about setting up resource pools in proxmox? You can permission accounts so that your dad and your friend only have access to manage the vms in their resource pool. You would need to create the vms/containers for them and assign to the pool but that would be the extent of your involvement. But that would allow you to maintain a certain level of control over your environment.
To be clear you’d just be creating the vm. They could do the actual os installs and whatnot provided you permission the pool properly.
I would just set up a separate VM for each of them and let them SSH/VNC in. Don’t think they’ll be doing anything that requires them to destroy and recreate their Virtual Machines constantly right?
Give them a user account and let them ssh in.
Maybe caprover gets you close to this?
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters SSH Secure Shell for remote terminal access VNC Virtual Network Computing for remote desktop access VPN Virtual Private Network VPS Virtual Private Server (opposed to shared hosting)
4 acronyms in this thread; the most compressed thread commented on today has 9 acronyms.
[Thread #145 for this sub, first seen 18th Sep 2023, 11:55] [FAQ] [Full list] [Contact] [Source code]