글
ELB는 HeathCheck를 Http로 하는 경우 기본으로 특정 파일을 GET 으로 요청하여 응답을 200번을 받으면 성공으로 확인한다.
일반 프로그램으로 Http 서버를 실행하는 경우(예. self-hosting. WCF 콘솔 프로그램) 파일 요청에 응답할 수 없다.
이 경우 ELB의 요청을 파일이 아닌 Web API를 요청하도록 한다.
예) GET HTTP:80/weather/us/wa/seattle
What does the Amazon ELB automatic health check do and what does it expect?
AWS 'HealthCheck'
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_HealthCheck.html
댓글