question

Walter Geisler avatar image
Walter Geisler asked

Multiplayer Server + Azure Database?

Is there a way to grant a Multiplayer Server hosted in PlayFab access to an Azure database instance?

multiplayer
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered

PlayFab Multiplayer Server(MPS) is a server hosting service optimized for games. The internal functions of MPS are highly customizable, you can directly implement the database connection function in MPS based on the method provided by the Azure Database documentation.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Walter Geisler avatar image Walter Geisler commented ·

What if I want the database to not be publicly accessible. Is it possible to include the MPS in the same virtual network as the DB?

0 Likes 0 ·
Dimitris-Ilias Gkanatsios avatar image Dimitris-Ilias Gkanatsios Walter Geisler commented ·

unfortunately no, that's not possible with MPS today. We create a separate VNET for your game server VMs. However, there is this option Network Access Controls - Azure SQL Database & Azure Synapse Analytics | Microsoft Docs on Azure SQL where you can allow access from Azure resources, so you don't have to expose your server on the public internet.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.