One of the first things you typically learn regarding cloud computing is deploying Infrastructure-as-a-Service resources. This weekly challenge will be super simple but a great way to get started on your Azure journey.
For this exercise you will need:
- Azure Tenant
- Azure Subscription
Objectives
- Create a resource group
- Create a virtual network (Vnet)
- Deploy a virtual machine (VM)
- Update the network security group (NSG) on the VM
- Remote Desktop into the newly created virtual machine
Feel free to message me on LinkedIn if you have any questions.
Excerise:
Create a resource group
Create a resource group named “rg-test-001”
Create a virtual network
Create a virtual network with an address space of: 10.10.0.0/16 with a subnet of 10.10.0.0/24
Deploy a virtual machine
Deploy a 2016 Windows Server with a B2s VM size
Update the Network Security Group on the VM
Use IPChicken.com to find your public IP address to update the virtual machine to allow inbound traffic from your public IP address to port 3389 (Remote Desktop Protocal Port).
Remote Desktop into the VM
Download the remote desktop file for your VM and try to connect to it.
If you want to challenge yourself a bit more, try deploying Azure Bastion to connect to your VM, but I recommend deleting the resource group afterward to save costs.
Extra Challenge: Use Infrastructure-as-Code to deploy the resources above
If you want to get started deploying these resources with Infrastructure-as-Code, I recommend taking my LinkedIn Learning Course: Introduction to Terraform for Azure