-
Notifications
You must be signed in to change notification settings - Fork 1
/
Azure Machine Learning Studio Pipeline Creation
114 lines (114 loc) · 4.42 KB
/
Azure Machine Learning Studio Pipeline Creation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"workspaceName": "acaml",
"storageAccountName": "[toLower( concat( 'acdata', substring( uniquestring(resourceGroup().id), 0, 4 ) ) )]",
"keyVaultName": "[toLower( concat( 'ackey-', substring( uniquestring(resourceGroup().id), 0, 4 ) ) )]",
"applicationInsightsName": "[toLower( concat( 'acai-', substring( uniquestring(resourceGroup().id), 0, 4 ) ) )]",
"computeName": "[toLower( concat( 'acaml-', substring( uniquestring(resourceGroup().id), 0, 4 ) ) )]",
"location": "[resourceGroup().location]"
},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2019-06-01",
"name": "[variables('storageAccountName')]",
"location": "[variables('location')]",
"sku": {
"name": "Standard_LRS"
},
"kind": "StorageV2",
"properties": {
"encryption": {
"services": {
"blob": {
"enabled": true
},
"file": {
"enabled": true
}
},
"keySource": "Microsoft.Storage"
},
"supportsHttpsTrafficOnly": true
}
},
{
"type": "Microsoft.KeyVault/vaults",
"apiVersion": "2019-09-01",
"name": "[variables('keyVaultName')]",
"location": "[variables('location')]",
"properties": {
"tenantId": "[subscription().tenantId]",
"sku": {
"name": "standard",
"family": "A"
},
"enableSoftDelete": false,
"accessPolicies": []
}
},
{
"type": "Microsoft.Insights/components",
"apiVersion": "2020-02-02-preview",
"name": "[variables('applicationInsightsName')]",
"location": "[variables('location')]",
"kind": "web",
"properties": {
"Application_Type": "web"
}
},
{
"type": "Microsoft.MachineLearningServices/workspaces",
"apiVersion": "2020-08-01",
"name": "[variables('workspaceName')]",
"location": "[variables('location')]",
"sku": {
"name": "Basic",
"tier": "Basic"
},
"dependsOn": [
"[resourceId('Microsoft.Insights/components', variables('applicationInsightsName'))]",
"[resourceId('Microsoft.KeyVault/vaults', variables('keyVaultName'))]",
"[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"
],
"identity": {
"type": "systemAssigned"
},
"properties": {
"friendlyName": "[variables('workspaceName')]",
"storageAccount": "[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]",
"keyVault": "[resourceId('Microsoft.KeyVault/vaults', variables('keyVaultName'))]",
"applicationInsights": "[resourceId('Microsoft.Insights/components', variables('applicationInsightsName'))]"
}
},
{
"type":"Microsoft.MachineLearningServices/workspaces/computes",
"apiVersion":"2018-11-19",
"name":"[concat(variables('workspaceName'), '/', variables('computeName'))]",
"location": "[variables('location')]",
"dependsOn": [
"[resourceId('Microsoft.MachineLearningServices/workspaces', variables('workspaceName'))]"
],
"properties":{
"disableLocalAuth": false,
"computeType": "AmlCompute",
"computeLocation": "[variables('location')]",
"properties": {
"vmSize": "STANDARD_DS2_V2",
"vmPriority": "Dedicated",
"scaleSettings": {
"maxNodeCount": 1,
"minNodeCount": 0,
"nodeIdleTimeBeforeScaleDown": "PT30M"
},
"remoteLoginPortPublicAccess": "Enabled",
"osType": "Linux",
"isolatedNetwork": false
}
}
}
]
}