Aws sophos ha-failover-ˆ œ

  • View
    500

  • Download
    6

Embed Size (px)

Text of Aws sophos ha-failover-ˆ œ

  • 1. ELB(ha-lbext) - ( : ha-lbext) ELB . Multi AZ UTM . UTM9 ( : ha-lbint) ELB ELB(ha-lbint) - ELB IP , VPC ELB. ELB "Web " NAT Bastion ELB public-subnet : ELB UTM protected-subnet (private-subnate w / NAT) public-subnet NAT . UTM protected-subnet UTM : m1.small Web : t1.micro

2. 8 1. 2. 3. 4. 5. 6. 7. 8. 9.VPC Subnet Security Group Web LB UTM LB UTM (FailOver) 3. VPC Wizard 4. subnet RouteTable (public-subnet InternetGateway ) 5. secg-lbext : ELB . IP tcp/80 secg-utm : UTM . secg-lbext tcp/80 . IP tcp/4444 .secg-lbint : ELB . secg-utm tcp/80 .secg-web : Web . secg-lbint tcp/80 . IP tcp/22 "80 (HTTP) -> sg-6e ******" "22 (SSH) -> 0.0.0.0 / 0" 6. Amazon Linux 64bit -> , (Name : ha-web-left ha-web-right) Secutiry Group : secg-web. EIP SSH httpd / index.html . curl , index.html ---------------------------------------------------------------$ sudo yum-Y install httpd $ sudo httpd start $ sudo SH-c 'echo " ha-web-left body> html>">> / var / www / html / index.html' $ curl http : / / localhost ha-web-left < / body > < / html > --------------------------------------------------------------- HTML : left HTML : right 7. EC2 Management Console > Load Balancers > Create Load Balancer -> Click 8. ELB Name : ha-lbint > VPC Create an internal load balancer" ON 9. Health Check Interval > 0.1, Healthy Threshold > 2, 10. ELB 10.0.20.0/24, 10.0.21.0/24 11. Security Group > secg-lbint 12. ELB Web 13. ELB , "2 of 2 instances in service" 14. UTM Name : ha-utm-left ha-utm-right 15. ami : m1.small 16. : 1 : 10.0.10.0/24, 2 : 10.0.11.0/24), : m1.small 17. IP ( IP ) 18. KeyPair : No SecurityGroup : secg-utm EIP , https://(UTM EIP):4444 19. ELB . "Create an internal load balancer OFF 20. ELB : 10.0.10.0/24, 10.0.11.0/24 21. SecurityGroup : ha-lbext 22. LB . : "2 of 2 instances in service" 23. UTM9 2. ha-utm-left / ha-utm-right 24. ELB / ELB 25. ELB 26. ELB . UTM Web . Refresh > left right 27. Web FailOver ha-web-right > SSH > httpd stop ELB ha-webleft 28. UTM FailOver . ha-utm-left WAF Disable ( ), ELB 29. ha-utm-left . ha-utm-right WAF Disable 30. WAF Down .