问题描述
我是 AWS 的新手,正在尝试了解负载平衡、目标、目标组和安全组之间的区别.我有 2 个实例正在运行.现在我想平衡这些服务器的负载.是否会在新实例上创建负载平衡?什么是侦听器?它们与负载平衡器有何不同?
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?
推荐答案
是的,负载均衡器是一个 EC2 实例,用于提供负载均衡所需的网络和计算服务.这也意味着负载均衡器 EC2 实例每小时收费.
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.
目标组用于将请求路由到一个或多个注册目标(您支持的 EC2 实例).
A Target Group is used to route requests to one or more registered targets (your backed EC2 instances).
侦听器是TCP 侦听"来自客户端的请求的进程.常见的侦听器用于接收端口 80 (HTTP) 和端口 443 (HTTPS) 上的请求.然后侦听器将请求转发到您的目标组.
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.
这篇关于AWS 中的负载均衡器、侦听器目标、目标组之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!