大网数据广告活动
服务器运维问答

Do I need an internal Load Balancer for my ECS Services?

· 52CE 我爱测

I have an ECS cluster with 3 services( FARGATE ), the 3 services are in private subnets. 1 is the web app that is publicly accessible through an Internet-facing Load Balancer and the 2 others are only accessed from the web app. F…

问题原文

原帖链接 · Castro Roy · CC BY-SA 4.0

I have an ECS cluster with 3 services(FARGATE), the 3 services are in private subnets. 1 is the web app that is publicly accessible through an Internet-facing Load Balancer and the 2 others are only accessed from the web app. For internal communication, I'm using Service Discovery names.

Everything is working but now I'm debating if I need an internal Load Balancer just between the web app and the 2 internal services in case they scale out/in. So, if one of my internal services scales out and I'm using the Service Discovery name for internal communication, it is enough? Or, do I need an internal Load Balancer that can route the traffics to the different service instances?

Does this make sense?

已采纳解答

原帖链接 · MLu · CC BY-SA 4.0

Service Discovery is enough. New nodes will be added to the SD name resolution when they are started. Unfortunately many people don't know / use Service Discovery and resort to the more expensive ALB. Good on you for using SD :)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-06-26)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。