Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Tuesday, April 16, 2013

ELB HTML file health check file

If you are running Apache, you will need to place the help check file for ELB in /var/www/html.  You can use the default web page (index.html). However, I normally use another file incase the index.html file gets removed for some reason.  Also, another file like ping.html indicates to a DevOps person that this is for the ELB health check.

EC2 Apache HTML file locations

My last blog discussed using user data and to install the Apache serve on your EC2 instance.  The next thing to do is place your web pages in the web server directory. The directory location is:  /var/www/html/.  You need to make sure you are the root user to add or modify files in this directory.  You can do this by using sudo su.