The first that that you need to do is deploy the Azure virtual machine (VM) that will act as your on-prem environment.
You can click on the following button and it will take you to the Azure Portal which will walk you through the deployment of the lab via the web browser experience:
Alternatively if you would like to deploy the lab using Azure Bicep you can clone the repo and deploy the template using the following Azure PowerShell commands:
## Create variables - modify these to suit your deployment needs
$ResourceGroupName = "AzureLab"
$Location = "uksouth"
$BicepDeploymentName = "AzureLabDeployment"
$HyperVHostAdminUserName = "adminuser"
$HyperVHostAdminPassword = ConvertTo-SecureString -AsPlainText -Force "demo@password123"
$vnetNeworExisting = "new"
## Create an Azure Resource Group
New-AzResourceGroup -Name $ResourceGroupName -Location $Location
## Deploy the Azure Lab using Bicep
New-AzResourceGroupDeployment -name $BicepDeploymentName -ResourceGroupName $ResourceGroupName -TemplateFile VMdeploy.bicep -HyperVHostAdminUserName $HyperVHostAdminUserName -HyperVHostAdminPassword $HyperVHostAdminPassword -vnetNeworExisting $vnetNeworExisting
It can take 50-70 minutes for the lab to fully deploy.
Once the Azure deployment has completed, there are a few things you need to do within the lab before you can start using it.
- Log onto your Azure VM
- Launch Hyper-V
- Log onto AD01, the login name is tailwindtraders\administrator and the password is: Password: demo@pass123
- Configure the IP address to a static one, the configuration should be:
- IP Address: 192.168.0.2
- Subnet Mask: 255.255.255.0
- Default Gateway: 192.168.0.1
- Preferred DNS: 127.0.0.1
- Alternative DNS: 8.8.8.8
- For the other servers configure the IP addresses as follows:
VM Name | IP Address | Subnet | Default Gateway | Preferred DNS | Alternative DNS |
---|---|---|---|---|---|
AD01 | 192.168.0.2 | 255.255.255.0 | 192.168.0.1 | 192.168.0.2 | 8.8.8.8 |
FS01 | 192.168.0.3 | 255.255.255.0 | 192.168.0.1 | 192.168.0.2 | 8.8.8.8 |
SQL01 | 192.168.0.4 | 255.255.255.0 | 192.168.0.1 | 192.168.0.2 | 8.8.8.8 |
WEB01 | 192.168.0.5 | 255.255.255.0 | 192.168.0.1 | 192.168.0.2 | 8.8.8.8 |
WEB02 | 192.168.0.24 | 255.255.255.0 | 192.168.0.1 | 192.168.0.2 | 8.8.8.8 |
The lab is now ready for you to use how you would like.