reduce the overall cost of the solution in a Hybrid Azure Virtual Desktop

L I O N - K I N G 20 Reputation points
2023-09-08T20:53:58.6133333+00:00

A client has migrated some applications to Azure Virtual Desktop. Each user has been given a hybrid-joined personal AVD desktop where the migrated applications have been installed, along with other apps the users typically require on a daily basis.

Six months post-implementation client is raising concerns about costs being higher than anticipated – what strategies could recommend to reduce the overall cost of the solution?

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,850 questions
{count} votes

Accepted answer
  1. Mohammad Jahanseir 85 Reputation points
    2023-09-26T14:15:01.5366667+00:00

    There are several approaches, and each one ultimately aims to reduce costs:

    The first practice should be the Auto-Scaling concept, which is one of Azure's strengths. Scalability and elasticity are both crucial factors. Scalability allows us to both scale up and scale down, in other words, in this case, we can use vertical scaling to add or release resources like CPU and RAM. Overall, auto-scaling is more preferred approach, which involves dynamically adjusting resources based on demand requirements. This process can automatically scale resources up to add more capacity or scale them down to reduce capacity, effectively optimizing costs. Azure provides auto-scaling services to assist in maintaining both performance and cost efficiency.

    The most straightforward approach for encouraging users to shut down their Azure Virtual Desktop (AVD) instances when they're not actively using them. When Azure Virtual Desktop instances remain active, they continue to consume computing resources, including virtual machines, storage, and network bandwidth. These resources come with associated costs, typically billed hourly or per minute, depending on the Azure pricing model. The easiest way to teach employees is to release resources when they do not need them. All in all, Educating users is one of the reasonable practices to manage their sessions, like logging out properly and avoiding unnecessary resource consumption. Additionally, consider implementing a Scheduled Shutdown mechanism for Azure Virtual Desktop during non-working hours or periods of inactivity, such as evenings and weekends, to ensure efficient resource release during unproductive periods.

    Indeed, Resource Groups enable us to organize resources and apply tags, enhancing cost allocation and tracking. They provide the flexibility and control needed for efficient cloud resource management. Also, We can Review software licensing agreements to ensure compliance and identify opportunities to reduce licensing costs. Evaluate whether a hybrid AVD configuration is still necessary, some users might not require the hybrid setup, and moving them to a purely cloud-based AVD configuration could reduce costs.

    It's essential to review the current VM sizes for AVD desktops and ensure they are appropriately sized for the workloads. Downsizing any overprovisioned VMs can lead to significant cost reductions. Additionally, consider the option of purchasing Azure Reserved Instances for AVD VMs, which offer substantial discounts compared to pay-as-you-go pricing and can result in significant cost savings over the long term. Optimizing storage and Deallocating Managed Disks and Network Bandwidth is key to minimizing costs effectively. Managing storage and network by archiving or deleting unnecessary user profiles and data by using Blob Storage, disk management and deallocating unutilized, and using Azure Traffic Manager for regional load balancing and optimizing network bandwidth and routing, like Azure ExpressRoute, for dedicated and more cost-effective network connections are great for minimizing costs. Utilize Azure Monitor and Azure Cost Management tools to gain insights into resource utilization and cost trends. Set up alerts for cost thresholds to proactively manage expenses.

    In conclusion, optimizing your Azure environment for cost efficiency involves a comprehensive approach. Rightsizing VMs and considering Azure Reserved Instances (RIs) are critical steps for resource allocation. Implementing Auto Scaling and efficient power management can dynamically adjust resources to match demand, reducing waste. Storage optimization and the use of Azure Monitor and Cost Management tools are key for cost control. Network optimization and licensing optimization help further cut expenses. Additionally, using Shared Image Gallery and Azure Spot VMs can provide cost-effective alternatives. Regular cost reviews, user education, and cloud governance practices ensure ongoing cost awareness and control. Evaluating third-party management tools may offer specialized cost-saving solutions. Lastly, maintaining a hybrid configuration can help seamlessly bridge on-premises and cloud environments, optimizing costs while meeting specific operational needs.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. vipullag-MSFT 26,492 Reputation points Moderator
    2023-09-19T04:33:40.2633333+00:00

    Hello Last Emperor

    Just checking in to see if you got a chance to see previous response from Tushar Kumar. Adding more details to what was shared by Tushar.

    To reduce the overall cost of the solution in a Hybrid Azure Virtual Desktop, you can consider the following strategies:

    -Scale session hosts using Azure Automation and Azure Logic Apps: You can reduce your total Azure Virtual Desktop deployment cost by scaling your virtual machines (VMs). This means shutting down and deallocating session host VMs during off-peak usage hours, then turning them back on and reallocating them during peak hours. You can use the scaling tool built with the Azure Automation account and Azure Logic Apps that automatically scales session host VMs in your Azure Virtual Desktop environment.

    -Optimize storage costs: Azure Virtual Desktop uses Azure storage options like Azure Files and Azure NetApp Files, so it's recommended to create a separate storage account for the storage you buy for your Azure Virtual Desktop features to make sure you can tell the difference between its costs and the costs for other Azure services you're using.

    -Predict consumption costs: You can use the Azure Pricing Calculator to estimate Azure Virtual Desktop consumption costs before creating a deployment. You can enter the values for your deployment into the fields to estimate your monthly Azure bill based on your expected compute, storage, and networking usage.

    -Use Azure Hybrid Benefit: You can use Azure Hybrid Benefit to save on licensing costs for Windows Server and SQL Server workloads running in Azure. This benefit allows you to use your on-premises licenses to run Windows Server and SQL Server workloads on Azure Virtual Machines.

    -Group costs by Azure Virtual Desktop host pool: Microsoft Cost Management has a new feature in public preview that lets you group Azure Virtual Desktop costs with Azure tags by using the cm-resource-parent tag key. Cost grouping makes it easier to understand and manage costs by host pool.

    I hope these strategies help you reduce the overall cost of your Hybrid Azure Virtual Desktop solution.

    2 people found this answer helpful.
    0 comments No comments

  2. Tushar Kumar 3,371 Reputation points MVP
    2023-09-08T23:15:13.22+00:00

    You can go with following options :

    • Check monitoring data for right sizing the VMs
    • Check the possibility of going with reserved instances (as you have dedicated hosts)
    • Apply auto shutdown and start on login

    Please "Accept as Answer" if this helps or let me know further information required.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.