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 Answer
1
Accepted Answer

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
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions