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/machine-learning/how-to-customize-compute-instance.md
+3-7Lines changed: 3 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,18 +13,13 @@ ms.reviewer: sgilley
13
13
ms.date: 05/04/2022
14
14
---
15
15
16
-
# Customize the compute instance with a script (preview)
17
-
18
-
> [!IMPORTANT]
19
-
> Setup scripts are currently in public preview.
20
-
> The preview version is provided without a service level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
21
-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
16
+
# Customize the compute instance with a script
22
17
23
18
Use a setup script for an automated way to customize and configure a compute instance at provisioning time.
24
19
25
20
Use a compute instance as your fully configured and managed development environment in the cloud. For development and testing, you can also use the instance as a [training compute target](concept-compute-target.md#training-compute-targets) or for an [inference target](concept-compute-target.md#compute-targets-for-inference). A compute instance can run multiple jobs in parallel and has a job queue. As a development environment, a compute instance can't be shared with other users in your workspace.
26
21
27
-
As an administrator, you can write a customization script to be used to provision all compute instances in the workspace according to your requirements.
22
+
As an administrator, you can write a customization script to be used to provision all compute instances in the workspace according to your requirements. You can configure your setup script as a Creation script, which will run once when the compute instance is created. Or you can configure it as a Startup script, which will run every time the compute instance is started (including initial creation).
28
23
29
24
Some examples of what you can do in a setup script:
30
25
@@ -79,6 +74,7 @@ Once you store the script, specify it during creation of your compute instance:
79
74
1.[Fill out the form](how-to-create-manage-compute-instance.md?tabs=azure-studio#create).
80
75
1. On the second page of the form, open **Show advanced settings**.
81
76
1. Turn on **Provision with setup script**.
77
+
1. Select either **Creation script** or **Startup script** tab.
82
78
1. Browse to the shell script you saved. Or upload a script from your computer.
0 commit comments