Feature Request: Support for GameLift Anywhere
GameLift Anywhere allows you to provision any machine (like a local dev machine) to be a part of a fleet. More info here: https://aws.amazon.com/blogs/aws/introducing-amazon-gamelift-anywhere-run-your-game-servers-on-your-own-infrastructure/
The main change required for GameLift-Nodejs-ServerSDK to be compatible with GameLift Anywhere would be the addition of a ServerParameters argument in InitSdk. More info via the GameLift Docs:
To initialize a server process on a Amazon GameLift Anywhere compute resource, call InitSdk() with the following ServerParameters:
- The URL of the websocket used to connect to your game server.
- The ID of the process used to host your game server.
- The ID of the compute hosting your game server processes.
- The ID of the GameLift fleet containing your Amazon GameLift Anywhere compute.
- The authorization token generated by the Amazon GameLift operation GetComputeAuthToken.
I would be happy to implement this if a PR would be accepted.
Please feel free to submit a PR. I will gladly review it.
By the way, I just remembered that I forgot to respond to the comment, and it was from you! I'm sorry that I missed it, and I hope that the trouble has been resolved promptly.
@dplusic Ah I remember finding a solution almost immediately after posting that comment :) So no worries at all. I'll submit a PR if I can get to it.