The content of this section is different from the case of using FlexMatch. FlexMatch uses its own matchmaking provided by GameLift, without making your own matchmaker. If you want to practice using FlexMatch, you can try Lab 2.
If a game server is being deployed on Fleet that will handle real game sessions and run logic, you need a matchmaker to properly establish a TCP connection to that server.
In general, a session-based game is implemented in such a way that the server for matchmaking is handled by a separate instance, and the server distributes the session to the game server.
In this Lab, you are able to use Matchmaker server binary(Matchmaker.exe) or build GomokuMatchMaker project on Visual Studio by yourselves.
Specify the Alias created earlier as above, and configure the port settings and service region appropriately. Configure the DynamoDB table name that contains user information also.
Creating EC2 IAM Role, and grant access control policies for DynamoDB and GameLift.
Access to the instance, copy Matchmaker binary. Launching vc_redist_x64.exe for the first time, configure C++ runtime environment.
Once the environment is configured, run GomokuMatchMaker.exe to run Matchmaker.
Finally, assign an Elastic IP (EIP) address and give it to your instance so that you can contact the Matchmaker server. GomokuClient will connect to the matchmaker server with that IP address!