Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Support for GameLift Anywhere #2

Open
j1mmie opened this issue Apr 13, 2023 · 2 comments
Open

Feature Request: Support for GameLift Anywhere #2

j1mmie opened this issue Apr 13, 2023 · 2 comments

Comments

@j1mmie
Copy link

j1mmie commented Apr 13, 2023

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.

@dplusic
Copy link
Owner

dplusic commented Apr 13, 2023

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.

@j1mmie
Copy link
Author

j1mmie commented Apr 14, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants