Overview
As the environment continued to evolve, networking was only one piece of the puzzle.
With the new ftpSubnet created and secured in Part 2, the next step was ensuring the virtual machine could properly support its workload.
This phase moved beyond networking and focused on VM management ,i.e aligning subnet placement, compute power,storage and cost optimization to ensure performance, security, and efficiency.
Hereās how I handled it š
š Step 1: Migrating the VM to the New Subnet
Since the new subnet had stricter network rules (allowing only SSH ā Port 22), the VM had to be placed inside it.
I navigated to:
ā¢Virtual Machines
ā¢Selected guided-project-vm

ā¢Stopped the VM (Azure requires deallocation for subnet changes)

ā¢Waited until it showed Stopped (deallocated)

Then:
ā¢Opened Networking
ā¢Selected the Network Interface / IP configuration

ā¢Changed the subnet to ftpSubnet
ā¢Clicked Apply

š Note
The VM was now operating inside the secured subnet environment
ā
Network segmentation
ā
Security alignment
š Step 2: Vertically Scaling the VM
With the VM transitioning into an FTP server role, it needed more processing power.
From the VM blade:
ā¢I selected Size under Availability + Scale
ā¢Chose a higher SKU (e.g., D2s_v5)
ā¢Clicked Resize

š Note
ā
Vertical scaling allows us to increase CPU and memory without redeploying the VM.
ā
Now the machine could handle more concurrent connections and file transfers.
ā
Performance upgraded š
š¾ Step 3: Attaching a New Data Disk
An FTP server without sufficient storage is a problem waiting to happen.
So I attached a new managed disk:
ā¢Opened Disks
ā¢Selected Create and attach a new disk

ā¢Named it ftp-data-disk
ā¢Set size to 20 GB
ā¢Applied changes

š Note
ā The VM now had dedicated storage for uploads and file transfers.
ā±ļø Step 4: Configuring Automatic Shutdown (Cost Control)
Running a VM 24/7 can quietly increase cloud costs.
Since the admin only needed the FTP server during working hours, I configured automatic shutdown:
ā¢Navigated to Auto-shutdown
ā¢Set scheduled shutdown to 7:15 PM (UTC)
ā¢Saved configuration

š Note
ā
Now,the VM automatically powers down daily thereby reducing unnecessary compute charges.
ā
Cost optimization is also in action š”
š Final Outcome
By the end of this task, I had:
ā
ā¢Migrated the VM to a secured subnet
ā
ā¢Increased its compute capacity
ā
ā¢Expanded its storage
ā
ā¢Implemented automated cost control
This exercise reinforced something important:
Azure management isnāt just about deploying resources,itās about maintaining,optimizing, and securing them over time.
Thatās what real cloud administration looks like.
Top comments (1)
Good finops practices welldone!