At this relatively basic level the only real trick is the media folders. Ideally this is located on some shared blob storage like Azure Blob storage or AWS S3. Otherwise it's IMHO a bit hacky syncing folders between servers using various methods.
Sorry I don't understand, does CloudFlare do load balancing or fallback, I've not used it?
Any proper hosting environment will have an option for load balancers and multiple servers. It doesn't just have to be AWS or Azure. I've done it before on Rackspace dedicated servers (was over £1500pm bill!)
You're going to need 2+ servers all of which can access the SQL database and both with access to or an up-to-date copy of the media. Then some way of sending traffic to all servers that are currently responding or sending all traffic to one and diverting it to the next in the list if that becomes unavailable.
Just checked and OK cloudflare do some load balancing potentially between different data centers, but yeah the problem with that solution is securely syncing DB and media manually is fairly hard/complex especially between data centers. That's why everyone jumped on Azure, AWS etc. when they made this simpler.
Thanks, Steve, you are right, this is challenging to sync data between data centers. I'm thinking about just copying the main site once a day to a fallback server, for example, full copy all files and database
But the question is if the main server is down, will it be fine to switch to the fallback server? how much time it will take to switch with CloudFlare who knows?
Umbraco 99% uptime setup, no Azure
Hi Umbracians
What is the most advanced way to set up Umbraco website with max uptime?
A load balancer with few servers? But I think that failover server would be great also, how to achieve this?
Share your thoughts please.
Thanks,
Alex
For a decent uptime you can setup the site on multiple servers with a load balancer, the config is pretty much as the documentation says: https://our.umbraco.com/documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/flexible
At this relatively basic level the only real trick is the media folders. Ideally this is located on some shared blob storage like Azure Blob storage or AWS S3. Otherwise it's IMHO a bit hacky syncing folders between servers using various methods.
https://our.umbraco.com/documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/flexible#option-2--file-storage-with-file-replication
For maximum uptime you want to consider:
Thanks, Steve, but what about using own 2 servers and CloudFlare or something like that?
We would like to avoid Azure and AWS for now.
I'm interested, since I'm working mainly with Azure, why do you want to avoid it?
We want our own servers.
Sorry I don't understand, does CloudFlare do load balancing or fallback, I've not used it?
Any proper hosting environment will have an option for load balancers and multiple servers. It doesn't just have to be AWS or Azure. I've done it before on Rackspace dedicated servers (was over £1500pm bill!)
You're going to need 2+ servers all of which can access the SQL database and both with access to or an up-to-date copy of the media. Then some way of sending traffic to all servers that are currently responding or sending all traffic to one and diverting it to the next in the list if that becomes unavailable.
Just checked and OK cloudflare do some load balancing potentially between different data centers, but yeah the problem with that solution is securely syncing DB and media manually is fairly hard/complex especially between data centers. That's why everyone jumped on Azure, AWS etc. when they made this simpler.
Thanks, Steve, you are right, this is challenging to sync data between data centers. I'm thinking about just copying the main site once a day to a fallback server, for example, full copy all files and database
But the question is if the main server is down, will it be fine to switch to the fallback server? how much time it will take to switch with CloudFlare who knows?
is working on a reply...