Skip to content

Commit be8b97d

Browse files
Merge pull request #186622 from alexeyo26/alexeyo/spech-studio-vnet
[CogSvc] Speech. Using Speech Studio with private and VNET service endpoints.
2 parents 3bdcfb2 + 7d0a382 commit be8b97d

File tree

3 files changed

+57
-1
lines changed

3 files changed

+57
-1
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
author: alexeyo26
3+
ms.service: cognitive-services
4+
ms.subservice: speech-service
5+
ms.topic: include
6+
ms.date: 02/23/2022
7+
ms.author: alexeyo
8+
---
9+
10+
## Use of Speech Studio
11+
12+
[Speech Studio](../speech-studio-overview.md) is a web portal with tools for building and integrating Azure Cognitive Speech service in your application. When you work in Speech Studio projects, network connections and API calls to the corresponding Speech resource are made on your behalf. Working with [private endpoints](../speech-services-private-link.md), [virtual network service endpoints](../speech-service-vnet-service-endpoint.md), and other network security options can limit the availability of Speech Studio features. You normally use Speech Studio when working with features, like [Custom Speech](../custom-speech-overview.md), [Custom Neural Voice](../how-to-custom-voice.md) and [Audio Content Creation](../how-to-audio-content-creation.md).
13+
14+
15+
### Reaching Speech Studio web portal from a Virtual network
16+
17+
To use Speech Studio from a virtual machine within an Azure Virtual network, you must allow outgoing connections to the required set of [service tags](../../../virtual-network/service-tags-overview.md) for this virtual network. See details [here](../../cognitive-services-virtual-networks.md#supported-regions-and-service-offerings).
18+
19+
Access to the Speech resource endpoint is *not* equal to access to Speech Studio web portal. Access to Speech Studio web portal via private or Virtual Network service endpoints is not supported.
20+
21+
### Working with Speech Studio projects
22+
23+
This section describes working with the different kind of Speech Studio projects for the different network security options of the Speech resource. It's expected that the web browser connection to Speech Studio is established. Speech resource network security settings are set in Azure portal.
24+
25+
1. Go to the [Azure portal](https://portal.azure.com/) and sign in to your Azure account.
26+
1. Select the Speech resource.
27+
1. In the **Resource Management** group in the left pane, select **Networking** > **Firewalls and virtual networks**.
28+
1. Select one option from **All networks**, **Selected Networks and Private Endpoints**, or **Disabled**.
29+
30+
#### Custom Speech
31+
32+
The following table describes Custom Speech project accessibility per Speech resource **Networking** > **Firewalls and virtual networks** security setting.
33+
34+
> [!NOTE]
35+
> If you allow only private endpoints via the **Networking** > **Private endpoint connections** tab, then you can't use Speech Studio with the Speech resource. You can still use the Speech resource outside of Speech Studio.
36+
37+
| Speech resource network security setting | Speech Studio project accessibility |
38+
|--|--|
39+
| All networks | No restrictions |
40+
| Selected Networks and Private Endpoints | Accessible from allowed IP addresses |
41+
| Disabled | Not accessible |
42+
43+
If you select **Selected Networks and private endpoints**, then you will see a tab with **Virtual networks** and **Firewall** access configuration options. In the **Firewall** section, you must allow at least one public IP address and use this address for the browser connection with Speech Studio.
44+
45+
If you allow only access via **Virtual network**, then in effect you don't allow access to the Speech resource through Speech Studio. You can still use the Speech resource outside of Speech Studio.
46+
47+
To use custom speech without relaxing network access restrictions on your production Speech resource, consider one of these workarounds.
48+
* Create another Speech resource for development that can be used on a public network. Prepare your custom model in Speech Studio on the development resource, and then copy the model to your production resource. See the [Copy Model](https://centralus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-0/operations/CopyModelToSubscription) REST request with [Speech-to-text REST API v3.0](../rest-speech-to-text.md#speech-to-text-rest-api-v30).
49+
* You have the option to not use Speech Studio for custom speech. Use the [Speech-to-text REST API v3.0](../rest-speech-to-text.md#speech-to-text-rest-api-v30) for all custom speech operations.
50+
51+
#### Custom Voice and Audio Content Creation
52+
53+
You can use Custom Voice and Audio Content Creation Speech Studio projects only when the Speech resource network security setting is **All networks**.

articles/cognitive-services/Speech-Service/speech-service-vnet-service-endpoint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ In this scenario, private endpoints aren't enabled and one of these statements i
8787

8888
This scenario is equivalent to [using a Speech resource that has a custom domain name and that doesn't have private endpoints](speech-services-private-link.md#adjust-an-application-to-use-a-speech-resource-without-private-endpoints).
8989

90+
[!INCLUDE [](includes/speech-studio-vnet.md)]
9091

9192
[!INCLUDE [](includes/speech-vnet-service-enpoints-private-endpoints-simultaneously.md)]
9293

93-
9494
## Learn more
9595

9696
* [Use Speech service through a private endpoint](speech-services-private-link.md)

articles/cognitive-services/Speech-Service/speech-services-private-link.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@ Follow these steps to modify your code:
341341

342342
After this modification, your application should work with the private-endpoint-enabled Speech resources. We're working on more seamless support of private endpoint scenarios.
343343

344+
[!INCLUDE [](includes/speech-studio-vnet.md)]
345+
346+
344347
## Adjust an application to use a Speech resource without private endpoints
345348

346349
In this article, we've pointed out several times that enabling a custom domain for a Speech resource is *irreversible*. Such a resource will use a different way of communicating with Speech service, compared to the ones that are using [regional endpoint names](../cognitive-services-custom-subdomains.md#is-there-a-list-of-regional-endpoints).

0 commit comments

Comments
 (0)