Cannot do VPC peering for Gamelift fleet in a region with a VPC in another region

0

An error occurred (NotFoundException) when calling the CreateVpcPeeringConnection operation: Fleet fleet-sg-dba2-47f1-8c4f-sdg not found. This is what I receive when I call create-vpc-peering-connection with fleet ID in ap-south-1 and VPC to peer with in eu-central-1. How can I overcome this?

已提問 1 個月前檢視次數 89 次
1 個回答
2
已接受的答案

Hello.

As stated in the document below, GameLift does not support VPC peering with VPCs in different regions.
https://docs.aws.amazon.com/gamelift/latest/developerguide/vpc-peering.html

When setting up a peering, both VPCs must exist in the same region. The VPC for your Amazon GameLift fleet game servers is in the same region as the fleet.

I think there are currently two workarounds:

  • Create GameLift in the same region as your VPC.
  • If you only want to access a specific EC2 etc. in the VPC in the "eu-central-1" region, how about creating a PrivateLink in the "ap-south-1" VPC and accessing it via VPC peering?
profile picture
專家
已回答 1 個月前
profile picture
專家
已審閱 17 天前
profile picture
專家
A_J
已審閱 1 個月前
  • "If you only want to access a specific EC2 etc. in the VPC in the "eu-central-1" region, how about creating a PrivateLink in the "ap-south-1" VPC and accessing it via VPC peering?". How can you pls explain?

  • The configuration is assumed to be as follows. a
    There is a restriction that VPC endpoint services can only be created as VPC endpoints if they are created in the same region, so NLB will be placed in ap-south-1. https://docs.aws.amazon.com/vpc/latest/privatelink/create-endpoint-service.html NLB sets the EC2 IP address as the target. By performing VPC peering with the VPC of eu-central-1, the VPC where NLB is placed will be able to specify an IP address as the NLB target. Finally, you can set up PrivateLink for NLB and access it from the VPC peered with GameLift.

  • Even without using PrivateLink, you may be able to access it with the following configuration. a

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南