One of my instances in a private subnet in a VPC in AWS , is making requests to a API (to fetch some metadata). The API provider is asking for an IP address to whitelist.
I'm not sure which IP address should I be providing since the instance is a part of an auto scaling group. It does have an ENI IP , however I'm not sure if that's the IP which they would need to whitelist. Could it be the NAT gateway IP (since the instances use a NAT gateway to connect to the internet) ?