|
Register | Sign In |
|
QuickSearch
Thread ▼ Details |
|
Thread Info
|
|
|
Author | Topic: Moving to Cloud Server | |||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined:
|
Some of you might have noticed that the website was down for around an hour or two earlier tonight and might be wondering what happened.
Well, it was just your typical Saturday evening, my wife cooking dinner in the kitchen, me tending the fire and doing just a little pre-dinner scan of the op-ed pieces, when the website went down. Not to worry, sometimes the Apache server goes down, just have to restart it. So I go to the server's control panel, but it's down, too. That usually means the server itself is down, that it's crashed. This doesn't happen very often, and in fact it hasn't happened in at least a couple years, but after a couple years of continuously running without a single reboot (one of the huge advantages of a Linux server over Windows) it was overdue. I had set up a server monitor with the webhosting company to send me an email if the server goes down, and normally I don't check for this email, I just make a reboot request, but this time I decided to check the email now. There was no email. So I went to the webhosting company's control panel for my server and checked the server monitor. It was set to use my work email, but I'm retired now and haven't used that email in a while. I have a gmail account for my alternate email. I updated the email address and then waited for five minutes (the monitor checks that your server's up every five minutes), but still no email. So I opened up a chat with the technical services department of the webhosting company, asking why I wasn't getting any email notification that my server was down. I also submitted a reboot request through the control panel. The chat guy said he'd be glad to help me, just give him a minute to look into it. When he came back he said he couldn't reach my server and that he'd have to switch me to the technical services guy on location at my server's site. But a few minutes later he came back and said he couldn't reach the technical services guy out there, that he must be in the server room. Then a few minutes after that he said that ticket #623075 had been opened for me and that I should monitor that for my server's status. So I go back to the control panel and check the ticket status, and the technician says:
quote: I append to the ticket, "Uh-oh. This doesn't sound good." A few minutes later he replies:
quote: I append to the ticket, "Pardon me if I'm amazed. Aren't servers of my type more than 10 years old?" He answers:
quote: The Conroe is an old model server they used to lease out, but still very capable, 4 processors, 4 GB memory, 200 GB disk, very nice. But they don't make them anymore, and it sounds like they're cannibalizing old Conroe servers to keep the ones still in service going. So we lucked out and EvC Forum marches on! A few months ago I looked into moving from our old server into the Cloud, but we need a minimum 2 GB database, and no one could answer my question about how big a database they let you have in the Cloud, so I didn't pursue it any further. I think maybe it would be a good idea to look into this again. Edited by Admin, : Renamed thread from "Dodging a bullet..." to "Moving to Cloud Server".
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined: |
Time problem should be fixed.
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined:
|
Just some brief status. The cloud server is all set up, has been for a while, but I took a hiatus as we got closer to Christmas. As part of the testing I've just now set the cloud server to use the database on the old server, making it possible for me to post messages from the cloud server to the discussion board, which is why you're seeing this.
Here's what will happen when I'm ready to switch over to the new cloud server:
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined:
|
We have switched over to the cloud server, though there may be some with straggling root servers that are still using the old server. You can tell whether you're using the old server or the new cloud server by looking at the address box at the top of your browser. If it begins with "http" then you're still using the old server. If it begins with "https" then you're using the new cloud server.
Why "https" instead of "http"? The "s" on the end stands for "secure". All interactions with the website are now secure. The possibility of any data being stolen is much diminished, including passwords. You can still access the website using "http". The software will automatically switch it over to "https". You can also access the website as just "evcforum.net". The software will automatically switch it over to "
EvC Forum: Home Page
".
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined: |
I just noticed that YouTube videos posted before 15 minutes ago aren't displayed because the software used "http" instead of "https". I'm going to fix all old messages in the database to use "https" for YouTube.
Post a note to this thread if you notice any other issues.
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined: |
YouTube problem is fixed.
Again, please post a note to this thread if you notice any issues.
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined: |
The vast majority of YouTube videos now have a 16:9 aspect ratio, so I have changed the [utube] and [youtube] dBCodes to also have this aspect ratio as the default. The actual pixel size is 599x337. Naturally you can specify any size you want. For example, this [utube] code produces a size of 400x300:
[utube=4XB2wKAjaVQ,400,300] See the dBCode documentation on the [utube] and [youtube] dBCodes for all the details on how to use them.
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined:
|
The cloud server is faster and more reliable. We don't actually possess an actual physical server anymore. There is no EvC Forum dedicated server that physically exists and can be removed from the rack and placed on a lab bench like the old one. What we actually have is a set of resources in the cloud: 4 cores, 4GB ram, 160 GB disk. It can handle more data then we could ever generate. Even after nearly 20 years of messages the EvC Forum database only takes about 1% of total disk space.
Because we don't actually run on a specific machine we're protected against crashes - each request is funnelled to the next available cloud server. If a cloud server handling an EvC Forum request crashes then that request might be lost, but the website remains up. The crashed cloud server will automatically reboot and be ready to handle the next request, which could be for any website. If the crashed cloud server has a more serious problem it can be removed from service, fixed, then returned to service. Managing a server in the cloud is both harder and easier. There are more options, but more functions are automatically taken care of. For example, OS and server control panel upgrades should be automatic. Note that we're now a secure website (uses https instead of http), and accomplishing that on the old server would have been more difficult.
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined: |
Yesterday I installed an automatic firewall. It detects repeated failed attempts to access email accounts, webpages, or the server itself and blocks the IP address from further access. In less than a day 842 IP addresses have been blocked so far.
I'm renaming this thread "Moving to Cloud Server".
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined: |
Stile writes: Do we know if we are on a Virtual Server? Yes, we're on a virtual server.
Most VM software (like VMWare) is really easy to setup along with a VM-backup tool. Something that takes daily backups of the VM. Then, if anything goes wrong - the previous day's (or, say, a week ago's) backup is simply loaded in and things carry on. In this scenario, you would lose "1 day" (or 1 week) of data. There is a control panel option for enabling automatic backups, but I haven't tried it yet. They do have a useful feature that is part of the infrastructure, unfortunately I've forgotten the name, maybe it was shadowing. As I understood it, every request is dually executed, if the primary fails (e.g., the machine crashes while executing) then the secondary takes over, and losing a request or data should be a rare event.
SQL databases generally have their own backup-creating tools to dump backup data too. These are easily restored as well. I can't find anything for databases in the control panel, but I could set up a crontab job for it. The script would be relatively simple, but I rarely write scripts and it takes me a while to recall the syntax and functions, so it would take me a little time to make it create unique names for each backup and then delete the ones older than x days. There another control panel for managing the webhosting, but it doesn't seem to have any SQL backup features.
But, on the other side, it wouldn't be a shock if they attempted to charge extra or otherwise limit access to such "upgrades." They're pretty good about not charging for stuff when your managing the server yourself. For example, when I tried to set up a certificate for the server (as opposed to just the evcforum.net domain) I ran into trouble, and their technical staff just went ahead and did it for me at no charge. They have a "managed server" option that is very expensive from my point of view, as in hundreds of dollars per month and up. I should be posting to this thread as Admin, not Percy, switching back. Edited by Admin, : Got interrupted by a phone call and left out a little bit, just added it in now.
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined:
|
RAZD writes: Out of curiosity ... where are you on being able to upload photos to the server for links in posts? This item hasn't risen to the top of my list yet. I intend that members be able to upload images and documents. If I determine how to prevent server access by webpages and code then I'll allow them, too.
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined: |
I have just now updated to the mysqli API and PHP 7.2.16.
Apologies for several 20 second outages over the last 24 hours or so.
|
|||||||||||||||||||||||||||||||||||||||||||||
Admin Director Posts: 13123 From: EvC Forum Joined: |
One reason traffic has declined here is because Google Search has downgraded us because we don't adhere to some things that have, over time, become important. One of those is the tag, which EvC Forum doesn't use. I have just added the |
-- | Percy |
EvC Forum Director |
Replies to this message: | |||
Message 43 by AZPaul3, posted 04-04-2019 6:23 PM | Admin has seen this message but not replied | ||
Message 44 by caffeine, posted 04-05-2019 6:50 AM | Admin has seen this message but not replied | ||
Message 46 by Larni, posted 04-09-2019 4:48 PM | Admin has replied |
Message 48 of 52 (850532)
04-10-2019 8:26 AM |
Reply to: Message 46 by Larni 04-09-2019 4:48 PM |
|
-- | Percy |
EvC Forum Director |
This message is a reply to: | |||
Message 46 by Larni, posted 04-09-2019 4:48 PM | Larni has not replied |
Message 49 of 52 (850617)
04-11-2019 9:43 AM |
|
quote:
If your Apache web server configuration enables SSL security, make sure to only enable the TLSv1 protocol, and disable SSLv2 and SSLv3. This is due to the POODLE SSL vulnerability (CVE-2014-3566). See Resolution for POODLE SSLv3.0 vulnerability (CVE-2014-3566) in httpd - Red Hat Customer Portal for details.
-- | Percy |
EvC Forum Director |
Replies to this message: | |||
Message 50 by PaulK, posted 04-11-2019 10:00 AM | Admin has seen this message but not replied | ||
Message 51 by Theodoric, posted 04-11-2019 10:15 AM | Admin has seen this message but not replied |
|
|
Do Nothing Button
Copyright 2001-2023 by EvC Forum, All Rights Reserved
Version 4.2
Innovative software from Qwixotic © 2025