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

教程:准备部署 Azure Stack Edge ProTutorial: Prepare to deploy Azure Stack Edge Pro

本文是完整部署 Azure Stack Edge Pro 时必读的部署教程系列的第一篇教程。This is the first tutorial in the series of deployment tutorials that are required to completely deploy Azure Stack Edge Pro. 本教程介绍如何准备 Azure 门户,以便部署 Azure Stack Edge 资源。This tutorial describes how to prepare the Azure portal to deploy a Azure Stack Edge resource.

需要有管理员权限才能完成安装和配置过程。You need administrator privileges to complete the setup and configuration process. 门户准备只需不到 10 分钟的时间。The portal preparation takes less than 10 minutes.

在本教程中,你将了解如何执行以下操作:In this tutorial, you learn how to:

  • 创建新资源Create a new resource
  • 获取激活密钥Get the activation key

如果没有 Azure 订阅,请在开始之前创建一个免费帐户If you don't have an Azure subscription, create a free account before you begin.

入门Get started

若要部署 Azure Stack Edge Pro,请按指定顺序参阅以下教程。To deploy Azure Stack Edge Pro, refer to the following tutorials in the prescribed sequence.

# 此步骤的内容In this step 使用这些文档Use these documents
1.1. 在 Azure 门户中做好部署 Azure Stack Edge Pro 的准备Prepare the Azure portal for Azure Stack Edge Pro 在安装 Azure Stack Edge 物理设备之前创建并配置 Azure Stack Edge 资源。Create and configure your Azure Stack Edge resource before you install a Azure Stack Box Edge physical device.
2.2. 安装 Azure Stack Edge ProInstall Azure Stack Edge Pro 将 Azure Stack Edge Pro 物理设备拆包、装入机架并布线。Unpack, rack, and cable the Azure Stack Edge Pro physical device.
3.3. 连接、设置并激活 Azure Stack Edge ProConnect, set up, and activate Azure Stack Edge Pro 连接到本地 Web UI,完成设备设置,然后激活设备。Connect to the local web UI, complete the device setup, and activate the device. 现已准备好在设备设置 SMB 或 NFS 共享。The device is ready to set up SMB or NFS shares.
4.4. 使用 Azure Stack Edge Pro 传输数据Transfer data with Azure Stack Edge Pro 添加共享,并通过 SMB 或 NFS 连接到共享。Add shares and connect to shares via SMB or NFS.
5.5. 使用 Azure Stack Edge Pro 转换数据Transform data with Azure Stack Edge Pro 在设备上配置计算模块,以便在将数据移到 Azure 时转换数据。Configure compute modules on the device to transform the data as it moves to Azure.

现在可以开始设置 Azure 门户。You can now begin to set up the Azure portal.

先决条件Prerequisites

下面是 Azure Stack Edge 资源、Azure Stack Edge Pro 设备和数据中心网络的配置先决条件。Following are the configuration prerequisites for your Azure Stack Edge resource, your Azure Stack Edge Pro device, and the datacenter network.

对于 Azure Stack Edge 资源For the Azure Stack Edge resource

在开始之前,请确保:Before you begin, make sure that:

  • 已为 Azure Stack Edge 资源启用 Microsoft Azure 订阅。Your Microsoft Azure subscription is enabled for an Azure Stack Edge resource. 确保使用了受支持的订阅,例如 Microsoft 企业协议 (EA)云解决方案提供商 (CSP)Microsoft Azure 赞助Make sure that you used a supported subscription such as Microsoft Enterprise Agreement (EA), Cloud Solution Provider (CSP), or Microsoft Azure Sponsorship. 不支持即用即付订阅。Pay-as-you-go subscriptions are not supported.

  • 你在资源组级别拥有对 Azure Stack Edge/Data Box Gateway、IoT 中心和 Azure 存储资源的所有者或参与者访问权限。You have owner or contributor access at resource group level for the Azure Stack Edge / Data Box Gateway, IoT Hub, and Azure Storage resources.

    • 你应是订阅级别的“所有者”才能授予参与者访问权限。You should be an Owner at the subscription level to grant contributor access. 若要向其他人授予参与者访问权限,在 Azure 门户中,转到“所有服务” > “订阅” > “访问控制(IAM)” > “+添加” > “添加角色分配” 。To give contributor access to someone else, in Azure portal, go to All Services > Subscriptions > Access control (IAM) > +Add > Add role assignment. 有关详细信息,请参阅教程:使用 Azure 门户授予用户对 Azure 资源的访问权限For more information, see Tutorial: Grant a user access to Azure resources using the Azure portal.

    • 若要创建任何 Azure Stack Edge/Data Box Gateway 资源,你应该在资源组级别范围内具有参与者(或更高级别)权限。To create any Azure Stack Edge / Data Box Gateway resource, you should have permissions as a contributor (or higher) scoped at resource group level. 你还需要确保已注册 Microsoft.DataBoxEdge 资源提供程序。You also need to make sure that the Microsoft.DataBoxEdge resource provider is registered. 有关如何注册资源提供程序的信息,请参阅注册资源提供程序For information on how to register a resource provider, see Register resource provider.

    • 若要创建任何 IoT 中心资源,请确保已注册 Microsoft.Devices 提供程序。To create any IoT Hub resource, make sure that Microsoft.Devices provider is registered. 有关如何注册的信息,请转到注册资源提供程序For information on how to register, go to Register resource provider.

    • 若要创建存储帐户资源,你同样需要资源组级别范围内的参与者或更高级别访问权限。To create a Storage account resource, again you need contributor or higher access scoped at the resource group level. Azure 存储在默认情况下是已注册的资源提供程序。Azure Storage is by default a registered resource provider.

  • 你拥有对 Azure Active Directory 图形 API 的管理员或用户访问权限。You have admin or user access to Azure Active Directory Graph API. 有关详细信息,请参阅 Azure Active Directory 图形 APIFor more information, see Azure Active Directory Graph API.

  • 具有 Microsoft Azure 存储帐户和访问凭据。You have your Microsoft Azure storage account with access credentials.

  • 你未被系统管理员设置的任何 Azure 策略阻止。You are not blocked by any Azure policy set up by your system administrator. 有关策略的详细信息,请参阅快速入门:创建策略分配以识别不合规资源For more information about policies, see Quickstart: Create a policy assignment to identify non-compliant resources.

对于 Azure Stack Edge Pro 设备For the Azure Stack Edge Pro device

在部署物理设备之前,请确保:Before you deploy a physical device, make sure that:

  • 你已经查看配送包中包含的安全信息。You've reviewed the safety information that was included in the shipment package.
  • 在数据中心的标准 19 英寸机架中提供一个 1U 插槽用于安装设备的机架。You have a 1U slot available in a standard 19" rack in your datacenter for rack mounting the device.
  • 将设备安全放置在平坦、稳定的水平工作台面上。You have access to a flat, stable, and level work surface where the device can rest safely.
  • 用于安装设备的位置具有来自独立源的标准交流电,或具有带不间断电源 (UPS) 的机架电源分配单元 (PDU)。The site where you intend to set up the device has standard AC power from an independent source or a rack power distribution unit (PDU) with an uninterruptible power supply (UPS).
  • 有权访问物理设备。You have access to a physical device.

对于数据中心网络For the datacenter network

在开始之前,请确保:Before you begin, make sure that:

  • 按你的 Azure Stack Edge Pro 设备的网络要求配置数据中心内的网络。The network in your datacenter is configured per the networking requirements for your Azure Stack Edge Pro device. 有关详细信息,请参阅 Azure Stack Edge Pro 系统要求For more information, see Azure Stack Edge Pro System Requirements.

  • 若要使 Azure Stack Edge Pro 正常运行,请做好以下准备:For normal operating conditions of your Azure Stack Edge Pro, you have:

    • 使用至少 10 Mbps 的下载带宽以确保设备更新。A minimum of 10-Mbps download bandwidth to ensure the device stays updated.
    • 使用至少 20 Mbps 的专用上传和下载带宽传输文件。A minimum of 20-Mbps dedicated upload and download bandwidth to transfer files.

创建新资源Create a new resource

如果现有的 Azure Stack Edge 资源可以管理物理设备,请跳过此步骤,转到获取激活密钥If you have an existing Azure Stack Edge resource to manage your physical device, skip this step and go to Get the activation key.

若要创建 Azure Stack Edge 资源,请在 Azure 门户中执行以下步骤。To create a Azure Stack Edge resource, take the following steps in the Azure portal.

  1. 使用 Microsoft Azure 凭据通过Use your Microsoft Azure credentials to sign in to

  2. 在左窗格中,选择“+ 创建资源”。In the left-pane, select + Create a resource. 搜索并选择“Azure Stack Edge/Data Box Gateway”。Search for and select Azure Stack Edge / Data Box Gateway. 选择“创建”。Select Create.

  3. 选取要用于 Azure Stack Edge Pro 设备的订阅。Pick the subscription that you want to use for the Azure Stack Edge Pro device. 选择要部署 Azure Stack Edge 资源的区域。Select the region where you want to deploy the Azure Stack Edge resource. 有关可使用 Azure Stack Edge 资源的所有区域的列表,请参阅可用的 Azure 产品(按区域)For a list of all the regions where the Azure Stack Edge resource is available, see Azure products available by region.

    选择离要部署设备的地理区域最近的位置。Choose a location closest to the geographical region where you want to deploy your device. 该区域只存储用于设备管理的元数据。The region stores only the metadata for device management. 实际数据可以存储在任何存储帐户中。The actual data can be stored in any storage account.

    在“Azure Stack Edge Pro”选项中,选择“创建” 。In the Azure Stack Edge Pro option, select Create.

    搜索 Azure Stack Edge 服务

  4. 在“基本信息”选项卡上,输入或选择以下“项目详细信息”。On the Basics tab, enter or select the following Project details.

    设置Setting ValueValue
    订阅Subscription 系统会根据前面所做的选择自动填充此字段。This is automatically populated based on the earlier selection. 订阅将链接到你的计费帐户。Subscription is linked to your billing account.
    资源组Resource group 选择现有的组,或创建新组。Select an existing group or create a new group.
    详细了解 Azure 资源组Learn more about Azure Resource Groups.
  5. 输入或选择以下“实例详细信息”。Enter or select the following Instance details.

    设置Setting Value
    名称Name 用于标识资源的友好名称。A friendly name to identify the resource.
    该名称的长度必须介于 2 和 50 个字符之间,只能包含字母、数字和连字符。The name has between 2 and 50 characters containing letter, numbers, and hyphens.
    名称以字母或数字开头和结尾。Name starts and ends with a letter or a number.
    区域Region 有关可使用 Azure Stack Edge 资源的所有区域的列表,请参阅可用的 Azure 产品(按区域)For a list of all the regions where the Azure Stack Edge resource is available, see Azure products available by region. 如果使用 Azure 政府版,则可选择 Azure 区域中显示的所有可用的政府区域。If using Azure Government, all the government regions are available as shown in the Azure regions.
    选择离要部署设备的地理区域最近的位置。Choose a location closest to the geographical region where you want to deploy your device.

    项目和实例详细信息

  6. 在完成时选择“下一步:送货地址”。Select Next: Shipping address.

    • 如果你已有一个设备,请选择与“我有 Azure Stack Edge Pro 设备”对应的组合框。If you already have a device, select the combo box for I have a Azure Stack Edge Pro device.
    • 如果这是你订购的新设备,请输入联系人姓名、公司、寄送设备的地址,以及联系人信息。If this is the new device that you are ordering, enter the contact name, company, address to ship the device, and contact information.

    新设备的送货地址

  7. 在完成时选择“下一步:查看 + 创建”。Select Next: Review + create.

  8. 在“查看 + 创建”选项卡上,查看“定价详细信息”、“使用条款”和资源的详细信息。On the Review + create tab, review the Pricing details, Terms of use, and the details for your resource. 选择与“我已经查看隐私条款”对应的组合框。Select the combo box for I have reviewed the privacy terms.

    查看 Azure Stack Edge 资源详细信息和隐私条款

  9. 选择“创建”。Select Create.

创建资源需要几分钟时间。The resource creation takes a few minutes. 成功创建并部署资源后,你会收到通知。After the resource is successfully created and deployed, you're notified. 选择“转到资源”。Select Go to resource.

转到 Azure Stack Edge 资源

在你下单以后,Microsoft 会审核订单并通过电子邮件联系你,核对配送详细信息。After the order is placed, Microsoft reviews the order and reaches out to you (via email) with shipping details.

关于审核 Azure Stack Edge Pro 订单的通知

获取激活密钥Get the activation key

在 Azure Stack Edge 资源启动并运行后,你需要获取激活密钥。After the Azure Stack Edge resource is up and running, you'll need to get the activation key. 此密钥用于激活 Azure Stack Edge Pro 设备并将其连接到资源。This key is used to activate and connect your Azure Stack Edge Pro device with the resource. 如果你仍在 Azure 门户中,则现在可以获取此密钥。You can get this key now while you are in the Azure portal.

  1. 转到创建的资源,然后选择“概述”。Go to the resource that you created and select Overview. 你将看到一个通知,指示你的订单正在处理中。You'll see a notification to the effect that your order is being processed.

    选择“概述”

  2. 订单处理完毕并且设备就绪后,“概述”将更新。After the order is processed and the device is on your way, the Overview updates. 接受默认的 Azure Key Vault 名称或输入新名称。Accept the default Azure Key Vault name or enter a new one. 选择“生成激活密钥”。Select Generate activation key. 选择复制图标复制密钥并将其保存供日后使用。Select the copy icon to copy the key and save it for later use.

    获取激活密钥

重要

  • 生成的激活密钥将在三天后过期。The activation key expires three days after it is generated.
  • 如果密钥已过期,请生成新密钥。If the key has expired, generate a new key. 旧密钥不再有效。The older key is not valid.

后续步骤Next steps

在本教程中,你已了解了以下 Azure Stack Edge Pro 主题:In this tutorial, you learned about Azure Stack Edge Pro topics such as:

  • 创建新资源Create a new resource
  • 获取激活密钥Get the activation key

请继续学习下一教程,了解如何安装 Azure Stack Edge Pro。Advance to the next tutorial to learn how to install Azure Stack Edge Pro.