Reputation: 763
I have two VPCs A and B. VPC A has 3 public and 3 private subnets. My eks cluster is deployed in 3 public subnets of VPC A (due to lack of IP addresses in public subnets there is a secondary CIDR as a private IP range.) VPC B also has 3 public and 3 private subnets. My Amazon aurora databases and Opersearch service instances are in private subnets of VPC B(also some S3 buckets in VPC B). How can the eks pods from VPC A communicate to aurora, s3 and Opensearch service in VPC B? There is a peering connection between VPC A and B. How can I use NAT gateway or VPC Endpoints to access services in private subnets of VPC B from VPC A?
Due to network size limits in one VPC, we have to create two VPCs with peering and divide the services.
Upvotes: 0
Views: 70