在多个可用区运行 ELB 是否会花费更多?
我看到您可以指定 ELB 服务的可用区。目前,我们仅在单个可用区中设置单个 EC2 实例。但有一天,我们将在可用区拥有多个冗余。我是否有任何理由不应该现在就将 ELB 设置为服务两个,这样我以后就不必更改它?
在多个可用区中运行负载均衡器是否会花费更多?在多个可用区运行 ELB 是否还有其他缺点?
I see that you can specify what availability zones an ELB serves. Right now, we're only setting a single EC2 instance up in a single AZ. But someday, we'll have multiple across AZ's for redundancy. Is there any reason I shouldn't just set up the ELB to serve two now, so I don't have to change it later?
Does it cost more to run your load balancer in multiple availability zones? Are there any other drawbacks to running an ELB in multiple AZ's?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,在多可用区中运行负载均衡器不会花费更多成本。每个区域的负载均衡器成本都是固定的,不会因可用区域而异。最好现在就拥有 ELB,因为当您的需求增加并且您向帐户添加更多实例时,您不必更改应用程序中的 URL。 ELB 提供了一个单独的 URL,您可以在后台向其中添加更多实例,而无需对 URL 进行任何更改。如果您现在在应用程序中提供实例的 DNS,并且将来您计划扩展并拥有 ELB,则需要更改应用程序中的 URL,即客户端应连接的 URL。
No, it doesn't cost more to run load balancer in multi-az. Load Balancer costs are fix for every region, it does not vary for availability zones. Its better to have ELB right now, because when you need will increase and you add more instances to your account, you don't have to change URL in your application. ELB provides a seperate URL and in the background you can add more instances to it without any change to URL. If you provide DNS of instance right now in your application and in future, your plan to expand and have ELB, you need to change URL in application i.e., URL where your clients should connect.