Servers Functionality... A manager?
Hello again guys! Good Morning. I was thinking about a dedicated server manager and I want to share it. What about a dedicated server administrator? I was learning how to host a dedicated server using UE4 and Amazon Gamelift, but does Amazon have everything ready with this functionality? Because, i really don't know... I mean a manager who will create a dedicated server for a match when a player searches for a game. And he closes it when the game is over. I don't know if I'm practically recreating a wheel with this, so I wanted to ask about it. Thank you!
"..create a dedicated server for a match when a player searches for a game. And he closes it when the game is over."
GameLift does the first part for you, see CreateGameSession, StartGameSessionPlacement or the use of the GameLift match making serivce FlexMatch), GameLift will try and place on an existing server, or based on your confiugration provision another. GameLift handles auto-scaling for you and acts as the server manager.
The second part is more up to you. GameLift does not auto close a session when all the players leave as PlayerSessions are optional in GameLift. Its pretty trivial to add the logic to check if all players have left and then call
ProcessEndingto autoclose the session.
Its unclear if you want to ask, how do I do this outside of GameLift. You could do this via EC2 and its autoscaling rules. You'd have to build a control plan, ie an Admin API, where you make requests and manage which server a request goes to etc. To build a one off may be possible, but if you need to add scale/volume/redundancy support then it would be a lot of work.
You can also use GameLift FlexMatch as a standalone part of GameLift which would give you matchmaking and you would be responsible for placing the sessions on your processes.
Hope that is helpful in some way.
Well I think my answer revolves around this: "You can also use GameLift FlexMatch as a standalone part of GameLift which would give you matchmaking and you would be responsible for placing the sessions on your processes." I had not thought of it. Thanks for that idea! I just thought about adding logic to the ProcessEnding, but I don't know if that's the best way to do it. If anyone has any other ideas, I will appreciate it!
Unreal engine multiple dedicated server instancesasked 2 years ago
Impact of having a 'dedicated server' vs using Amazon CloudFront CDN on SEOAccepted AnswerMODERATORasked 2 years ago
Can't connect to MySQL db from Lightsail instance. MY-010055 warning in logs.asked 6 months ago
Servers Functionality... A manager?asked 7 months ago
How to best migrate to AWS from a live dedicated server at Ntirety.com but which registrar is different?asked 15 days ago
Is there a way to modify the existing server executable files in a running fleet?Accepted Answerasked 2 years ago
Customizing the environment on a Windows Serverasked 3 years ago
The server was down twice for unknown reasons.asked 4 months ago
Unable to RDP using Fleet Manager to Windows Server 2012 StandardAccepted Answerasked 2 months ago
Anyone out there using Gamelift Realtime Scripts? Want to join a discord/slack?asked a year ago