1 Answer
- Newest
- Most votes
- Most comments
1
To access AWS api's from Fargate, you will either need one of the following
- Public IP Address assigned to the Task which is attached to your VPC with a route to an IGW
- 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
- Private VPC End Points for Each APi you wish to use.
All appropiate NACLS and Security groups will also need to be in place.
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
I think the configuration described in the following document will be helpful. https://docs.aws.amazon.com/AmazonECS/latest/bestpracticesguide/networking-outbound.html