what is the difference between a load balancer, listener target, target group in AWS?

匆匆过客 提交于 2020-06-09 04:37:27

问题


Hi I am new to AWS and trying to understanding the difference between a load balance, target, target group and security group . I have 2 instances running. Now i want to balance the load coming to these servers. Will load balance be created on a new instance ? what are listeners and how are they different from load balancers?


回答1:


Yes, the load balancer is an EC2 instance to provide the networking and compute services needed for load balancing. This also means that there is a per hour charge for the load balancer EC2 instance.

A Target Group is used to route requests to one or more registered targets (your backed EC2 instances).

A listener is a process that "TCP Listens" for requests from clients. Common listeners are for receiving requests on port 80 (HTTP) and port 443 (HTTPS). The listeners then forward requests to your Target Group.

A Security Group is a firewall that allows or denies network traffic. A security group sits in front (our around) your load balancer protecting it from traffic that you do not allow (want).

There is a lot of information on the Internet. Here is a link to help you get started.

What Is an Application Load Balancer?



来源:https://stackoverflow.com/questions/51428939/what-is-the-difference-between-a-load-balancer-listener-target-target-group-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!