How can Gamelift server access a private API in VPC A which is in a different region?

0

HI, as per documentation of Gamelift, for VPC peering, you need both the fleet and VPC to be in the same region. However, In my case, I have a VPC A containing private API consumed by my private EC2s in eu-central-1. Now these APIs needs to be accessible for the fleet in ap-south -1. How can I achieve this without changing the endpoints/fleets to the same region as I already have a lot of resources consuming the endpoints. I am curious to know of any workaround for this bottleneck condition.

1 Answer
1

Hello.

I have provided some answers at the URL below.
https://repost.aws/ja/questions/QU0V89gTm9T4WmIBKS_e0AKw/cannot-do-vpc-peering-for-gamelift-fleet-in-a-region-with-a-vpc-in-another-region

I think it is possible to avoid this by combining PrivateLink, NLB, etc.
Simply put, the problem can be avoided if you can access EC2 in another VPC via a proxy.
In this case, the configuration uses NLB instead of a proxy.
a

profile picture
EXPERT
answered 16 days ago
  • Hi Thanks for the answer. but like I mentioned int the description, my target is a Private API gateway endpoint and not an EC2. How can I tackle the issue here? I want the private APi to be accessbile for the gamelift servers as well.

  • In that case, I think you should create a proxy server with EC2. a

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions