You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/remote-rendering/how-tos/create-an-account.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,16 +24,16 @@ The following steps are needed to create an account for the Azure Remote Renderi
24
24
1. Set 'Resource Name' to the name of the account
25
25
1. Update 'Subscription' if needed
26
26
1. Set 'Resource group' to a resource group of your choice
27
-
1. Select a region from the 'Location' dropdown where this resource should be created in. See remarks on [account regions](create-an-account.md#account-regions) below.
27
+
1. Select a region from the 'Location' dropdown where this resource should be created in. See remarks on [account regions](create-an-account.md#account-regions).
28
28
1. Once the account is created, navigate to it and:
29
29
1. In the *Overview* tab, note the 'Account ID'
30
-
1. In the *Settings > Access Keys* tab, note the 'Primary key' - this is the account's secret account key
30
+
1. In the *Settings > Access Keys* tab, note the 'Primary key' - this value is the account's secret account key
31
31
1. Make sure, that in the *Settings > Identity* tab, the option *System assigned > Status* is turned on.
32
32
33
33
:::image type="content" source="./media/azure-identity-add.png" alt-text="Screenshot of Remote Rendering Account Page in sub menu settings, identity, with the option System assigned status turned on.":::
34
34
35
35
### Account regions
36
-
The location that is specified during account creation time of an account determines which region the account resource is assigned to. This cannot be changed after creation. However, the account can be used to connect to a Remote Rendering session in any [supported region](./../reference/regions.md), regardless of the account's location.
36
+
The location that is specified during account creation time of an account determines which region the account resource is assigned to. The location can't be changed after creation. However, the account can be used to connect to a Remote Rendering session in any [supported region](./../reference/regions.md), regardless of the account's location.
37
37
38
38
### Retrieve the account information
39
39
@@ -43,11 +43,11 @@ The samples and tutorials require that you provide the account ID and a key. For
43
43
"accountSettings": {
44
44
"arrAccountId": "<fill in the account ID from the Azure portal>",
45
45
"arrAccountKey": "<fill in the account key from the Azure portal>",
46
-
"region": "<select from available regions>"
46
+
"arrAccountDomain": "<select from available regions: australiaeast, eastus, eastus2, japaneast, northeurope, southcentralus, southeastasia, uksouth, westeurope, westus2 or specify the full url>"
47
47
},
48
48
```
49
49
50
-
See the [list of available regions](../reference/regions.md) for filling out the *region* option.
50
+
See the [list of available regions](../reference/regions.md) for filling out the *arrAccountDomain* option.
51
51
52
52
The values for **`arrAccountId`** and **`arrAccountKey`** can be found in the portal as described in the following steps:
53
53
@@ -68,21 +68,21 @@ The value for **`arrAccountKey`** can either be primary or secondary key.
68
68
69
69
## Link storage accounts
70
70
71
-
This paragraph explains how to link storage accounts to your Remote Rendering account. When a storage account is linked it is not necessary to generate a SAS URI every time you want to interact with the data in your account, for instance when loading a model. Instead, you can use the storage account names directly as described in the [loading a model section](../concepts/models.md#loading-models).
71
+
This paragraph explains how to link storage accounts to your Remote Rendering account. With a linked account, it isn't necessary anymore to generate a SAS URI every time you want to interact with the data in your account. Instead, you can use the storage account names directly as described in the [loading a model section](../concepts/models.md#loading-models).
72
72
73
73
The steps in this paragraph have to be performed for each storage account that should use this access method. If you haven't created storage accounts yet, you can walk through the respective step in the [convert a model for rendering quickstart](../quickstarts/convert-model.md#storage-account-creation).
74
74
75
75
1. Navigate to your storage account in the Azure portal
76
76
77
-
1. Select **Access control (IAM)**.
77
+
2. Select **Access control (IAM)**.
78
78
79
-
1. Select **Add** > **Add role assignment** to open the **Add role assignment** page.
79
+
3. Select **Add** > **Add role assignment** to open the **Add role assignment** page.
80
80
81
-
If you don't have owner permissions to this storage account, the **Add a role assignment** option will be disabled.
81
+
If the **Add a role assignment** option is disabled, you probably don't have owner permissions to this storage account.
82
82
83
-
1. Assign the following role. For detailed steps, see [Assign Azure roles using the Azure portal](../../role-based-access-control/role-assignments-portal.md).
83
+
4. Assign the following role. For detailed steps, see [Assign Azure roles using the Azure portal](../../role-based-access-control/role-assignments-portal.md).
84
84
1. Select the **Storage Blob Data Contributor** role and click **Next**.
85
-
1. Choose to assign access to a **Managed Identity**.
85
+
1. Choose to assign access to a **Managed Identity**.
86
86
1. Select **Select members**, select your subscription, select **Remote Rendering Account**, select your remote rendering account, and then click **Select**.
In [Quickstart: Render a model with Unity](render-model.md), you learned how to use the Unity sample project to render a built-in model. This guide shows how to convert your own models.
13
+
In [Quickstart: Render a model with Unity](render-model.md), you learned how to use the Unity sample project to render a built-in model.
14
14
15
-
You'll learn how to:
15
+
This guide shows how to convert your own models, entailing these steps:
16
16
17
17
> [!div class="checklist"]
18
18
>
@@ -51,6 +51,7 @@ Once you have an Azure account, go to [https://portal.azure.com/#home](https://p
51
51
### Storage account creation
52
52
53
53
To create blob storage, you first need a storage account.
3. Clicking this button will bring up the following screen with storage properties to fill out:
63
+
3. Clicking this button brings up the following screen with storage properties to fill out:
63
64
64
65

65
66
66
67
4. Fill out the form in the following manner:
67
68
68
69
* Create a new Resource Group from the link below the drop-down box and name this **ARR_Tutorial**
69
-
* For the **Storage account name**, enter a unique name here. **This name must be globally unique**, otherwise there will be a prompt that informs you that the name is already taken. In the scope of this quickstart, we name it **arrtutorialstorage**. Accordingly, you need to replace it with your name for any occurrence in this quickstart.
70
+
* For the **Storage account name**, enter a unique name here. **This name must be globally unique**. An error message is shown if the name is already taken. In the scope of this quickstart, we name it **arrtutorialstorage**. Accordingly, you need to replace it with your name for any occurrence in this quickstart.
70
71
* Select a **Region** close to you. Ideally use the same [region](../reference/regions.md) as used for setting up the rendering in the other quickstart.
71
-
***Performance** set to 'Premium'. 'Standard' works as well, but has lower loading time characteristics when a model is loaded by the runtime.
72
+
***Performance** set to 'Premium'. 'Standard' works as well, but has lower loading time characteristics when loading a model.
72
73
***Premium account type** set to 'Block blobs'
73
74
***Redundancy** set to 'Zone-redundant storage (ZRS)'
74
75
75
-
5. None of the properties in other tabs have to be changed, so you can proceed with **"Review + create"** and then follow the steps to complete the setup.
76
+
1. None of the properties in other tabs have to be changed, so you can proceed with **"Review + create"** and then follow the steps to complete the setup.
76
77
77
-
6. The website now informs you about the progress of your deployment and reports "Your deployment is complete" eventually. Select **"Go to resource"** for the next steps:
78
+
2. The website now informs you about the progress of your deployment and reports "Your deployment is complete" eventually. Select **"Go to resource"** for the next steps:
Next we need two blob containers, one for input and one for output.
84
85
85
-
1. From the **"Go to resource"** button above, you get to a page with a panel on the left that contains a list menu. In that list under the **"Blob service"** category, select **"Containers"**:
86
+
1. From the **"Go to resource"** button, you get to a page with a panel on the left that contains a list menu. In that list under the **"Blob service"** category, select **"Containers"**:
@@ -117,7 +118,8 @@ To make it easier to call the asset conversion service, we provide a utility scr
117
118
In particular, this script
118
119
119
120
* uploads all files in a given directory from local disk to the input storage container,
120
-
* calls the [the asset conversion REST API](../how-tos/conversion/conversion-rest-api.md), which will retrieve the data from the input storage container and start a conversion, which will return a conversion ID,
121
+
* calls the [asset conversion REST API](../how-tos/conversion/conversion-rest-api.md)
122
+
* this api retrieves the data from the input storage container, starts a conversion and returns a conversion ID,
121
123
* polls the conversion status API with the retrieved conversion ID until the conversion process terminates with success or failure,
122
124
* retrieves a link to the converted asset in the output storage.
123
125
@@ -128,11 +130,10 @@ The script reads its configuration from the file *Scripts\arrconfig.json*. Open
"arrAccountDomain": "<select from available regions: australiaeast, eastus, eastus2, japaneast, northeurope, southcentralus, southeastasia, uksouth, westeurope, westus2 or specify the full url>"
132
134
},
133
135
"renderingSessionSettings": {
134
-
"vmSize": "standard",
135
-
"maxLeaseTime": "1:00:00"
136
+
"remoteRenderingDomain": "<select from available regions: australiaeast, eastus, eastus2, japaneast, northeurope, southcentralus, southeastasia, uksouth, westeurope, westus2 or specify the full url>"
136
137
},
137
138
"assetConversionSettings": {
138
139
"localAssetDirectoryPath": "D:\\tmp\\robot",
@@ -148,20 +149,22 @@ The script reads its configuration from the file *Scripts\arrconfig.json*. Open
148
149
}
149
150
```
150
151
151
-
The configuration within the **accountSettings** group (account ID and key) should be filled out analogous to the credentials in the [Render a model with Unity quickstart](render-model.md).
152
+
The configuration within the **accountSettings** group (account ID, key and domain) should be filled out analogous to the credentials in the [Render a model with Unity quickstart](render-model.md).
153
+
154
+
A full configuration of the **renderingSessionSettings** group (domain, vmSize and maxLeaseTime) can be seen in [PowerShell Example scripts](../samples/powershell-example-scripts.md). The vmSize and maxLeaseTime aren't important for conversion and can be omitted, as they don't affect the conversion.
152
155
153
-
Inside the **assetConversionSettings** group, make sure to change **resourceGroup**, **blobInputContainerName**, and **blobOutputContainerName** as seen above.
156
+
Inside the **assetConversionSettings** group, make sure to change **resourceGroup**, **blobInputContainerName**, and **blobOutputContainerName**.
154
157
The value for **arrtutorialstorage** needs to be replaced with the unique name you picked during storage account creation.
155
158
156
159
Change **localAssetDirectoryPath** to point to the directory on your disk, which contains the model you intend to convert. Be careful to properly escape backslashes ("\\") in the path using double backslashes ("\\\\").
157
160
158
-
All data from the path given in **localAssetDirectoryPath**will be uploaded to the **blobInputContainerName** blob container under a subpath given by **inputFolderPath**. So in the example configuration above the content of the "D:\\tmp\\robot" directory will be uploaded to the blob container "arrinput" of the storage account "arrtutorialstorage" under the path "robotConversion". Already existing files will be overwritten.
161
+
The service uploads all data from the path given in **localAssetDirectoryPath** to the **blobInputContainerName** blob container under a subpath given by **inputFolderPath**. With the example configuration, the service uploads the content of the "D:\\tmp\\robot" directory to the blob container "arrinput" of the storage account "arrtutorialstorage" under the path "robotConversion". Already existing files are overwritten.
159
162
160
163
Change **inputAssetPath** to the path of the model to be converted - the path is relative to localAssetDirectoryPath. Use "/" instead of "\\" as the path separator. So for a "robot.fbx" file, which is located directly in "D:\\tmp\\robot", use "robot.fbx".
161
164
162
-
Once the model was converted, it will be written back to the storage container given by **blobOutputContainerName**. A subpath can be specified by providing the optional **outputFolderPath**. In the example above, the resulting "robot.arrAsset" will be copied to the output blob container under "converted/robot".
165
+
Once the model was converted, it's written back to the storage container given by **blobOutputContainerName**. A subpath can be specified by providing the optional **outputFolderPath**. In the example, the service copies the resulting "robot.arrAsset" to the output blob container under "converted/robot".
163
166
164
-
The config setting **outputAssetFileName** determines the name of the converted asset - the parameter is optional and the output filename will be deduced from the input file name otherwise.
167
+
The config setting **outputAssetFileName** determines the name of the converted asset - the parameter is optional and if not specified the service uses the input file name to generate an output name.
165
168
166
169
Open a PowerShell, make sure you installed the *Azure PowerShell* as mentioned in the [prerequisites](#prerequisites). Then log into your subscription with the following command and follow the on-screen directions:
167
170
@@ -198,7 +201,7 @@ The conversion script generates a *Shared Access Signature (SAS)* URI for the co
198
201
199
202
## Optional: Re-creating a SAS URI
200
203
201
-
The SAS URI created by the conversion script will only be valid for 24 hours. However, after it expired you don't need to convert your model again. Instead, you can create a new SAS in the portal as described in the next steps:
204
+
The SAS URI created by the conversion script expires after 24 hours. However, after it expired you don't need to convert your model again. Instead, you can create a new SAS in the portal as described in the next steps:
202
205
203
206
1. Go to the [Azure portal](https://www.portal.azure.com)
Copy file name to clipboardExpand all lines: articles/remote-rendering/samples/powershell-example-scripts.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ To execute the sample scripts, you need a functional setup of [Azure PowerShell]
37
37
38
38
1.[Prepare an Azure Storage account](../how-tos/conversion/blob-storage.md#prepare-azure-storage-accounts)
39
39
40
-
1. Log into your subscription containing your Azure Remote Rendering account:
40
+
1. Log in to your subscription containing your Azure Remote Rendering account:
41
41
1. Open a PowerShell window.
42
42
1. Run: `Connect-AzAccount` and follow the on-screen directions.
43
43
@@ -55,10 +55,10 @@ Next to the `.ps1` files there's an `arrconfig.json` that you need to fill out:
55
55
"accountSettings": {
56
56
"arrAccountId": "<fill in the account ID from the Azure Portal>",
57
57
"arrAccountKey": "<fill in the account key from the Azure Portal>",
58
-
"arrAccountDomain": "<select from available regions or specify the full url>"
58
+
"arrAccountDomain": "<select from available regions: australiaeast, eastus, eastus2, japaneast, northeurope, southcentralus, southeastasia, uksouth, westeurope, westus2 or specify the full url>"
59
59
},
60
60
"renderingSessionSettings": {
61
-
"remoteRenderingDomain": "<select from available regions or specify the full url>",
61
+
"remoteRenderingDomain": "<select from available regions: australiaeast, eastus, eastus2, japaneast, northeurope, southcentralus, southeastasia, uksouth, westeurope, westus2 or specify the full url>",
62
62
"vmSize": "<select standard or premium>",
63
63
"maxLeaseTime": "<hh:mm:ss>"
64
64
},
@@ -85,7 +85,7 @@ Next to the `.ps1` files there's an `arrconfig.json` that you need to fill out:
85
85
### accountSettings
86
86
87
87
For `arrAccountId` and `arrAccountKey`, see [Create an Azure Remote Rendering account](../how-tos/create-an-account.md).
88
-
The `arrAccountDomain` should be a region from [list of available regions](../reference/regions.md). If you're running on a nonpublic Azure region, you have to specify the full url to the account authentication service in your region.
88
+
The `arrAccountDomain` should be a region from [list of available regions](../reference/regions.md).
89
89
90
90
### renderingSessionSettings
91
91
@@ -95,7 +95,6 @@ This structure must be filled out if you want to run **RenderingSession.ps1**:
95
95
-**maxLeaseTime:** The duration for which you want to lease the VM. The VM shuts down when the lease expires. The lease time can be extended later (see [here](#change-session-properties)).
96
96
-**remoteRenderingDomain:** The region where the remote rendering VM resides in.
97
97
- Can differ from the arrAccountDomain, but still should be a region from [list of available regions](../reference/regions.md)
98
-
- If you're running on a nonpublic Azure region, you have to specify the full url to the remote rendering service in your region.
99
98
100
99
### assetConversionSettings
101
100
@@ -187,7 +186,7 @@ The script demonstrates the two options to use storage accounts with the service
187
186
188
187
### Linked storage account
189
188
190
-
Once you've fully filled out arrconfig.json and linked a storage account, you can use the following command. Linking your storage account is described at [Create an Account](../how-tos/create-an-account.md#link-storage-accounts).
189
+
Once you have fully filled out arrconfig.json and linked a storage account, you can use the following command. Linking your storage account is described at [Create an Account](../how-tos/create-an-account.md#link-storage-accounts).
191
190
192
191
Using a linked storage account is the preferred way to use the conversion service since there's no need to generate Shared Access Signatures.
0 commit comments