this post was submitted on 11 Oct 2024
29 points (96.8% liked)

Selfhosted

40676 readers
588 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Vague title I know, but I'm enough of a beginner at this to not really know what I need to ask!

I would like to rent a server, that allows me to spin up different services, including things like Windows to use as a remote desktop. Ideally, I would then be able to just migrate this whole setup to my home server.

I thought it would be as easy as renting a scalable VPS, but apparently if you run something like Proxmox on those, you'll get terrible performance?

My understanding is that I'd need to rent a bare metal server, but then my 'scalability' will suffer- I can't just wind up and down the specs as needed, correct?

My user case: For the next several months, I'm on the road, without a proper computer. I may have some work doing some CAD drafting, hence Windows. I'd also like to have some containers to run some dev tools, databases, web hosting. I'd also like to use the same service to start building my future home server environment- nextcloud, *arr, etc. Once I'm back home, I'd like to easily migrate this setup to a local machine, then continue to use the server as my own cloud and public entry point. And further down the line, hosting a gaming server for friends. In terms of location, Sydney would be great.

Will a VPS do this? Or do I need bare metal? Is there a single service that will allow me to do both, with one billing? Or am I doing a Dunning-Kruger?

Thanks in advance for your hints.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 2 months ago* (last edited 2 months ago)

I think you're both over- and under-thinking this.

First: if you go with a cloud provider, your provider is your hypervisor. If they don't directly and clearly offer the features (import, export, Windows, etc.) that you need, they're not the right choice.

On the subject of exporting images from the cloud to use locally, eh, that's not the most common feature. It does exist, but I've never seen a provider that does it in a way that's not a complete pain in the ass and/or is simple to use one you have the image, which sounds like something you might actually want. Someone giving you a qcow image of your disk does not necessarily make importing it and getting it back up on a local KVM system easy, for example.

It sounds like half of what you need is a decent laptop (Windows in the cloud kinda sucks for any application that's got any sort of GPU-accelerated component, still.) and the other half is just a Linux server somewhere running docker, be it VM, real hardware, or some box sitting in your closet at home.

(Edit: clarification: you can get a Windows VM that has a proper GPU passed thru to it, but they're expensive and if you don't get a GPU, then you just have basically software rendering, which limits what kind of software you can reasonably use with reasonable performance.)

Nothing you mentioned about your "future home server environment" can't be run on a VM, but I would comment that you're looking at a pretty expensive route if you go the VM path. Nextcloud, for example, will want ~3-4gb of ram to not utterly suck and be useless. A full *arr stack with something like qbittorrent can happily eat another 4-5gb. Add in Plex/Jellyfin? That's another 2-4gb there, too. And so on.

You might actually end up spending less on a dedicated box than you would on a VM, simply because the pricing for things like RAM are usually substantially better for real, actual, physical hardware once you get past like, 4 or 8gb.

I'd also recommend going with a containerized install for all this stuff: I bounce stuff around between servers and it's just a matter of lifting the data out of the bind mount and moving it to it's new home, and then a docker compose up and we're done.

TLDR: Cloud maybe fine, bare metal maybe fine: it comes down to budget and comfort with what you're willing to deal with.