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回答
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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ