Patterns for Resilient Architecture — Part 3

Preventing service failures with health checks

Adrian Hornsby
Sep 27, 2018 · 9 min read

What are we talking about?

Health check principle

Server instance failure types

Shallow and Deep health checks

Shallow versus Deep health check.

Act smart, fail open!

Acting smart — Falling open

A look at Route 53 health checks

Example advanced configuration of heath check endpoint in Route 53.

Demo: Route 53 failing open with failed health checks

Multi-region, active-active backend with Route 53 DNS failover using health checks.
Health Check configuration in Route 53
Route 53 Routing policy with DNS failover Health Check evaluation
Route53 health checks failing
Successfull request to the global backend service

Considerations when implementing health checks:

Wrapping up

Adrian Hornsby

Written by

Observer of the world, climber of the rocks. Sr. Tech Evangelist at AWS. Opinions are my own.