Virtual machines, networking, storage and monitoring in Microsoft Azure.
Virtual network: NETW211-VNet-FZ
I created a virtual network with two /24 subnets, 10.0.0.0/24 and 10.0.1.0/24, and deployed one VM in each (10.0.0.4 and 10.0.1.4). A /24 has 254 usable host addresses, but Azure shows 251 available because it reserves some addresses for its own services.
Over Remote Desktop I ran ipconfig to confirm the VM's private address and gateway, and pinged its address. This checks the VM's own addressing, not a connection between the two VMs.
I created a Windows Server 2019 VM (size Standard B1s, East US), connected to it over Remote Desktop and checked its system properties in Server Manager. Then I deleted its resource group to clean up.
After adding the AllowPing rule, pinging the VM from my own PC got 4 of 4 replies, averaging 23 ms.
C:\Users\...>ping [VM public IP]
Pinging [VM public IP] with 32 bytes of data:
Reply from [VM public IP]: bytes=32 time=21ms TTL=48
Reply from [VM public IP]: bytes=32 time=26ms TTL=48
Reply from [VM public IP]: bytes=32 time=23ms TTL=48
Reply from [VM public IP]: bytes=32 time=22ms TTL=48
Ping statistics for [VM public IP]:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 21ms, Maximum = 26ms, Average = 23ms
I uploaded an image to Blob storage and opened it by its URL. I took a snapshot of a text blob, then turned on versioning and saved a revised copy, so both the original and the revision were kept.
Microsoft Azure, Windows Server 2019, Ubuntu 20.04, Remote Desktop, SSH, network security groups, Blob storage, Azure Monitor
Timeframe
Sep – Oct 2023
Overview
I worked through the core pieces of Microsoft Azure across the course modules. I deployed Windows and Linux virtual machines, built a virtual network with two subnets, opened a firewall rule so I could ping a VM from my local PC, stored and versioned files in Blob storage, and set up alerts that email me when a VM restarts or shuts down.
How I built it
Deployed a virtual machine.
I created a Windows Server 2019 VM (size Standard B1s, East US), connected to it over Remote Desktop and checked its system properties in Server Manager. Then I deleted its resource group to clean up.
I created a virtual network with two /24 subnets, 10.0.0.0/24 and 10.0.1.0/24, and deployed one VM in each (10.0.0.4 and 10.0.1.4). A /24 has 254 usable host addresses, but Azure shows 251 available because it reserves some addresses for its own services. Over Remote Desktop I ran ipconfig on each VM to confirm its private address and gateway, and pinged its address.
I launched an Ubuntu 20.04 VM and connected over SSH to check the kernel version, OS release, network interfaces and outbound connectivity. Then I added a network security group rule, AllowPing (priority 310, ICMP), next to the existing SSH rule (priority 300, TCP port 22). Pinging the VM from my own PC got 4 of 4 replies, averaging 23 ms.
I uploaded an image to Blob storage and opened it by its URL. I took a snapshot of a text blob, then turned on versioning and saved a revised copy, so both the original and the revision were kept.
Set up monitoring.
I created an action group that sends an email, and two activity-log alert rules on the Linux VM: one for a restart and one for a deallocation. I restarted and stopped the VM, and both alert emails arrived on October 5, 2023.
And on each Windows VM over Remote Desktop, checking the VM's own address rather than a connection between the two VMs:
ipconfig
ping 10.0.0.4
Storage tiers, in my words
Hot
Hot storage is for data that's used constantly. It's quick to access but costs more.
Access
Constant, quick
Cost
Higher
Cool
Cool storage is for data you access less often. It takes longer to get to but is much cheaper.
Access
Less often, slower
Cost
Much cheaper than hot
Archive
Archive storage is for long-term keeping: things you rarely need to touch.
Access
Rarely
Use
Long-term keeping
Challenges and what I learned
Challenges
During the final project the email wasn't working.I had to restart the VM and servers to get it to load properly.
Multi-factor authentication kept issuing new codes,and sometimes it wouldn't accept the one I was entering.
What I learned
I learned how to deploy and manage virtual machines in Azure, how virtualization works in practice, and a lot more about networking: subnets, reserved addresses, and how firewall rules decide what traffic gets through. When something didn't work, like the alert emails, I had to work out where the problem was and fix it. The course also named cloud service models among its skills, though the labs here show virtualization, networking and security.