Webserver Migration - 2020 Edition


haloman30

Howdy, folks!

 

You may have noticed that the forums were offline for a bit today. That's because today was the day of... The Big Move™. And by that, I mean that today was the day we migrated away from InMotion Hosting.

 

But why? Why the sudden webhost migration? Well, if you've been active on the Discord - you'll know this wasn't sudden at all. This has been the plan since earlier this year. It just took until fairly recently for it to become feasible - or at least, seemingly feasible.

 

Why We Moved

 

As great as InMotion has been considering how much we paid for it, they've become increasingly frustrating to work with. On more than one occasion, I would get an email in my inbox telling me to remove a handful of .zip files. You see, according to their ToS, you aren't allowed to use the webhost for anything other than a website and email. Hosting files or other content that isn't explicitly part of a website doesn't fall into that category. I was at first unaware of this - because let's be real, nobody reads the ToS. Luckily, they don't just instantly shut your account off if they detect zip files. You get 48 hours to remove the files and only if you fail to do so afterwards are you at any risk of account termination.

 

At first, this was still a pretty fair thing. It wasn't every single zip file, rather it was just a handful of larger ones - usually world archives. By the time this started to come up, I'd already had a subscription to OpenDrive, which gives me unlimited cloud storage for a mere $100 a year. So - I just moved everything over there, and while it took a while (especially to upload), it was done and things were good.

 

But of course, if that's where it ended, we wouldn't be putting up a topic saying we'd moved away from them, would we? No - this continued to become more and more of a problem. What started as requests to remove 20-50GB archives later turned into 100-300MB archives, and later did in fact turn into every single .zip archive on the entire host.

 

The last email I got about excessive "backup content" was one listing 196 different files, many of which were only a few megabytes in size. A select few were larger - but some of them were so small that they were even less than 1MB.

 

This wasn't the only issue I'd had with them. Additionally, performance had become a recurring problem. Now in fairness - this is undoubtedly in part due to poor optimizations on my part. There's likely stuff I could do to improve things. For a while, the banner images you'd see on most pages were at 4k resolution, and in PNG format. Many of those were later downscaled to 1080p JPEGs, which somewhat helped.

 

However, one of the biggest factors with the performance of the host happened to not be large images used in various places - but rather, resource limitations on the host itself. Not disk or storage limits, mind you - one of the best things about InMotion was the unlimited everything. Turns out, the CPU usage even during a single page load was being maxed out. The poor response times were a result of the machine itself being stressed and strained.

 

Now, you might be wondering - why not just make a ticket? I could've theoretically made a ticket with them, because it's entirely possible the CPU usage had little to do with my own site. And this comes into the other issues with InMotion - it was a shared host.

 

For smaller or simpler websites, there's absolutely nothing wrong with shared hosting. All the hard management stuff is taken care for you out of sight - all you worry about is the content itself and that's it. Things just work - and that's the beauty of it. It worked for us for a while too, and it perhaps could've continued to do so going forward. However, when running under shared hosting, if someone else is hitting the CPU hard for whatever reason, that'll start to affect you, too. It's all under the same machine - hence the term, "shared" hosting. You can get dedicated hosting to work around this, but this tends to be much more costly.

 

The common thread interleaved between these issues all center around one thing - ownership and control. And that's precisely what this move was designed to fix.

 

Our New Home

 

So, where did we move? What hosting company did we go with? If you're active on Discord you already know the answer, but if not... nobody. We aren't hosted with any 3rd party company. For the first time in CU's history since 2015, one of our services is running off of owned hardware. That's to say, hardware that is itself entirely under ownership and control of CU.

 

I've upgraded my home internet to a business plan with faster speeds (at virtually no increased cost), rebuilt my old AMD FX-8370 desktop, hooked it up to my TV, and went out and bought a single-user cPanel/WHM license and got everything set up. The only stipulation with that single-user license is that it runs in a virtual environment - which it does. However, I am in full control of this virtual environment and it's got plenty of breathing room to work with - so any performance/latency losses from virtualization should be negligible.

 

The system is setup to have automated backups, and I'll be getting it setup to periodically upload them to OpenDrive as well for added peace of mind, as the website is one of those things that we've been negligent to back up regularly. Along with that, it's got two 2TB hard drives that are mirrored - so it's also safe from any potential hard drive failures as well.

 

Now - full disclosure, this is partially an experiment in a way. It took a lot of tinkering and many days of slamming my face into my desk to work out some of the kinks with the whole setup - but things should be running smoothly now. Even so, I fully expect bugs to crop up just because of the fairly different system being run. Along with that, I'm also in the middle of sorting out stability issues with the FX board itself. But don't panic - I've got a backup board/CPU if it turns out that the FX (or the board it's on) are faulty. The issue at this time appears to be a faulty RAM stick - which has since been removed and the server has been stable ever since, but we won't know for sure for another week or so. If the site does happen to go offline, I can assure you it'll come right back online as soon as possible. And, in the worst case scenario - if running this stuff off of local hardware turns out to be completely infeasible and just isn't working out, I'll be holding onto the InMotion host for a while still - so that if we ever have to move back over, we can.

 

But, as of now - everything seems solid. DNS works, Email works, the forums and website both work, everything seems to finally just work. If you find something that goes against that - don't hesitate to report it on the bug tracker. If the site happens to go offline for an extended period of time, ping me or DM me on Discord and I'll get it back online once I see it (likely after doing some hardware maintenance if it turns out the machine froze again).

 

Oh, and be sure to let us know if the site is any faster than before. It should be a little faster, but there's still one more hardware upgrade that the machine needs - so it won't be running at full speed until then.

 

Otherwise, if no issues arise - that's it. We're moved onto what will hopefully be the new home of the Chaotic United, Elaztek, and any other websites for the foreseeable future. And this time, there's nobody to tell us what content we can or can't have on the site. No arbitrary rules on zip files or having too large of files. The only one who has any say in what we do with the CU website, is us.

 

And damn does that feel good.

 

Just as a sidenote, I'm not intending to throw any shade at InMotion. They gave us pretty decent hosting for 13 bucks a month. Unlimited disk space, addon domains, email accounts, and so on. The performance wasn't great - but even then, when it's that cheap, it's hard to argue with it too much. If you happen to be wanting to host a site of your own, don't let my words against shared hosting scare you off of it. For simpler stuff or for people just getting started, shared hosting is affordable and relatively easy to use. It served ourselves, Nuclear District, and the old CU well for many years - we've just decided we want to take things into our own hands now.

 

Anywho, that's all we've got for this one folks! Apologies for the downtime - though to be honest, it didn't last nearly as long as I was expecting. Overall, the migration went about as smooth as I could've asked for. Be sure to let us know if you run into any issues on the site.


Forum Topic

This announcement originally came from a forum topic. To view the original topic, visit the link below.

View Original Topic



User Feedback

Recommended Comments

There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now