ECS Fargate + Service Discovery + ALB

0

【以下的问题经过翻译处理】 一位客户想要使用ECS Fargate来运行任务, 在ALB(用于管理扩展和TLS)前面配置了AWS Service Discovery。在测试中,AWS Service Discovery 会绕过ALB并直接向后面任务发送请求。

AWS Service Discovery->ALB 这种模式不支持吗?客户试图避免部署其他东西(例如Consul)来进行管理。

profile picture
EXPERT
demandé il y a 5 mois27 vues
1 réponse
0

【以下的回答经过翻译处理】 AWS Service Discovery是替代ALB的一种方式,它利用了Route 53带托管的区域。当新任务启动时,它们会以“友好”的服务名 自动注册到Route 53托管的区域中,其他服务可以 使用服务名 来 引用到该服务。

ALB 既可以简单地被用作平衡客户端发送到您的第一层服务的传入流量,也可以作为服务发现的替代方案,为您的应用程序提供DNS端点,以便在需要联系其依赖项时使用。

profile picture
EXPERT
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions