Is there a way to grant a Multiplayer Server hosted in PlayFab access to an Azure database instance?
Is there a way to grant a Multiplayer Server hosted in PlayFab access to an Azure database instance?
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.
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?
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.
12 People are following this question.