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 Risposta
1
Risposta accettata

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
ESPERTO
con risposta 2 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande