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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则