3월, 2014의 게시물 표시

AWS ELB health check for Django application

I used AWS Cloud services from my  last project . To increase stability of this web application, I used  Elastic Load Balancing  of AWS. AWS ELB keep checking health status of web application by using TCP or HTTP ping. From this blog article, I will summarize how AWS ELB health check can be used with Django application running on Apache web server with HTTPS enabled. 1. Simple TCP ping This is easy setting. You can ping 80 port of TCP to check if web server is running. AWS ELB ==  PING TCP:80  ==> AWS EC2 web server 2. Simple HTTP ping To check about HTTP server and it's web application running well, you can ping by using a specific URL. AWS ELB ==  PING HTTP:80 /status  ==> AWS EC2 web server 3. Ping with HTTPS What's happened if you're using HTTPS instead of HTTP in your web application? No issue. AWS ELB ==  PING HTTPS:80 /status  ==> AWS EC2 web server with HTTPS setting But, wait. we can configure AWS ELB to sup...