A partner says some of your API calls arrive from an IP they never allow-listed, so they block them.
IntermediateTroubleshootingCloud networking: VPC, firewalls, NAT, VPN and proxies
Answer
Likely causes → You run one NAT gateway per AZ (correct for resilience), each with its own Elastic IP, but gave the partner only one. Or a new NAT gateway / recreated EIP changed the egress IP, or some workloads egress via a different path (VPC endpoints, IPv6, a second VPC).
Diagnose →
aws ec2 describe-nat-gateways --filter Name=vpc-id,Values=<vpc> \
--query 'NatGateways[].NatGatewayAddresses[].PublicIp'
# from instances in each AZ
curl -s https://checkip.amazonaws.com
Fix → Give the partner all NAT EIPs, or route partner-bound traffic through a single egress (a proxy or specific NAT) if they insist on one IP. Protect EIPs from deletion in Terraform (prevent_destroy).
Prevent → Keep an "egress IPs" inventory per environment and treat EIP changes as a change-managed event.
More on Cloud networking: VPC, firewalls, NAT, VPN and proxies
An EC2 instance in a private subnet hangs on `apt-get update` at `Connecting to archive.ubuntu.com`.BeginnerA new EC2 instance in a "public" subnet can't be reached over SSH from the internet; the SG allows port 22 from your IP.BeginnerThe SG allows inbound 443 and the app works from inside the VPC, but internet clients time out. The subnet NACL allows inbound 443.IntermediateA VPC peering connection is `Active`, but instances in the two VPCs can't ping each other.BeginnerALB targets are `unhealthy` with reason `Target.Timeout`, and VPC Flow Logs show `REJECT` from the ALB's IPs to the instances.BeginnerTwo VPCs are attached to a Transit Gateway, but traffic between them fails.Intermediate