Adventures in Oracle Cloud – Almost Like a Mini-Tutorial

Hey.

It’s been awhile, hasn’t it? Well, to put things short, some lowlife ransomware scammer got to my old server, and I was pretty lazy about backups at the time, what with everything else going on in my life. And much as I always do, I take forever to get around to anything. In this case, probably about on the order of two years. As a matter of fact, the inspiration to even put something here for real came just last night (well, the night before I started writing this, because again, it’ll probably be days or more between when I put the pen to the metaphorical paper and when this is actually live). And while I could reclaim all of my old content by meticulously copying and pasting it all from a very well-kept archive over on the Wayback Machine, I’ve actually decided I just don’t want to. A lot of that content reflects me as I was back then. And I’d like to think I’m a different person now than I was then. In the interests of preservation of my own personal history, and of transparency, I’ve linked to that archive anyway. But I think that short-sighted scammer didn’t realize something. Maybe I needed a push toward a new start. They set out to ruin my day. Instead, they helped me learn a set of important life lessons. And this new space, much like the proverbial phoenix, has risen from the ashes of those lessons.

Then what, pray tell, led to the sudden inspiration to create a new blog yesterday all of a sudden? Quite simply put, it was some random reddit discussion, that I’ve already lost. I often read up on the state of ARM servers. It’s an architecture that’s come a long way since powering the “toy” devices I fondly remember from when I was a kid, such as my old Dell Axim. To see it powering a “real” computer, like the MacBook Pro I’m currently writing this on, has been quite a journey. And I think my childhood memories lead me to root for what was once this underdog, to fulfill some dream of my childhood devices having “grown up” much like I have. While in one of these discussions, someone had mentioned Oracle Cloud’s free tier. Now I’m probably not as well-read on these events as I’d like to think I am, since I honestly had no idea Oracle was even a cloud provider. I use AWS at work, but avoid it for any personal project due to the fact that it seems to be the most expensive player in the game. For a personal project of mine that I’ve shelved and unshelved multiple times over the past couple of years, I use Google Cloud. Mostly sitting idle on there, it costs me about $40 a month.

Maybe the fact that it’s such an underdog that I wasn’t even familiar with it is exactly why Oracle offers such a generous free tier. Of particular interest to me was their compute offerings. They offer two AMD-based boxes, each with one virtual CPU and 1GB of RAM, free forever. Much more interestingly, they offer an ARM-based box with up to four virtual CPUs and 24GB of RAM, also free forever (though it’s a bit harder to get your hands on – more on that later). It’s also a bit “higher-tier” in general – here’s a speed test result from the AMD instance hosting what you’re reading now.

I got started yesterday by signing up for my free account, then slowly navigating OCI’s somewhat cumbersome web UI. I then attempted to spin up the ARM-based holy grail that I was seeking out – to no avail. I tried tweaking my settings over and over, only to receive availability errors each time. Finally giving up, I attempted to spin up one of the AMD-based instances to see if those would actually work. Work, they did. However, my next actions also ran into issues. Given that managing a Linux web server tends to be a bit cumbersome without some sort of tooling – think cPanel from ye olde days, my next goal was to install some kind of web-based admin panel on the thing. After many failed attempts with many panels, and having to trash the server over and over again, I then made a realization. I have two of them. Maybe I can take advantage of this. So I then established one of them as a “dev environment” where I can try things out and trash as necessary, while only bringing things over to my main environment as they’re ready. With this in mind, I eventually managed to get the Hestia Control Panel set up on the dev box. Except for some reason, it would hang indefinitely and not load. Eventually I realized it’s probably a firewall issue. Fortunately, I eventually located a solution. Okay cool. I have my dev box, and I now have some good tooling to manage it with.

Next up, how should I best go about installing WordPress on it? Turns out it has a built-in installer for several common software packages, with WordPress being one of them. I tried, and failed at first, to use this function. After doing much additional research, it turns out that the built-in admin account has several limitations. I’d created my own account, but in an attempt to be able to manage the default site it created from it, I’d changed several settings. The relevant one here was I’d assigned the system package to it, which essentially makes it act like the built-in admin user. Once I removed this setting, I was able to run the WordPress install pretty effortlessly.

It seems like WordPress has changed a lot in the years since I’ve used it last. I tried and failed to rescue my old theme, and, failing that, chose to just go for a new-ish look. I eventually landed on the Spacious theme I’m using now, with a large number of customizations. It feels familiar, yet different. And here we are! It feels good to be back.

Oh, right. What of the ARM box I’d originally sought out? I randomly tried again to create it tonight. No luck. I tried another availability domain, fully expecting it to fail again as it had the night before. Except I was then greeted with the typical provisioning processing screen – success! As I’ve already indicated, I’m not hosting this site on it. It’s kind of overkill for my humble personal nonsense. But I’ll probably use it for other fun, random endeavors. It seems like it certainly packs a punch at least!

So I’ve got some new toys, and they’ve cost me absolutely nothing. Hopefully if you’re reading this, you can find some inspiration for your own setup here. And hopefully in the coming days, I can find the inspiration to actually post more stuff here. I’ve got this space – I’d may as well use it, eh?