Skip to content
Close Menu

    Subscribe to Updates

    Get the latest news from tastytech.

    What's Hot

    Nicaragua strips lawyers of certification in latest crackdown on dissent | Human Rights News

    July 11, 2026

    Patch for Windows Defender 0-day could allow attackers to fill hard disk

    July 11, 2026

    This Isn’t The First Time PlayStation (And Others) Tried To Kill Used Games

    July 10, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    tastytech.intastytech.in
    Subscribe
    • AI News & Trends
    • Tech News
    • AI Tools
    • Business & Startups
    • Guides & Tutorials
    • Tech Reviews
    • Automobiles
    • Gaming
    • movies
    tastytech.intastytech.in
    Home»Guides & Tutorials»After You Migrate: Cleanup, Governance, and Preventing Unmanaged Disks from Coming Back
    After You Migrate: Cleanup, Governance, and Preventing Unmanaged Disks from Coming Back
    Guides & Tutorials

    After You Migrate: Cleanup, Governance, and Preventing Unmanaged Disks from Coming Back

    gvfx00@gmail.comBy gvfx00@gmail.comFebruary 18, 2026No Comments4 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Table of Contents

    Toggle
    • TL;DR
    • Architecture Diagram
    • Table of Contents
    • Scenario
    • What “Done” Looks Like
    • Operational Runbook Snapshot
    • Cleanup Workflow
      • Cleanup objective
      • Managed disks cleanup
      • Unmanaged disks cleanup
    • Governance Controls
      • Azure Policy: audit unmanaged disk usage
      • CI guardrails in IaC
      • Exception workflow
    • Anti-patterns
    • Day-two Operations
    • Best Practices
    • Conclusion
    • Sources
      • Like this:
      • Related posts:
    • Multi-Cloud Is Becoming Multi-Control-Plane: How to Avoid Governance Fragmentation Across Azure, AWS...
    • GPT-3: What is GPT-3 and what can it do for your business?
    • Join the Most-Awaited Chatbot Conference | by Cassandra C.

    TL;DR

    • Converting disks is not the finish line. Your real goal is a new steady state:
      • no unmanaged disks
      • no lingering storage account VHD costs
      • guardrails that prevent reintroduction
    • Cleanup is measurable FinOps value: remove unattached disks and old VHD blobs after your validation period.
    • Governance is your long-term win: use Azure Policy to audit VMs that do not use managed disks and surface drift continuously.

    Architecture Diagram

    Table of Contents

    • Scenario
    • What “Done” Looks Like
    • Operational Runbook Snapshot
    • Cleanup Workflow
    • Governance Controls
    • Anti-patterns
    • Day-two Operations
    • Best Practices
    • Conclusion

    Scenario

    You’ve migrated your VMs to managed disks. The outage risk is reduced.

    Then the quiet problems show up:

    • original VHD blobs still exist and cost money
    • orphaned disks accumulate over time
    • a team deploys a legacy template and reintroduces unmanaged disks
    • your compliance posture report doesn’t catch any of it until an audit

    This post is about making “managed disks everywhere” the default, not a one-time project.

    What “Done” Looks Like

    You are done when:

    • Inventory shows zero unmanaged-disk VMs across all subscriptions.
    • Old VHD artifacts have a documented retention period and then are deleted.
    • You have a policy posture:
      • audit unmanaged disk usage
      • track exceptions with an expiration date
    • Your IaC and pipelines cannot accidentally recreate unmanaged disks.

    Operational Runbook Snapshot

    Roles:

    • Cloud platform team: backlog, tooling, policy, reporting
    • App owners: validation sign-off and maintenance windows
    • Security/FinOps: governance requirements and cleanup approval

    Runbook stages:

    • validate
    • cleanup
    • enforce guardrails
    • monitor drift and exceptions

    Cleanup Workflow

    Cleanup objective

    Reduce cost and remove latent risk:

    • unattached managed disks
    • unattached unmanaged VHD blobs
    • storage accounts that exist only to host legacy disks

    Managed disks cleanup

    A managed disk can be unattached but still billable.

    Operator workflow:

    • list unattached managed disks
    • confirm retention requirements
    • delete with approval

    Example with Azure CLI:

    # List managed disks that are not attached to any VM
    az disk list --query "[?managedBy==null].[name,resourceGroup,location,id]" -o table
    

    Unmanaged disks cleanup

    Unmanaged disks are page blobs in storage accounts. After migration, the original VHD blobs may remain.

    Operator workflow:

    • identify storage accounts that hosted VHDs
    • locate unlocked VHD blobs after conversion
    • delete after validation period and approval

    Keep your deletion workflow conservative:

    • snapshot or export evidence if required by your org
    • perform deletes in small batches
    • document exactly what was removed

    Governance Controls

    Azure Policy: audit unmanaged disk usage

    Your minimum viable guardrail:

    • Assign the built-in policy Audit VMs that do not use managed disks at the subscription or management group scope.
    • Integrate non-compliance reporting into your operations cadence.

    Policy assignment options:

    • portal assignment
    • IaC assignment (Terraform/Bicep)
    • CLI/PowerShell in a platform pipeline

    CI guardrails in IaC

    Design-time prevention is stronger than day-two detection.

    Controls to add:

    • module standards: disallow VM disk definitions that reference storage account VHD URIs
    • pipeline tests:
      • policy-as-code checks
      • template validation
      • peer review gates for compute changes

    Exception workflow

    You will find edge cases. Handle them without creating permanent risk:

    • time-boxed exceptions only
    • business owner sign-off
    • remediation plan tracked like any other change

    Anti-patterns

    • “We’ll migrate later” without an owner and a date.
    • Converting production without verifying IP dependencies.
    • Leaving old VHD blobs forever because “storage is cheap.”
    • Fixing production manually but not updating IaC, guaranteeing drift and repeat work.
    • Treating policy audit as optional telemetry instead of an operational control.

    Day-two Operations

    Your steady-state routines:

    • Weekly inventory report of unmanaged disk usage (should be empty).
    • Monthly cleanup run for unattached managed disks.
    • Quarterly review of exceptions and removals.
    • Post-incident check: any restored VM should land on managed disks.

    Best Practices

    • Build a “golden path”:
      • managed disks by default
      • backup enabled by default
      • policy assignment at management group
    • Measure outcomes:
      • number of unmanaged-disk VMs reduced to zero
      • storage cost reduction from cleanup
      • reduction in operational toil by removing storage account management

    Conclusion

    Migration avoids an outage, but governance prevents a repeat. Clean up the old artifacts, enforce managed disks with policy, and put guardrails into your delivery pipelines so unmanaged disks cannot reappear.

    Sources

    Find and delete unattached Azure managed and unmanaged disks (Azure portal): https://learn.microsoft.com/en-us/azure/virtual-machines/disks-find-unattached-portal
    Find and delete unattached Azure managed and unmanaged disks using PowerShell: https://learn.microsoft.com/en-us/azure/virtual-machines/windows/find-unattached-disks
    Migrate your Azure unmanaged disks by March 31, 2026: https://learn.microsoft.com/en-us/azure/virtual-machines/unmanaged-disks-deprecation
    Azure virtual machine recommended policies (includes Audit VMs that do not use managed disks): https://learn.microsoft.com/en-us/azure/governance/policy/concepts/recommended-policies
    Built-in policy definitions for Azure Virtual Machines: https://learn.microsoft.com/en-us/azure/virtual-machines/policy-reference
    Frequently asked questions about disks: https://learn.microsoft.com/en-us/azure/virtual-machines/faq-for-disks

    Like this:

    Like Loading…

    Related posts:

    Advanced Automation with PowerCLI, Python, NSX, and Aria Operations

    Patching vCenter Through VAMI Without Turning It Into a Recovery Event

    From Fixcerts to vCert: A Safer vCenter Certificate Recovery Path

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleGemini can now generate a 30-second approximation of what real music sounds like
    Next Article Top 10 Free Data Analysis Courses With Certification
    gvfx00@gmail.com
    • Website

    Related Posts

    Guides & Tutorials

    Designing Private Cloud SLOs in VCF Operations: Fleet Observability Without Dashboard Sprawl

    July 10, 2026
    Guides & Tutorials

    The VCF Upgrade Readiness Review: Decisions Before You Open the Planner

    July 9, 2026
    Guides & Tutorials

    Amazon EVS vs Private VCF: Cloud Escape Hatch or Long-Term Platform?

    July 8, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    Black Swans in Artificial Intelligence — Dan Rose AI

    October 2, 2025207 Views

    Every Clue That Tony Stark Was Always Doctor Doom

    October 20, 2025131 Views

    We let ChatGPT judge impossible superhero debates — here’s how it ruled

    December 31, 2025100 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram

    Subscribe to Updates

    Get the latest tech news from tastytech.

    About Us
    About Us

    TastyTech.in brings you the latest AI, tech news, cybersecurity tips, and gadget insights all in one place. Stay informed, stay secure, and stay ahead with us!

    Most Popular

    Black Swans in Artificial Intelligence — Dan Rose AI

    October 2, 2025207 Views

    Every Clue That Tony Stark Was Always Doctor Doom

    October 20, 2025131 Views

    We let ChatGPT judge impossible superhero debates — here’s how it ruled

    December 31, 2025100 Views

    Subscribe to Updates

    Get the latest news from tastytech.

    Facebook X (Twitter) Instagram Pinterest
    • Homepage
    • About Us
    • Contact Us
    • Privacy Policy
    © 2026 TastyTech. Designed by TastyTech.

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Enabled!
    Ad Blocker Enabled!
    Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.