How do you expose an internal API privately to another company?
IntermediateProductionVPC and Network Design
Answer
PrivateLink: put the service behind an NLB, create a VPC endpoint service, require acceptance, and allow-list the partner's account principal. They create an interface endpoint in their VPC. No routing, no CIDR coordination, traffic stays on the AWS network, and you can see and revoke each connection. Add private DNS names on the endpoint service (verified via a TXT record) so they call api.partner.example.com.
More on VPC and Network Design
Walk through a production VPC layout for a multi-tier app.BeginnerHow do you size VPC CIDRs to avoid painting yourself into a corner?IntermediateOne NAT gateway or one per AZ?BeginnerWhat are the biggest levers to reduce NAT gateway cost?IntermediateWhich VPC endpoints do you create by default in a private EKS or ECS VPC?IntermediateHow do you lock down what can go through a VPC endpoint?Advanced