PostList

2016년 1월 31일 일요일

Create Elastic Load Balancer (ELB)


1. Create two or more ec2 instances
2.

2. Click Load Balancers from left side bar ->
3. CLick Create Load Balancer ->
4. Make a name and click Next: Assign Security Groups ->
select security group ->
 (if you don't have, just make one and open all rules for 5. learning purpose. Not security this time )
6. Click Nect: Configure Health Check
7. Set health configuration and click Next: Add EC2 Instances
response timeout: 2
health check interval: 5
unhealthy threshold: 2
healthy threshold 3
8. select ec2 instances you want to cluster within the VPC.
9. Click Next: Add Tags -> review and create -> create

10. check functionality
#Install apache server on all instances
apt-get install apache2

#edit html page
vi /var/www/html/index.html

#change title sentence

#copy the DNS name of the ELB  and paste it on internet browser

댓글 없음:

댓글 쓰기