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 réponse
1
Réponse acceptée

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
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 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