Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ param adminPassword string

@description('The count of Windows virtual machines to create.')
param webServerInstanceCount int = 2
param vmSize string = 'Standard_A4_v2'
param vmSize string = 'Standard_D2s_v3'
param configureSitetosite bool = true
param hubNetwork object = {
name: 'vnet-hub'
Expand Down Expand Up @@ -55,7 +55,7 @@ param location string = resourceGroup().location

var logAnalyticsWorkspaceName = 'la-${uniqueString(subscription().subscriptionId, resourceGroup().id)}'
var vmssName = 'vmss-web-server'
var windowsOSVersion = '2016-Datacenter'
var windowsOSVersion = '2025-datacenter-core-smalldisk-g2'

resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2025-02-01' = {
name: logAnalyticsWorkspaceName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"vmSize": {
"type": "string",
"defaultValue": "Standard_DS1_v2"
"defaultValue": "Standard_D2s_v3"
},
"configureSitetosite": {
"type": "bool",
Expand Down Expand Up @@ -101,7 +101,7 @@
"vmssName": "vmss-web-server",
"peering-name-hub-to-spoke": "hub-to-spoke",
"peering-name-spoke-to-hub": "spoke-to-hub",
"windowsOSVersion": "2022-datacenter-g2"
"windowsOSVersion": "2025-datacenter-core-smalldisk-g2"
},
"resources": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ param bastionHost object = {
publicIPAddressName: 'pip-bastion'
nsgName: 'nsg-hub-bastion'
}
param vmSize string = 'Standard_A4_v2'
param vmSize string = 'Standard_D2s_v3'
param configureSitetosite bool = true
param location string = resourceGroup().location

var nicNameWindowsName = 'nic-windows'
var vmNameWindowsName = 'vm-windows'
var windowsOSVersion = '2016-Datacenter'
var windowsOSVersion = '2025-datacenter-smalldisk-g2'

resource mocOnpremNetworkResource 'Microsoft.Network/virtualNetworks@2024-05-01' = {
name: mocOnpremNetwork.name
Expand Down Expand Up @@ -283,11 +283,6 @@ resource windowsVM 'Microsoft.Compute/virtualMachines@2024-11-01' = {
adminPassword: adminPassword
windowsConfiguration: {
enableAutomaticUpdates: true
patchSettings: {
//Machines should be configured to periodically check for missing system updates
assessmentMode: 'AutomaticByPlatform'
patchMode: 'AutomaticByPlatform'
}
}
}
storageProfile: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"vmSize": {
"type": "string",
"defaultValue": "Standard_DS1_v2"
"defaultValue": "Standard_D2s_v3"
},
"configureSitetosite": {
"type": "bool",
Expand All @@ -51,7 +51,7 @@
"variables": {
"nicNameWindows": "nic-windows",
"vmNameWindows": "vm-windows",
"windowsOSVersion": "2016-Datacenter"
"windowsOSVersion": "2025-datacenter-smalldisk-g2"
},
"resources": [
{
Expand Down
Loading