unable to access the api from ecs fargate. Do we need to use different ip address for ecs fargate

0

we are unable to access the api from ECS Fargate. Do we need to use different ip address for ECS Fargate? or what other configurations need to be done for the access?

1回答
1
承認された回答

To access AWS api's from Fargate, you will either need one of the following

  1. Public IP Address assigned to the Task which is attached to your VPC with a route to an IGW
  2. Private IP Address assigned to the Task connected to a private subnet with a route to a NAT Gateway in a Public Subnet attached to an IGW
  3. Private VPC End Points for Each APi you wish to use.

All appropiate NACLS and Security groups will also need to be in place.

profile picture
エキスパート
回答済み 2ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前

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

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

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

関連するコンテンツ