quick question - is there a server health check that can do a server reboot?

Nir Ben-Dor's Avatar

Nir Ben-Dor

24 Apr, 2017 05:56 AM

I have (apache/php) servers that fail on very rare occasions.

At this point I would like to auto reboot the server or remove it from DNS (the load balancing is the basic scalr one, no load balancer)

Whats the best practice to do that in scalr ? any ready mechanism for this?

10X
- Nir

  1. Support Staff 1 Posted by marc on 25 Apr, 2017 04:43 PM

    marc's Avatar

    Hi Nir,

    Intermittent failures are par for the course with cloud computing. Due to this uncertainty, it is important that you design your application to be Cloud Native so that is can be resilient to these types of failures. When a server fails, Scalr does not take any troubleshooting corrective actions (rebooting) but rather takes the cloud native approach and terminates the instance so that a replacement can take it's place and resume operations. To minimize downtime and DNS mismatches in this recovery period, you will typically want to use a full fledged Load Balancer to which you will point your DNS record. Then, you may continue to operate with one instance where you will have minimal downtime if Scalr needs to replace the instance, or add additional web servers to make your application more Highly Available so that if any one server fails the service can still operate. This is what would be considered best practice in this instance. Let us know if this makes sense or if you have any questions.

    Many thanks,
    Wm. Marc O'Brien
    Scalr Technical Support

  2. marc closed this discussion on 30 May, 2017 04:36 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac