Colocation: Non-Clown Hosting
rachelbythebay.com
rachelbythebay.com
* In San Francisco, good old MonkeyBrains offers an off-the-menu, In'n'Out-style coloc deal: https://www.monkeybrains.net/colocation.php
Fun! If you're thinking of doing this, say so here, maybe we can all share an amp or two.
* If you just want to play with something that isn't an Amazon instance, and are not sure you want to commit to a >$50 a month server somewhere, https://lowendbox.com/ always has a few crazy deals.
* Never underestimate just slinging a box under your desk at the end of a consumer internet connection. I think people sometimes overestimate how difficult it is; I honestly think everyone should do it once, if only to get that visceral feel of being a peer on the global Internet.
CGNAT needs to be routed around, which means you need at least a "$5 VPS" with a routable IP address to bastion for you. If you monitor the word "wifi" on social media it's a pretty decent proxy for where CGNAT is prevalent. Used in a sentence, "we just got wifi at the new house."
I've written a couple guides on this and subjects like it; i've had to use squid in a datacenter to forward proxy my lightning detector at the house, otherwise it would never receive a heartbeat - even though it would auth and start trying to send data; i've bypassed CGNAT so i could host console "co-op" games (diablo III, for example); and i've "mirrored" my phone media sync to a colocated server as well, just to avoid trying to route around (triple?) CGNAT to my synology at home.
I'm understand that a significant portion of HN is on fiber or whatever, but not everyone has access to fiber, cable, or even - dare i speak it - DSL. CGNAT was mentioned as being prevalent in the UK and germany almost 6 years ago (for example.) I haven't had a non-cgnat ISP the entire time i've lived in Louisiana, and not for lack of trying. (at&t, t-mobile, at&t fixed wireless (x2!), starlink) I'm not paying >$5/month to solve the problem "but what if i want to self host a public service" to switch to business or whatever, either, that's ridiculous.
edit: also i have colo hardware; i write guides for people who either don't or don't know how. cool if tailscale works. wireguard does too...
5G yes; starlink, I think so?; geosynchronous satellite, I don't know, but probably. T-Mobile 5G fixed location internet does offer static IPs if you have a SMB account with an EIN, but not for home accounts or SMB with a SSN.
this is highly dependent on your location.
most isp's do not have enough v4-adresses for their consumer base.
It used to be rare in France, too, but now it seems to be spreading. AFAIK SFR, one of the major ISPs, doesn't even offer the option (paid or otherwise) to avoid it.
Edit: they do provide what looks like a fixed IPv6, though.
They realised they can sell the ipv4 blocks for far more and most consumers don't know any better or care. At least I keep my ipv4 adres if I keep the connection up (dhcp lease time is ignored, it is 4 hours despite dhcp saying 24). Asking for a ipv6 adres is like shouting into the void and waiting for an echo which never comes.
I run a server out of my bedroom with a TON of services on it. I used to use google domains + DDNS + nginx reverse proxy to manage it, and I still use that for two services that wasn't playing nice with cloudflare (jellyfin + tubearchivist), but now mostly use cloudflare tunnels. For the two services, I just pray my IP address doesn't change. For some reason, it doesn't.
But I never new I might be sharing that IP address. I've never had routing issues, does that mean I'm lucky? Is this like, a major security vulnerability I've exposed users (just friends) of my hosted services to? Maybe because I'm in Taiwan our ISPs just operate a lot differently? For example, not a single complaint at terabytes up/down every month.
If you're with those shitty resellers, you 99% will get CG-NATed. You pay 50% of the CHT price, but you get 25% the quality. You see this in large apartment buildings: They take Chunghwa fiber and resell it, NAT the entire building into the 192.168.0.0/16 block to save on costs, because IPv4 is $$$. Forget about IPv6 support. The bandwidth they have is oversold, so the 400M you bought might not actually reach those speeds during peak hours, unless you're lucky enough to be living in a new building where more than half the apartments are vacant.
I have some experience with the latter. Their support staff is often utterly incompetent, too.
* Everyone gets their neighbors favourite language in the search engine if you have a incognito session.
* Only about 32k sessions possible per adres. And yes you can claim them all and kill everyone's internet connection.
* All local ip's were interconnected and not firewalled. That was fun.
* You get banned or soft throttled everywhere due to "strange behaviour".
They were doing it on the cheap and fortunately got told it would void their contract if they did not provide something better and it was "fixed" after about a year. But during rush you would still end up maxing the 4gbit fiber uplink even with only a fast ethernet connection for everyone.
https://account.eppihost.com/order/colocation/
(I typically offer VPSes, but just added some colo options for my hosting services because of this thread, as you can probably tell by the package names I chose. The coupon only applies to colocation.)
This is true, but how many projects will routinely use enough bandwidth to matter? Unless you're streaming media, very little.
Keep in mind that cloud backups, P2P/torrenting, etc also uses upstream bandwidth substantially, and ISPs have come to terms with it.
teruakohatu asked why a colocation facility would have a mere 10Gbps link when a 5Gbps residential links are so affordable. If you tried to run a colocation facility on a residential link, it would spend most of the time severely throttled.
I lol'ed regardless. Bravo, and... I may look you up if OpenColo keeps irritating me. They have been surfing that line just below "irritated enough to move". They recently rug-pulled my whole IP block and forced a bunch of reconfig on me I wasn't down for. I'm still salty. Quadranet never did that to me in ~13 years with them. AWS neither come to that.
(Standard disclaimer: while supplies last.)
PaaS such as Heroku or Vercel, that's another story.
Yeah gearheads have a saying for that: first upgrade the driver then upgrade the car.
But: Raspis these days work 100% fine with SSD's, and while a small SSD is not yet as cheap as an SD card, it's not far off.
I have entirely stopped using SD cards for my Raspis for quite a long while now.
It's important to have an answer to that question, rather than to assume that being offline when your home internet is down is inherently a problem. You can safely estimate using "X nines will cost X digits per month":
1 nines, 36.5 days/year downtime is $#/month. (openwifi tier)
2 nines, 3.65 days/year downtime is $##/month. (residential tier)
3 nines, 9 hours/year downtime; are $###/month. (commercial tier, datacenter tier)
4 nines, 1 hour/year downtime, is $####/month. (datacenter tier)
5 nines, 5 minutes/year downtime, is $#####/month. (carrier tier)
Speaking from experience, it's both important to decide which 'nines' you require before you invest in making things more resilient — and it's important to be able to say things to yourself like, for example, "I don't care if it's down 4 days per year, so I won't spend more than $##/month on hosting it".
https://en.wikipedia.org/wiki/Bell_System
https://en.wikipedia.org/wiki/Xfinity
https://en.wikipedia.org/wiki/Verizon
etc.
The way we sliced up space for utilities (lots of legal shared monopolies/guided capitalism) and their desire to build the last mile in their area leads to many different prices and products within a walkable distance. Before that 500/30 service showed up the best we had was unreliable 200/15 from another provider.
Regular 1Gb/1Gb is around 40CHF/40EUR often.
https://www.init7.net/en/internet/fiber7/
they explicitly (used to?) market that they don't throttle but simply connect at line-speed "because we can"
Though the small cost is probably overshadowed by the large infra costs at home. So now you need a 25Gbp/s router, together with the rest of topology like qsfp+ switches, and then actually computers with >= 25Gb/s nics to make use of it. And then all the appropriate cooling for it. It’s starting to sound a lot like a home data center :P
"in the worst case" being the key point, and frankly, 20 Mbps doesn't actually sound too bad as the theoretical minimum.
In practice you're unlikely to hit situations where this is a problem even if everyone was hosting their blog/homelab/SaaS/etc.
This is only a problem (and your ISP will end up giving you hell for it) if you're hosting a media service and are maxing out the uplink 24/7. For most services (even actual SaaS) it's unlikely to be the case.
It wouldn’t work for high bandwidth hosting, but works fine for residential and for 4 simultaneous video calls mostly all-day long during COVID.
Obviously it'd still be a bad idea to run a high traffic server on a residential connection, but as long as you're not streaming 4K video 24/7 or something you'll probably be OK.
On the other hand you can get a nice enough dedicated server for 15€/month.
So yeah, if I'm missing something please tell me because I'd love to but I can't justify the price for hobby stuff.
Co-location has never scaled down to 1U very well, because of the overheads - you can't just let trust 40+ customers to slide their 1U server into the same rack without security concerns and/or losing lots of space, and having extra work with power distribution and networking that the customers themselves are responsible for with a full rack.
Just access arrangement for 40x more customers adds up in admin overheads, and colocation isn't really a tech play as much as it's a real-estate play similar to parking where the goal is minimum effort rent-extraction with as little staff as possible...
Regarding security aspect, as for what customer can do: you can bring your device and put it in shared rack while support personnel accompanies you. Power/Ethernet and if keyboard/screen is needed will be managed/connected/wired only by support staff.
One can rent a whole rack if you want dedicated access. And 1/2 or 1/4 racks are available if fullsize is not needed.
That the price for 1U will tend to not be very competitive with renting dedicated servers (I can rent a server including hosting for that price) because the overheads to the provider of subdividing that 42U rack adds up. The point wasn't that the security can't be dealt with, but that dealing with it is one more thing that contributes to a higher cost per U if you rent 1U than if you rent quarter rack or more.
The admin for those arrangements is pretty simple really. Even if you’re providing supervised access, it’s not going to be much work. I run several small colo deployments like this, and I probably only visit the sites every couple of years.
From the DC perspective, the biggest costs for providing colo are power, AC (which is mostly power), network and real estate. Supervising rack access is a very small line item in their accounts.
As for power, and network, it's often charged separately, and you will still find the 1U vs. full rack difference then. Sure, you can to some extent perhaps assume a slightly lower load factor for customers that rent a full rack, and that may contribute too.
But the point remains: The person above me should not be surprised that renting space by the 1U slot is expensive.
This blog post mentions parking an old switch with a derpy little raspberry pi.
Also, what makes colocation something for businesses is cost. The likes of Hetzner also sells colocation, and nowadays you can buy a used rack for around $100.
Moreover, today's COTS computers are not like your parent's. A mini PC selling nowadays for peanuts has gigabit Ethernet, 16GB of RAM and half a dozen or so cores. You'd pay a small fortune for servers with those characteristics in the early 2000s, and nowadays that hardware is used to check emails.
Oooooh, they do ! 120€ for 14U, now we're talking ! It's in Germany of course...
I think that indeed my problem here is that I live in too expensive a place, expensive for me, expensive for my servers ><.
This blogger has weird preferences and money to burn on them. Doesn't mean it's a sensible way to do things if your main aim isn't reminiscing about being a '90s-'00s sysadmin.
I don't know. Spending $100/month on colocation costs is hardly a tophat-wearing level of expense. I recall reading from the old Reddit-to-Lemmy migration discussions that some self-hosting instances were costing that much on AWS, and they are still up.
For perspective, we're in an internet forum where from time to time we get posts of users spending thousands on their home labs.
I don't know. Might be, might be not. All I know is that there are already companies that are even selling colocation specifically for Raspberry Pis. It's not that weird, and not a step too far away from colocating Mac mini instances.
Turns out it's cheaper to let the colo facility buy all of the same hardware and have full control to it.
Who would have thunk
It's got to be cheaper to have me as a customer when I never show up in person, and don't even know precisely where the server is. For a colo, they need to provide me with access, and supervise me when I visit, and put up locking cabinets (and make sure they aren't all keyed alike!), they'd also need to be able to meter power, etc.
There's definitely reasons to colo instead as a customer, but usually it's lots of hardware, or specialized hardware, or sometimes if you have networking needs that the host won't accomidate in dedicated; maybe you want to run an ASN and have direct connections to other peers / transit / IX.
What kind of "dedicated server"? When you colocate, you have full control over the choice of hardware, meaning you can stuff 200TB worth of hard drives and 512GB of RAM into a machine and pay a few hundred dollars max for it. Good luck finding someone willing to rent out a dedicated server with those specs for the same price as the colocation.
As a data point, for two 1U servers co-located in Australia I'm paying about AU$500 per month.
If these two servers were low spec, then that would be more expensive than just renting dedicated servers.
But I can put whatever spec servers fit in those two rack units, including things with quite a lot of ram, quite a few ssds, 10GbE+ network links, etc.
Doing the same thing as that with dedicated servers would be quite a bit more than the AU$500/mo I'm currently spending.
---
As a data point for anyone interested, those two servers are running Proxmox and host a bunch of (Linux) VMs that provide online services. Live migration (etc) between them works fine, etc. :)
We're using this crowd, and they've been really good: https://www.ransomit.com.au/colocation/
Would recommend. :)
I'm not sure how much power is included. They asked for the specs for the servers, which we provided, and they gave us the above quote which we took them up on.
That price also includes some extra stuff. An IPv4 /28, and dedicated VPN for the IPMI/iDRAC ports on the two servers.
Each 1U server seems to idle at just over 100W, though when they get busy they ramp up to several times that.
Cheap dedicated servers are usually very old and buggy hardware. With colocation, you can actually install some very good server hardware (pick up some good refurbished stuff rather than buying new)
Ladies and Gentleman's it's about time to show the real purpose of homelabs and get paid for the ownership instead of paying third parties, it's about time to use modern logistic to work in a decentralized world instead of insisting with the old mainframe model renamed cloud.
Imaging this world and how any remote worker in his/her own home could be a single-person company in a thriving society, instead of a flat+vertex one where most own nothing and smile like Canon workers in China https://www.theverge.com/2021/6/17/22538160/ai-camera-smile-...
A company can simply develop their own decentralized infra, hosted by their employees. If it will need more it will also have money to buy sheds with p.v. and storage with good enough fiber links to have their own small datacenters.
If you really try to draw a big picture, we actually waste immense computing resources just to commercial evolution needs, to go "autonomous" we need to avoid copying the bad commercial model but introduce a better one. Declarative systems are MUCH better, with much less attack surface, easy development, documented evolution, ... they are not "a FLOSS version of $giantname solution", they are another paradigm.
Similarly we should avoid working on VDIs which is the giants way (let's say Amazon Workspaces, Windows 365 etc) so not going let's say Guacamole but going on bare desktop computing syncing just files, using logistic to send iron, configuration management to manage it from remote etc. We should avoid NextCloud/other clones of giants webapps to works instead locally with different tools, let's say do use R/Python not a spreadsheet. Use email with a modern MUA (we currently miss, for non techie) not a web app for development and so on. Not trying to mimic someone else paradigm but proposing a new one better fit for our purpose.
I think it could be done with k8s but maybe not. And websites are the easy model as they don't require a permanent connection between "server" and client, with things like IRC it should start being fun.
A day their business goes bad, they still own the iron, they can sell if as a service for others who need computing power for a short period of time or they can reinvent themselves in something else because they still have something tangible behind them, not a rent of someone else resources. That's the model.
One thing I wonder is if they will simply turn one office room into a co-low space - where it’s easier to drive to, it’s simpler to manage. Because cloud first is a rubbish solution for most people - just have a server with a TB of disk and most companies can live on that happily running away in the corner.
And there might be a growth for companies that have expertise in the basics of racks and HVACs just to run that room for them.
It’s not surprising I guess, office buildings often(?) have one or multiple server rooms, backup power or generators, maybe even redundant networking.
It looks like "my garage" is cheaper by far even when I include installing an HVAC system and 3 phase power when I look at yearly costs for a spot with 20kW's of power.
This isn't true though for computers. It's trivial (ish...) to turn an office floor into a datacenter. I know because that's what the company I worked for did. It's nice, because our servers are literally an elevator ride away.
Related post A terrible way to jump into colocating your own stuff (184 points, 1 day ago, 126 comments) https://news.ycombinator.com/item?id=41622653
We explicitly didn't grant customers "root" access unless they requested it. This both made it easier for us (less cleanup when a customer mucks up the setup) and for some customers)(no easy way to mess up your installation). Most people just wanted a managed deployment of their PHP app, a webshop or WordPress and this worked well.
There are three things I'd recommend though that the articles kind of gloss over:
* get reasonable OOB access as a priority
* get real server hardware
* set up backup on day 1
OOB access can be as simple as a serial console server that your colo provider lets you access (most modern servers still have DE9 serial ports!), but ideally you want server hardware with an IPMI. It is fantastic for saving you from the 'oh no, I just firewalled myself out' problem (my colo provider is about an hour away, I don't want to do that trek on my weekends!), and with a proper IPMI you can boot from an ISO file over USB to do things like OS upgrades/reinstalls/recovery or firmware updates with ease. I personally have a Mikrotik router doing WireGuard for me to connect to for remote access to secure the IPMI behind a VPN.
Real server hardware saves you a ton of time & money in the long run for less upfront cost than you think. There's a lot of options - HP/Dell for more traditional choices (incl on site servicing options), Supermicro are well established, and there are more recent challengers that are putting out reasonable hardware like ASRock Rack. You should expect to buy this in a B2B fashion - you'll probably talk to/email a salesperson, but I've found I get ridiculously better pricing this way than buying online. As a bonus, you get an IPMI, ECC RAM that works, hot-swap drive trays, etc. In my experience, this kind of hardware really rarely fails - it's designed for 24x7 usage.
There's lots of backup options. You might push to something like Backblaze b2, use someone like BorgBase, or push backups to home. I have a home server with a bunch of hard disks, so I do a mix - I use borgbackup & push my backups daily to both my home server and to BorgBase.
My personal colo right now is an ASRock Rack EPYC 4004 barebone with a 12 core 24 thread CPU, 128G of RAM, 2x 2TB NVMe SSD, 2x 4TB SATA SSD, another 2x 2TB SATA SSD. I use quite a bit of the storage, and I use it to self-host a bunch of useful things - eg GitLab, CI, email, containers via Docker, side projects, the odd game server for playing things with friends. Adding up what those would cost me to host individually via VMs, AWS, GitHub subscriptions, etc makes paying for colocation an option I'm very happy with!
I have a few friends using https://www.ukservers.com/ and https://www.veloxserv.co.uk/ who are more reasonably priced.
I've also used m247 in the past, but had terrible experiences with them since they were acquired by private equity - network & support quality went really downhill.
For servers, I use https://serverfactory.com/ and https://www.rackservers.com/. As is typical for this kind of thing ignore the online pricing and email in - you'll usually do rather better, but they'll want you to pay by bank transfer.
edit: being outside of London means power is a lot cheaper, but I get about an extra 2ms of latency to my server. I consider that a reasonable tradeoff :)
It's been a consistent part of my career since 2007 and I'd hate to not have it. Homelab is great, but spinning up your own VMs, architectures, all of it... is a superset of that same satisfaction.
A $400-$600 workstation PC and a 400/40 connection with static IPs worked great for our first couple years of development.
Still a step above schlepping your own hardware, but it was still the cheapest Debian VM I could find by about a factor of 2. (Admittedly, I didn't look too hard, let me know if you know a better one.)
https://hiandrewquinn.github.io/til-site/posts/common-sense-...
personally I found the $4 DO droplet underpowered.
Tradeoff: It's hosted in Germany only and the website is pretty bad.
1) Our server is at least 5 years old but you are still paying a high monthly charge. We have probably paid back 5 times its cost already (I know this includes power/air-con etc)
2) Even a recent quote for another 256GB RAM was quoted at $1200 install and $300 PER MONTH!
3) We find that the support are not quite good enough for anything other than the basics. We had a network performance issue that we insisted was something in their infra and they denied it, it was only after I used Wireshark to prove the problem that they finally found it. YMMV of course.
4) We run some test Hypervisors and then only support Windows + Hyper-V (or VMWare on their "cloud"). I don't mind Windows except the monthly Windows updates are very slow and tedious and require VMs to be shutdown.
5) We are getting performance issues because ultimately, each Hypervisor has one disk (might be RAID1) and 10 VMs all writing to it, this seems to have affected throughput, particularly on build agents which write a lot of stuff to disk.
On the plus side:
1) We get 24 hour support for major outages, whether caused by them or us. They obviously can't fix anything we have broken but we at least have someone to call if the network seems to have gone down, for example.
2) We can have additional equipment run up reasonably quickly without having to purchase it or go to site.
If we move to co-location, we can probably get an amazing server with 4 disks and 1024GB RAM for less than $10K, run Xen or Proxmox on it and get much better performance, although whether they would charge much less is the question. I don't know how many co-loc providers want people with only 1 or 2 servers, I guess they prefer the big corps who want to move 10 racks worth of stuff there.
One of the more crazy ones was that I just buy a home in Utah that’s rural ish to be cheap enough but also near fiber. Hard but there are some options.
Anywhere with a major internet exchange is likely to have lots of options. If you don't know where those are, you can just look for cities with Equinix locations. Equinix isn't cheap, but some will have a warehouse on the cheap side of town with fiber to Equinix and you can rent a cabinet from them.
They even had a $400/halfcab option earlier this year. Pity I didn’t jump on it.
Is there a hoster that offers hard pricing caps or maybe prepaid plans? The background is that I would like to give my kid a way to play around without worrying about the bill, even if that could mean being blocked for the remaining part of a month after allocated resources are exhausted.
We are using Neocities at the moment, which is great (thanks @kyledrake) but we are outgrowing it, especially since at some point you need a real backend.
When I learned web, I self hosted and could use university resources but today I find it hard to find a risk free environment for experimentation.
To be clear: I want to pay for our traffic and don't want to free ride, but I want the failure mode to be "we cut you off" and not "we'll send you the bill later (possibly much later)".
If you want to run an API, slap a Go executable on an EC2 or ECS instance.
Another one of the primary advantages of cloud services is the ease of scaling. In a colocation environment, scaling up often means purchasing new hardware and physically installing it. How do you address the scalability needs of rapidly growing applications or services in a colocation setup?
> If this is old hat to you, great! It means you're probably a grizzled 1990s sysadmin just like me, consarn it! This isn't for you, then.
> This is for the newer folks who might not have realized that there's an alternative to paying tribute to one of the three churches of the Clown: M, G, or A. If you want to "get your stuff online", there are other ways... and there always have been!
If you don't realize that self-service and managed-tier datacenters exist, you can't properly investigate, calculate, and compare TCO — and certainly the cloud providers aren't going to bring up datacenters unless they have to.
That still going to be more expensive than a dedicated server, but it's much closer. If you have cyclical traffic patterns and other elastic workloads, the gap can be almost non-existent, even without considering personnel.