Cannot select a target group with alb target type when creating an application load balancer

0

I want to creat a fargate service with an application load balancer.

I first created a target group by chosing "Application Load Balancer" as the target type, and chose "Add an Application Load Balancer later". The port is TCP:4000. Then I try to create an application load balancer with port HTTP:4000 in the same VPC as the target group. But I cannot chose the target group because the target group does not appear in the "Select a target group" selection list. How can I create an alb connecting to a target group?

1回答
1
承認された回答

Please select "IP address" as the target type.

"Application Load Balancer" is a special target type used to target ALB from NLB.

https://docs.aws.amazon.com/AmazonECS/latest/userguide/create-application-load-balancer.html

Important
If your service's task definition uses the awsvpc network mode (which is required for the Fargate launch type), you must choose IP addresses as the target type This is because tasks that use the awsvpc network mode are associated with an elastic network interface, not an Amazon EC2 instance.

profile picture
hayao-k
回答済み 2年前
profile picture
エキスパート
レビュー済み 6ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ