By tamoor
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!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.