Deny Public Network Access in Azure Database for MariaDB using Azure portal


Azure Database for MariaDB is on the retirement path. We strongly recommend that you migrate to Azure Database for MySQL. For more information about migrating to Azure Database for MySQL, see What's happening to Azure Database for MariaDB?.

This article describes how you can configure an Azure Database for MariaDB server to deny all public configurations and allow only connections through private endpoints to further enhance the network security.


To complete this how-to guide, you need:

Set Deny Public Network Access

Follow these steps to set MariaDB server Deny Public Network Access:

  1. In the Azure portal, select your existing Azure Database for MariaDB server.

  2. On the MariaDB server page, under Settings, select Connection security to open the connection security configuration page.

  3. In Deny Public Network Access, select Yes to enable deny public access for your MariaDB server.

    Azure Database for MariaDB Deny network access

  4. Select Save to save the changes.

  5. A notification will confirm that connection security setting was successfully enabled.

    Azure Database for MariaDB Deny network access success

Next steps

Learn about how to create alerts on metrics.