Skip to content

Commit 1c530b1

Browse files
Merge pull request #231563 from fvneerden/patch-38
Update storage-behind-firewall.md
2 parents a6f9200 + e5233e8 commit 1c530b1

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

articles/azure-video-indexer/storage-behind-firewall.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Use Video Indexer with storage behind firewall
33
description: This article gives an overview how to configure Azure Video Indexer to use storage behind firewall.
44
ms.topic: article
5-
ms.date: 03/02/2023
5+
ms.date: 03/21/2023
66
ms.author: juliako
77
---
88

@@ -12,6 +12,8 @@ When you create a Video Indexer account, you must associate it with a Media Serv
1212

1313
If you want to use a firewall to secure your storage account and enable trusted storage, [Managed Identities](/azure/media-services/latest/concept-managed-identities) authentication that allows Video Indexer access through the firewall is the preferred option. It allows Video Indexer and Media Services to access the storage account that has been configured without needing public access for [trusted storage access.](../storage/common/storage-network-security.md?tabs=azure-portal#grant-access-to-trusted-azure-services)
1414

15+
[!IMPORTANT] When you lock your storage accounts without public access be aware that the client device you're using to download the video source file using the Video Indexer portal will be the source ip that the storage account will see and allow/deny depending on the network configuration of your storage account. For instance, if I'm accessing the Video Indexer portal from my home network and I want to download the video source file a sas url to the storage account is created, my device will initiate the request and as a consequence the storage account will see my home ip as source ip. If you did not add exception for this ip you will not be able to access the SAS url to the source video. Work with your network/storage administrator on a network strategy i.e. use your corporate network, VPN or Private Link.
16+
1517
Follow these steps to enable Managed Identity for Media Services and Storage and then lock your storage account. It's assumed that you already created a Video Indexer account and associated with a Media Services and Storage account.
1618

1719
## Assign the Managed Identity and role
@@ -40,6 +42,11 @@ Follow these steps to enable Managed Identity for Media Services and Storage and
4042
:::image type="content" source="./media/storage-behind-firewall/trusted-service-storage-lock-select-exceptions.png" alt-text="Screenshot of how to disable public access for your storage account and enable exception for trusted services from the Azure portal.":::
4143
1. Under **Exceptions**, make sure that **Allow Azure services on the trusted services list to access this storage account** is selected.
4244

45+
46+
## Upload from locked storage account
47+
48+
When uploading a file to Video Indexer you can provide a link to a video using a SAS locator. If the storage account hosting the video is not publicly accessible we need to use the Managed Identity and Trusted Service approach. Since there is no way for us to know if a SAS url is pointing to a locked storage account, and this also applies to the storage account connected to Media Services, you need to explicitly set the query parameter `useManagedIdentityToDownloadVideo` to `true` in the [upload-video API call](https://api-portal.videoindexer.ai/api-details#api=Operations&operation=Upload-Video). In addition, you also need to set the role `Azure Storage : Storage Blob Data Owner` on this storage account as you did with the storage account connect to Media Services in the previous section.
49+
4350
## Summary
4451

4552
This concludes the tutorial. With these steps you've completed the following activities:
@@ -50,4 +57,4 @@ This concludes the tutorial. With these steps you've completed the following act
5057

5158
## Next steps
5259

53-
[Disaster recovery](video-indexer-disaster-recovery.md)
60+
[Disaster recovery](video-indexer-disaster-recovery.md)

0 commit comments

Comments
 (0)