您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

使用 Azure 门户创建和管理 Azure Database for MySQL VNet 服务终结点和 VNet 规则Create and manage Azure Database for MySQL VNet service endpoints and VNet rules by using the Azure portal

3/18/2020

本文内容

虚拟网络 (VNet) 服务终结点和规则将虚拟网络的专用地址空间扩展到 Azure Database for MySQL 服务器。Virtual Network (VNet) services endpoints and rules extend the private address space of a Virtual Network to your Azure Database for MySQL server. 若要概览 Azure Database for MySQL VNet 服务终结点(包括限制),请参阅 Azure Database for MySQL 服务器 VNet 服务终结点。For an overview of Azure Database for MySQL VNet service endpoints, including limitations, see Azure Database for MySQL Server VNet service endpoints. 在 Azure Database for MySQL 的所有支持区域中,VNet 服务终结点均可用。VNet service endpoints are available in all supported regions for Azure Database for MySQL.

备注

只有常规用途和内存优化服务器才支持 VNet 服务终结点。Support for VNet service endpoints is only for General Purpose and Memory Optimized servers.

在 VNet 对等互连的情况下,如果流量通过具有服务终结点的公共 VNet 网关流动,并且应该流向对等机,请创建 ACL/VNet 规则,以便网关 VNet 中的 Azure 虚拟机能够访问 Azure Database for MySQL 服务器。In case of VNet peering, if traffic is flowing through a common VNet Gateway with service endpoints and is supposed to flow to the peer, please create an ACL/VNet rule to allow Azure Virtual Machines in the Gateway VNet to access the Azure Database for MySQL server.

在 Azure 门户中创建 VNet 规则和启用服务终结点Create a VNet rule and enable service endpoints in the Azure portal

在 MySQL 服务器页面上的“设置”标题下,单击“连接安全性” ,以打开 Azure Database for MySQL 的“连接安全性”窗格。On the MySQL server page, under the Settings heading, click Connection Security to open the Connection Security pane for Azure Database for MySQL.

确保将“允许访问 Azure 服务”控件设置为“关闭”。Ensure that the Allow access to Azure services control is set to OFF .

重要

如果将此控件设置为“启用”,则 Azure MySQL 数据库服务器接受来自任何子网的通信。If you leave the control set to ON, your Azure MySQL Database server accepts communication from any subnet. 从安全角度来看,将此控件设置为“启用”可能会导致过度访问。Leaving the control set to ON might be excessive access from a security point of view. "Microsoft Azure 虚拟网络服务终结点" 功能与 Azure Database for MySQL 的虚拟网络规则功能一起,共同降低了安全面。The Microsoft Azure Virtual Network service endpoint feature, in coordination with the virtual network rule feature of Azure Database for MySQL, together can reduce your security surface area.

接下来,单击“+ 添加现有虚拟网络” 。Next, click on + Adding existing virtual network . 若无现有 VNet,可以单击“+ 新建虚拟网络” 来创建一个。If you do not have an existing VNet you can click + Create new virtual network to create one.

输入 VNet 规则名称,选择订阅、虚拟网络和子网名称,再单击“启用” 。Enter a VNet rule name, select the subscription, Virtual network and Subnet name and then click Enable . 这会使用 Microsoft.SQL 服务标记自动对子网启用 VNet 服务终结点。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.

若要在 VNet 中保护 Azure 服务资源,用户必须对所添加的子网拥有“Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/”权限。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.

VNet 和 Azure 服务资源可以位于相同或不同的订阅中。VNets and Azure service resources can be in the same or different subscriptions. 如果 VNet 和 Azure 服务资源位于不同的订阅中,资源应在相同的 Active Directory (AD) 租户下。If the VNet and Azure service resources are in different subscriptions, the resources should be under the same Active Directory (AD) tenant. 确保两个订阅都注册了 Microsoft.Sql 资源提供程序。Ensure that both the subscriptions have the Microsoft.Sql resource provider registered. 有关详细信息,请参阅资源管理器注册

重要

强烈建议在配置服务终结点前,先阅读本文介绍的服务终结点配置和注意事项。It is highly recommended to read this article about service endpoint configurations and considerations before configuring service endpoints. 虚拟网络服务终结点: 虚拟网络服务终结点是一个子网,其属性值包括一个或多个正式的 Azure 服务类型名称。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 服务终结点使用服务类型名称 Microsoft.Sql,可引用名为“SQL 数据库”的 Azure 服务。VNet services endpoints use the service type name Microsoft.Sql , which refers to the Azure service named SQL Database. 此服务标记也适用于 Azure SQL 数据库、Azure Database for PostgreSQL 和 MySQL 服务。This service tag also applies to the Azure SQL Database, Azure Database for PostgreSQL and MySQL services. 请务必要注意,对 VNet 服务终结点应用 Microsoft.Sql 服务标记时,它会为所有 Azure 数据库服务配置服务终结点流量,其中包括 Azure SQL 数据库、Azure Database for PostgreSQL 和子网上的 Azure Database for MySQL 服务器。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 and Azure Database for MySQL servers on the subnet.

启用后,单击“确定” 即可看到 VNet 服务终结点与 VNet 规则一起启用。Once enabled, click OK and you will see that VNet service endpoints are enabled along with a VNet rule.

后续步骤Next steps

azure mysql on vnet_管理 VNet 终结点 - Azure 门户 - Azure Database for MySQL | Microsoft Docs相关推荐

  1. mysql如何实现管理权限分离_基于SpringCloud+vue(ElementUI)+mySQL前后端分离设计之--搭建权限管理系统...

    权限图: pom.xml xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/ ...

  2. 数据库助手连接MySQL设置_数据库实验助手概述 - Database Experimentation Assistant | Microsoft Docs...

    数据库实验助手概述Overview of Database Experimentation Assistant 12/12/2019 本文内容 数据库实验助手 (DEA) 是 SQL Server 升 ...

  3. mysql @pdept_MySQL 基本管理与常用sql 归结

    备份恢复的策略 1.确定要备份表的存储引擎是事务还是非事务的,不同的引擎备份方式在处理数据一致性方面 是不大一样的. 2.确定使用全备份还是增量备份.全备份的优点是备份保持最新备份,恢复的时候可以花费 ...

  4. MYSQL视图用户管理

    MYSQL视图 文章目录 MYSQL视图 1. 基本使用 2. 视图规则和限制 用户管理 1. 用户 2. 数据库的权限 视图是一个虚拟表,其内容由查询定义.同真实的表一样,视图包含一系列带有名称的列 ...

  5. MySQL之账号管理.建库以及四大引擎

    目录 1.mysql简介 2.MySQL安装 安装MySQL(8.0的版本) 安装MySQL(5.7的版本) 删除MySQL(这是5.5版本的卸载方式) 3.命令行登陆及权限修改 4.MySQL默认四 ...

  6. 负载均衡mysql的使用_使用负载均衡集群集化 MySQL - Azure Virtual Machines | Microsoft Docs...

    使用负载均衡的集来群集化 Linux 上的 MySQL 04/14/2015 本文内容 重要 经典 VM 将于 2023 年 3 月 1 日停用. 如果从 ASM 使用 IaaS 资源,请在 2023 ...

  7. 用Azure VM + Azure Database for MySQL搭建Web服务

    仍然是一篇动手实验,实验演示如何在Azure的虚拟机内部署一个Web服务器,并且使用Azure Mysql PaaS作为本应用的数据库.此实验的目的一方面是为了演示Azure IaaS层和PaaS服务 ...

  8. Azure运维系列 4:安装和使用Azure PowerShell管理云

    前面讲到了很多的管理方式,包括Azure中国最近更新的预览版管理门户和Azure云助理,都是非常不错的管理Azure的方式,今天我们再来介绍一种更加高效的管理方式Azure PowerShell.熟悉 ...

  9. mysql慢查询call_慢查询日志 - Azure Database for MySQL | Microsoft Docs

    您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn. Azure Datab ...

最新文章

  1. 数论基础--矩阵快速幂 及其例题
  2. r语言中调用c 程序,如何在R程序包中调用C函数
  3. 一次综合的、深入浅出的压感的回顾与总结
  4. [Linux]history 显示命令执行的时间
  5. php 文章搜索,登录 - 文章搜索 - phpStudy - phpStudy
  6. wdcp后台重启服务器后mysql打不开
  7. jsr223 java_Jmeter 组件 JSR223 使用详解
  8. 用咨询的角度去实施软件项目
  9. [渝粤教育] 中国地质大学 职业健康管理体系 复习题 (2)
  10. Nginx突破高并发的性能优化 - 运维笔记
  11. 学习jQuery之旅--新手必须知道的常用方法
  12. 前端后台的爱恨情仇——接口调试
  13. pythonddos防御_一个自动封IP防御DDOS脚本
  14. 《Redis开发与运维》学习第四章
  15. MATLAB向量运算
  16. SEO优化技术的简介
  17. 在实现视频播放器的步骤client(三)风行网络电影列表
  18. 【机器学习】左逆、右逆、伪逆和广义逆的概念理解
  19. c++工程师历年企业笔试真题汇总
  20. java gc 监控_java 内存、GC、性能监控

热门文章

  1. hive map格式转换为字符串_Hive与MySQL的不同之处之类型转换cast和covert函数
  2. Asp.Net使用Yahoo.Yui.Compressor.dll压缩Js|Css
  3. js中的弹窗alert、confirm和prompt
  4. Oracle plsql 月历
  5. vc给exe更改图标
  6. C++总结篇(4)内存管理
  7. Ubuntu下安装配置VIM/GVIM(GUI-Vim)
  8. 华为交换机S3700-TELNET远程管理交换机配置
  9. leetCode —— 1200.最小绝对差
  10. sas sql 读取最后一行数据_SAS基础编程和数据处理