Is oracle-base.com hosted on Oracle Cloud Infrastructure (OCI) now?

For many years my website and blog have been hosted on Amazon Web Services (AWS), but recently things have changed.

My Hosting History

I started life on a shared hosting platform and after a few years I got an email saying they were kicking me off because I had too much traffic. They were cheap and were expecting most of their websites to get no traffic, and so they charged very little. When they noticed how active my website had become they shut me down.

I moved to another hosting company that claimed unlimited traffic. After a while I got kicked off by them as well. They meant it was unlimited traffic as long as you had no traffic. πŸ™‚

That time I moved to a dedicated physical host. This was expensive and worked pretty well for a few years, but eventually the hardware was going out of support, so I was forced to rebuild. Rather than rebuild on physical kit I chose to try hosting the website in the cloud. At that point the only real choice was AWS. Azure and Oracle Cloud existed, but AWS felt like a safer option, so I chose that route.

AWS was a lot more expensive per unit of resource (CPU/RAM) than a physical host, but because it was elastic, I was able to provision everything very small, knowing that it could easily expand if I needed extra resources. With the physical host I had to buy enough headroom in advance to allow for potential growth. So I ended up paying about the same on AWS as I did for the physical host, but technically I had a lot less resource on AWS. That was fine. It was an experiment. πŸ™‚

I can’t remember exactly when I switched to AWS, but in a blog post from February 2016 I mentioned I was planning to try it. So I guess that was over 8 years ago.

Why move now?

My AWS compute instance was running Oracle Linux 7 (OL7), which switches to extended support in December, so I had to do something.

In my real job I’ve been pushing hard to get our servers migrated from OL7 to OL8 or OL9, depending on vendor support, so I was fully aware it needed to be done.

Why OCI?

Despite being so single minded at work, for my website I was kind-of paralysed by choices. Do I switch cloud providers? Do I try a different Linux distribution? Do I change the tech stack? I literally spent months in denial, unable to make a decision. Then I just snapped and decided it was OL9 on OCI, and I would continue with the LAMP stack. It ended up being such a quick decision, that I was amazed I had spent so many months fretting.

I’m sure Oracle would like me to say I chose Oracle Cloud because it’s the best, but I really did it on a whim. Time will tell if it was a good choice. πŸ™‚

What did I do?

A few weeks ago I started putting together some Terraform to build the kit I wanted. It was mostly just variations of the Terraform articles I’ve written before. I noticed a few things have changed since those articles were first written, so I had to do some updates to some of them.

With the kit built I was planning to do the configuration using Ansible, but I quickly decided it was a bit pointless. I do this so infrequently that it really doesn’t make sense to invest the time to make a perfect build solution. Instead I just wrote some shell scripts to do everything I needed. Cheap and cheerful.

I had documented my AWS build from 8 years ago, so some of the VM config could be repurposed for this. There were some changes because of the move to OL9, but it was close enough to give me a head start.

A few days ago I did the final transfer of the files and database contents, pointed the DNS to the new location and it was all done.

I waited a few days then started to remove everything from AWS.

Cost?

I really don’t have a clue at this point. One nice thing is some of the components are covered by the Always Free license, but that’s mostly for the cheap bits. The most expensive bit is the compute, and what I’m using is not part of the free tier.

It’s possible I could leverage a couple more of the free tier components to make things cheaper, but I guess my willingness to do that will depend on what the bills look like after the first couple of months. Maybe there will be a phase 2. πŸ™‚

Thoughts

I’ve been playing with Oracle Cloud and OCI for a few years now, so there wasn’t a learning curve to worry about. I think doing the rebuild on AWS or Oracle Cloud would have involved a similar level of effort, because of my past experience of both.

There is a big sense of relief that I’ve got this done before the OL7 deadline, but what happens next really depends on how I feel over the next few weeks, and what the bills look like.

Having the rebuild fresh in my mind and with new documentation of the process, it would be very easy to switch back to AWS, or have a go at moving to Azure. πŸ™‚

Cheers

Tim…

General Website News

Hopefully you won’t have noticed, but there have been a few changes to the website over the last week.

I started the process of moving to Bootstrap 4 and FontAwesome 5 when they were released, but kind-of lost momentum. This stuff is a “necessary evil”, rather than something I’m actively interested in. A couple of early trials proved it wasn’t just a case of using the new versions. I had got about 90% of the way there, but couldn’t force myself to complete the last bit.

Recently I had some advice from a couple of people at work who know more about this sort of thing than me. They quickly pointed out some glaringly obvious flaws in what I was doing, which focused me somewhat. I finally bit the bullet over the weekend and flipped to the new versions. There were a few “interesting” things along the way, including me forgetting to style CODE and PRE tags, which are kind-of important for a website that is almost entirely about code samples. πŸ™‚

I’m sure there will be tweaks over the coming weeks, but I think it’s sorted now. I’m guessing if I hadn’t mentioned it, most people wouldn’t know it had happened. πŸ™‚

Much as this stuff is “not my thing”, but it is good to keep an eye on how things change over time. I now know enough to know I don’t know enough though… πŸ™‚

Cheers

Tim…

Happy Birthday to oracle-base.com (sort-of)

birthday-cake-clipartToday is another anniversary, but this time it’s the website, which is 15 years old.

OK. This is a bit of a cheat because:

  • The website originally had a different name, so you could say the website with it’s current name is 13 months younger, but it’s the same site, so whatever.
  • I don’t actually know the exact day the first page went online, but I do know the date I bought the original domain name (before the rename to oracle-base.com), so I know the first page was put up about now.

Anyway, July 3rd is from now on the official birthday of the website. Makes it easy to remember, because it’s the day after my birthday.

Cheers

Tim…

PS. For those that are interested, the blog was 10 years old last month. I do know the exact date for that because the posts are dated and you can read the first post. πŸ™‚

Updates a plenty…

Someone commented recently that I’ve not been writing much lately. That surprised me because I feel like I’m constantly writing. Looking back over the last few months of changes to my website, I can see where that opinion comes from. The majority of the stuff I’ve been writing recently are updates. Typically what happens is I answer questions by linking to articles on my site. This invariably forces me to read through my old stuff and cringe. It then goes on my to-do list.

Sometimes the changes are cosmetic. Sometimes they are total rewrites. Sometimes the rewrites are because of product enhancements, but other times they are because I now realise how little I understood when I wrote the initial article. As usual, the more you know, the more you realise you don’t know.

New versions of the database prompt new features articles. New OS releases often prompt a batch of installation articles. The “quiet” times between are often spent cleaning up the crap. πŸ™‚

So just because you don’t see a bunch of articles on the front page marked as new, don’t assume I’m doing nothing. The is always a touch of light (website) housework going on… πŸ™‚

Cheers

Tim…