Report this

What is the reason for this report?

Standby Node/Failover for Web Apps

Posted on June 11, 2019

I’m wanting to set up a server which will host multiple node.js apps and use nginx as a reverse proxy to server them all on port 80

I’m wanting to set up a failover system so if the primary app server dies then traffic can be served from a different server. I was thinking of setting up a standby node which is a duplicate of the primary app server and then move the floating IP from the main app server to the standby server if the primary server dies, is there a good way to keep both servers in sync and then do an automatic move of the Floating IP, can the load balancer do the failover?

I don’t want to be load balancing the traffic between two servers, the second server will simply be a backup/dr server (which i’ll run at a lower spec to primary and then scale up in case of failover)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.