How to prevent being affected by data-center ddos attack & maintainance related downtime?

Hi

I'm hosting a web application which should be highly-available. I'm hosting on multiple linodes and using a nodebalancer to distribute the traffic. My question might be stupid simple - but not long ago I was affected by a DDoS hitting the data-center. That made me think how I can be better prepared next time this happens.

The nodebalancer and servers are all in the same datacenter which should, of course, be fixed. But how does one go about doing this? If I have two load balancers in two different data centers - how can I setup the domain to point to both, but ignore the one affected by DDoS? Should I look into the DNS manager? Am I making things too complicated?

Really would appreciate some insights.

Thanks everyone…

1 Reply

Hello,

Using a high availability solution is a good idea, but there wouldn't be a way to connect a server to a NodeBalancer in a different datacenter.

There are a few ways to stay highly available, however, it would require some actions from the user. One of the more popular ways is listed here:

https://www.howtoforge.com/setting-up-a … bian-lenny">https://www.howtoforge.com/setting-up-a-high-availability-load-balancer-with-haproxy-heartbeat-on-debian-lenny

NodeBalancers are perfect for load balancing, but for availability beyond the datacenter, you'll want to manually set up an HA solution.

I hope this helps!

Regards,

Soh

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct