|
| 1 | +--- |
| 2 | +title: Microsoft Energy Data Services - how to set up private links #Required; page title is displayed in search results. Include the brand. |
| 3 | +description: Guide to set up private links on Microsoft Energy Data Services #Required; article description that is displayed in search results. |
| 4 | +author: Lakshmisha-KS #Required; your GitHub user alias, with correct capitalization. |
| 5 | +ms.author: lakshmishaks #Required; microsoft alias of author; optional team alias. |
| 6 | +ms.service: energy-data-services #Required; service per approved list. slug assigned by ACOM. |
| 7 | +ms.topic: how-to #Required; leave this attribute/value as-is. |
| 8 | +ms.date: 09/29/2022 |
| 9 | +ms.custom: template-concept #Required; leave this attribute/value as-is. |
| 10 | +#Customer intent: As a developer, I want to set up private links on Microsoft Energy Data Services |
| 11 | +--- |
| 12 | + |
| 13 | +# Private Links in Microsoft Energy Data Services |
| 14 | +[Azure Private Link](../private-link/private-link-overview.md) provides private connectivity from a virtual network to Azure platform as a service (PaaS). It simplifies the network architecture and secures the connection between endpoints in Azure by eliminating data exposure to the public internet. |
| 15 | +By using Azure Private Link, you can connect to a Microsoft Energy Data Services Preview instance from your virtual network via a private endpoint, which is a set of private IP addresses in a subnet within the virtual network. |
| 16 | + |
| 17 | + |
| 18 | +You can then limit access to your Microsoft Energy Data Services Preview instance over these private IP addresses. |
| 19 | +You can connect to a Microsoft Energy Data Services configured with Private Link by using the automatic or manual approval method. To [learn more](../private-link/private-endpoint-overview.md#access-to-a-private-link-resource-using-approval-workflow), see the Approval workflow section of the Private Link documentation. |
| 20 | + |
| 21 | + |
| 22 | +This article describes how to set up private endpoints for Microsoft Energy Data Services Preview. |
| 23 | + |
| 24 | +[!INCLUDE [preview features callout](./includes/preview/preview-callout.md)] |
| 25 | + |
| 26 | +## Pre-requisites |
| 27 | + |
| 28 | +Create a virtual network in the same subscription as the Microsoft Energy Data Services instance. [Learn more](../virtual-network/quick-create-portal.md). This will allow auto-approval of the private link endpoint. |
| 29 | + |
| 30 | +## Create a private endpoint by using the Azure portal |
| 31 | + |
| 32 | +Use the following steps to create a private endpoint for an existing Microsoft Energy Data Services instance by using the Azure portal: |
| 33 | +1. From the **All resources** pane, choose a Microsoft Energy Data Services Preview instance. |
| 34 | +2. Select **Networking** from the list of settings. |
| 35 | + |
| 36 | + [](media/how-to-manage-private-links/private-links-1-Networking.png#lightbox) |
| 37 | + |
| 38 | + |
| 39 | +3. Select **Public Access** and select **Enabled from all networks** to allow traffic from all networks. |
| 40 | +4. To block traffic from all networks, select **Disabled**. |
| 41 | +5. Select **Private access** tab and select **Create a private endpoint**, to create a Private Endpoint Connection. |
| 42 | + |
| 43 | + [](media/how-to-manage-private-links/private-links-2-create-private-endpoint.png#lightbox) |
| 44 | + |
| 45 | +6. In the Create a private endpoint - **Basics pane**, enter or select the following details: |
| 46 | + |
| 47 | + |Setting| Value| |
| 48 | + |--------|-----| |
| 49 | + |Project details| |
| 50 | + |Subscription| Select your subscription.| |
| 51 | + |Resource group| Select a resource group.| |
| 52 | + |Instance details| |
| 53 | + |Name| Enter any name for your private endpoint. If this name is taken, create a unique one.| |
| 54 | + |Region| Select the region where you want to deploy Private Link. | |
| 55 | + |
| 56 | + [](media/how-to-manage-private-links/private-links-3-basics.png#lightbox) |
| 57 | + |
| 58 | +> [!NOTE] |
| 59 | +> Auto-approval only happens when the Microsoft Energy Data Services Preview instance and the vnet for the private link are in the same subscription. |
| 60 | +
|
| 61 | + |
| 62 | +7. Select **Next: Resource.** |
| 63 | +8. In **Create a private endpoint - Resource**, the following information should be selected or available: |
| 64 | + |
| 65 | + |Setting | Value | |
| 66 | + |--------|--------| |
| 67 | + |Subscription| Your subscription.| |
| 68 | + |Resource type| Microsoft.OpenEnergyPlatform/energyServices| |
| 69 | + |Resource |Your Microsoft Energy Data Services instance.| |
| 70 | + |Target sub-resource| This defaults to MEDS. | |
| 71 | + |
| 72 | + [](media/how-to-manage-private-links/private-links-4-resource.png#lightbox) |
| 73 | + |
| 74 | + |
| 75 | +9. Select **Next: Virtual Network.** |
| 76 | +10. In the Virtual Network screen, you can: |
| 77 | + |
| 78 | + * Configure Networking and Private IP Configuration settings. [Learn more](../private-link/create-private-endpoint-portal.md#create-a-private-endpoint) |
| 79 | + |
| 80 | + * Configure private endpoint with ASG. [Learn more](../private-link/configure-asg-private-endpoint.md#create-private-endpoint-with-an-asg) |
| 81 | + |
| 82 | + [](media/how-to-manage-private-links/private-links-4-virtual-network.png#lightbox) |
| 83 | + |
| 84 | + |
| 85 | +11. Select **Next: DNS**. You can leave the default settings or learn more about DNS configuration. [Learn more](../private-link/private-endpoint-overview.md#dns-configuration) |
| 86 | + |
| 87 | + |
| 88 | + [](media/how-to-manage-private-links/private-links-5-dns.png#lightbox) |
| 89 | + |
| 90 | +12. Select **Next: Tags** and add tags to categorize resources. |
| 91 | +13. Select **Review + create**. On the Review + create page, Azure validates your configuration. |
| 92 | +14. When you see the Validation passed message, select **Create**. |
| 93 | + |
| 94 | + [](media/how-to-manage-private-links/private-links-6-review.png#lightbox) |
| 95 | + |
| 96 | + |
| 97 | +15. Once the deployment is complete, select **Go to resource**. |
| 98 | + |
| 99 | + [](media/how-to-manage-private-links/private-links-7-deploy.png#lightbox) |
| 100 | + |
| 101 | + |
| 102 | +16. The Private Endpoint created is **Auto-approved**. |
| 103 | + |
| 104 | + [](media/how-to-manage-private-links/private-links-8-request-response.png#lightbox) |
| 105 | + |
| 106 | +17. Select the **Microsoft Energy Data Services** instance and navigate to the **Networking** tab to see the Private Endpoint created. |
| 107 | + |
| 108 | + [](media/how-to-manage-private-links/private-links-9-auto-approved.png#lightbox) |
| 109 | + |
| 110 | + |
| 111 | +18. When the Microsoft Energy Data Services and vnet are in different tenants or subscriptions, you will be required to **Approve** or **Reject** the **Private Endpoint** creation request. |
| 112 | + |
| 113 | + [](media/how-to-manage-private-links/private-links-10-awaiting-approval.png#lightbox) |
| 114 | + |
| 115 | + |
| 116 | +## Next steps |
| 117 | +<!-- Add a context sentence for the following links --> |
| 118 | +> [!div class="nextstepaction"] |
| 119 | +> [How to manage users](how-to-manage-users.md) |
0 commit comments