title | description | author | ms.author | editor | services | ms.service | ms.topic | ms.date |
---|---|---|---|---|---|---|---|---|
Create and manage Azure Database for MariaDB VNet service endpoints and rules using the Azure portal | Microsoft Docs |
Create and manage Azure Database for MariaDB VNet service endpoints and rules using the Azure portal |
ajlam |
andrela |
jasonwhowell |
mariadb |
mariadb |
conceptual |
11/19/2018 |
Create and manage Azure Database for MariaDB VNet service endpoints and VNet rules by using the Azure portal
Important
The VNet service endpoints feature is in Public Preview.
Virtual Network (VNet) services endpoints and rules extend the private address space of a Virtual Network to your Azure Database for MariaDB server. For an overview of Azure Database for MariaDB VNet service endpoints, including limitations, see Azure Database for MariaDB Server VNet service endpoints. VNet service endpoints are available in all supported regions for Azure Database for MariaDB.
Note
Support for VNet service endpoints is only for General Purpose and Memory Optimized servers.
-
On the MariaDB server page, under the Settings heading, click Connection Security to open the Connection Security pane for Azure Database for MariaDB. Next, click on + Adding existing virtual network. If you do not have an existing VNet you can click + Create new virtual network to create one. See Quickstart: Create a virtual network using the Azure portal
-
Enter a VNet rule name, select the subscription, Virtual network and Subnet name and then click Enable. This automatically enables VNet service endpoints on the subnet using the Microsoft.SQL service tag.
The account must have the necessary permissions to create a virtual network and service endpoint.
Service endpoints can be configured on virtual networks independently, by a user with write access to the virtual network.
To secure Azure service resources to a VNet, the user must have permission to "Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/" for the subnets being added. This permission is included in the built-in service administrator roles, by default and can be modified by creating custom roles.
Learn more about built-in roles and assigning specific permissions to custom roles.
VNets and Azure service resources can be in the same or different subscriptions. If the VNet and Azure service resources are in different subscriptions, the resources should be under the same Active Directory (AD) tenant.
[!IMPORTANT] It is highly recommended to read this article about service endpoint configurations and considerations before configuring service endpoints. Virtual Network service endpoint: A Virtual Network service endpoint is a subnet whose property values include one or more formal Azure service type names. VNet services endpoints use the service type name Microsoft.Sql, which refers to the Azure service named SQL Database. This service tag also applies to the Azure SQL Database, Azure Database for MariaDB, PostgreSQL, and MySQL services. It is important to note when applying the Microsoft.Sql service tag to a VNet service endpoint it configures service endpoint traffic for all Azure Database services, including Azure SQL Database, Azure Database for PostgreSQL, Azure Database for MariaDB, and Azure Database for MySQL servers on the subnet.
-
Once enabled, click OK and you will see that VNet service endpoints are enabled along with a VNet rule.
- Learn more about configuring SSL on Azure Database for MariaDB
- Similarly, you can script to Enable VNet service endpoints and create a VNET rule for Azure Database for MariaDB using Azure CLI.