updates to network and compute
This commit is contained in:
parent
7c4abc8e7e
commit
bcd263ed5f
@ -13,6 +13,10 @@ resource "azurerm_machine_learning_compute_instance" "compute_instance" {
|
|||||||
machine_learning_workspace_id = azurerm_machine_learning_workspace.default.id
|
machine_learning_workspace_id = azurerm_machine_learning_workspace.default.id
|
||||||
virtual_machine_size = "STANDARD_DS2_V2"
|
virtual_machine_size = "STANDARD_DS2_V2"
|
||||||
subnet_resource_id = azurerm_subnet.snet-training.id
|
subnet_resource_id = azurerm_subnet.snet-training.id
|
||||||
|
|
||||||
|
depends_on = [
|
||||||
|
azurerm_private_endpoint.mlw_ple
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
# Compute cluster
|
# Compute cluster
|
||||||
@ -33,5 +37,5 @@ resource "azurerm_machine_learning_compute_cluster" "compute" {
|
|||||||
max_node_count = 3
|
max_node_count = 3
|
||||||
scale_down_nodes_after_idle_duration = "PT15M" # 15 minutes
|
scale_down_nodes_after_idle_duration = "PT15M" # 15 minutes
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -82,11 +82,6 @@ resource "azurerm_private_dns_zone_virtual_network_link" "vnetlinkcr" {
|
|||||||
resource "azurerm_private_dns_zone" "dnsazureml" {
|
resource "azurerm_private_dns_zone" "dnsazureml" {
|
||||||
name = "privatelink.api.azureml.ms"
|
name = "privatelink.api.azureml.ms"
|
||||||
resource_group_name = azurerm_resource_group.default.name
|
resource_group_name = azurerm_resource_group.default.name
|
||||||
|
|
||||||
depends_on = [
|
|
||||||
azurerm_machine_learning_compute_cluster.compute,
|
|
||||||
azurerm_machine_learning_compute_instance.compute_instance
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "azurerm_private_dns_zone_virtual_network_link" "vnetlinkml" {
|
resource "azurerm_private_dns_zone_virtual_network_link" "vnetlinkml" {
|
||||||
@ -99,11 +94,6 @@ resource "azurerm_private_dns_zone_virtual_network_link" "vnetlinkml" {
|
|||||||
resource "azurerm_private_dns_zone" "dnsnotebooks" {
|
resource "azurerm_private_dns_zone" "dnsnotebooks" {
|
||||||
name = "privatelink.notebooks.azure.net"
|
name = "privatelink.notebooks.azure.net"
|
||||||
resource_group_name = azurerm_resource_group.default.name
|
resource_group_name = azurerm_resource_group.default.name
|
||||||
|
|
||||||
depends_on = [
|
|
||||||
azurerm_machine_learning_compute_cluster.compute,
|
|
||||||
azurerm_machine_learning_compute_instance.compute_instance
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "azurerm_private_dns_zone_virtual_network_link" "vnetlinknbs" {
|
resource "azurerm_private_dns_zone_virtual_network_link" "vnetlinknbs" {
|
||||||
|
@ -8,7 +8,7 @@ for private network connectivity using [Azure Private Link](https://docs.microso
|
|||||||
|
|
||||||
This configuration describes the minimal set of resources you require to get started with Azure Machine Learning in a network-isolated set-up. This configurations assumes that you have existing network components to reuse. The [201 example](../201-machine-learning-moderately-secure/readme.md), alternatively creates new network components.
|
This configuration describes the minimal set of resources you require to get started with Azure Machine Learning in a network-isolated set-up. This configurations assumes that you have existing network components to reuse. The [201 example](../201-machine-learning-moderately-secure/readme.md), alternatively creates new network components.
|
||||||
|
|
||||||
Please note that this template does not configure Azure Private DNS zones. The assumption is that you have already configured DNS zones that are linked to your virtual network resources, or use your private DNS.
|
Please note that this template does not create Azure Private DNS zones. The assumption is that you have already configured Azure private DNS zones that are linked to your virtual network resources.
|
||||||
|
|
||||||
## Resources
|
## Resources
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user