amazon web services - How to add nodes of a autoscaling group automatically to nginx or HAProxy? -
in above architecture (source: http://media.amazonwebservices.com/aws_web_hosting_best_practices.pdf), application server cluster belong autoscaling group. load balanced software loadbalancer (like nginx or haproxy). question if how nodes in autoscaling group registers automatically loadbalancer(as understand elastic loadbalancer has capability builtinm may not case nginx or haproxy)
when create autoscaling group in aws, connect launch configuration responsible launching new instances of specific image, each instance automatically assigned autoscaling group.
in next step, register load balancer autoscaling group, load balancer can use of instances belongs group. please check tutorial http://docs.aws.amazon.com/autoscaling/latest/developerguide/as-register-lbs-with-asg.html
zoran
Comments
Post a Comment