azure-avd-terraform-accelerator

Deploy to Azure Wizard - Updated Flow

🎨 New Wizard Experience

The Deploy to Azure wizard now includes a new step for production features!


πŸ“‹ Wizard Steps Overview

Before (6 Steps)

1. Basics (Resource prefix, Environment)
2. Identity Configuration (Azure AD / Domain Services)
3. Network Configuration (New / Existing VNet)
4. Session Hosts (VM count, size, credentials)
5. Host Pool (Type, load balancing)
6. Tags

After (7 Steps) ⭐

1. Basics (Resource prefix, Environment)
2. Identity Configuration (Azure AD / Domain Services)
3. Network Configuration (New / Existing VNet)
4. Session Hosts (VM count, size, credentials)
5. Host Pool (Type, load balancing)
6. Production Features (NEW!) ⭐
   β”œβ”€ Azure Backup (optional)
   β”œβ”€ Shared Image Gallery (optional)
   └─ Azure Policy (optional)
7. Tags

🎯 Step 6: Production Features (Detailed View)

Page Title

β€œProduction Features (Optional)”

Information Box

ℹ️ These optional features enhance your deployment with enterprise 
   capabilities: Backup provides disaster recovery, Image Gallery 
   enables golden images, and Policies enforce governance. All 
   features are optional and can be enabled later.

Section 1: Azure Backup

Checkbox:

☐ Enable Azure Backup for session hosts

Tooltip:

Automatically backup session host VMs for disaster recovery. Recommended for production environments.

When Checked - Shows:

Information Box:

ℹ️ Backup will create a Recovery Services Vault and automatically 
   protect all session hosts. Daily backups run at 2:00 AM UTC. 
   Estimated cost: $10-30 per VM per month.

Slider:

Daily Backup Retention (days)
[━━━━━━━━━━━━━━━━━━━━━] 30
7                           180

Checkbox:

☐ Enable Shared Image Gallery for golden images

Tooltip:

Create a gallery to store and version custom VM images. Recommended for standardized deployments.

When Checked - Shows:

Information Box:

ℹ️ Image Gallery will be created with Windows 11 Multi-Session 
   definition. Build custom images later using Azure Image Builder 
   or manually. Use golden images to deploy session hosts with 
   pre-installed applications and configurations. Estimated cost: 
   $5 per month.

Section 3: Azure Policy Governance

Checkbox:

☐ Enable Azure Policy for governance and compliance

Tooltip:

Apply governance policies to enforce standards. Policies are free and highly recommended.

When Checked - Shows:

Information Box:

ℹ️ The following policies will be applied: Require Managed Disks, 
   Restrict VM Sizes, Require Environment Tag. These policies help 
   maintain compliance and prevent configuration drift. No 
   additional cost.

Multi-Select Dropdown:

Allowed VM Sizes
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Filter sizes...                     πŸ”   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β˜‘ Standard_D2s_v5 (2 vCPU, 8 GB)       β”‚
β”‚ β˜‘ Standard_D4s_v5 (4 vCPU, 16 GB)      β”‚
β”‚ β˜‘ Standard_D8s_v5 (8 vCPU, 32 GB)      β”‚
β”‚ β˜‘ Standard_D16s_v5 (16 vCPU, 64 GB)    β”‚
β”‚ ☐ Standard_D2ds_v5 (2 vCPU, 8 GB)      β”‚
β”‚ ☐ Standard_D4ds_v5 (4 vCPU, 16 GB)     β”‚
β”‚ ☐ Standard_D8ds_v5 (8 vCPU, 32 GB)     β”‚
β”‚ ☐ Standard_D16ds_v5 (16 vCPU, 64 GB)   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Select All | Deselect All

🎨 Visual Mockup

Production Features Step (All Sections Expanded)

╔══════════════════════════════════════════════════════════════╗
β•‘  Production Features (Optional)                  Step 6 of 7 β•‘
╠══════════════════════════════════════════════════════════════╣
β•‘                                                                β•‘
β•‘  ℹ️ These optional features enhance your deployment with      β•‘
β•‘     enterprise capabilities...                                β•‘
β•‘                                                                β•‘
β•‘  β”Œβ”€ Azure Backup ────────────────────────────────────────┐   β•‘
β•‘  β”‚                                                         β”‚   β•‘
β•‘  β”‚  β˜‘ Enable Azure Backup for session hosts              β”‚   β•‘
β•‘  β”‚                                                         β”‚   β•‘
β•‘  β”‚  ℹ️ Backup will create a Recovery Services Vault...   β”‚   β•‘
β•‘  β”‚                                                         β”‚   β•‘
β•‘  β”‚  Daily Backup Retention (days)                         β”‚   β•‘
β•‘  β”‚  [━━━━━━━━━━━━━━━━━━━━━] 30                          β”‚   β•‘
β•‘  β”‚  7                           180                        β”‚   β•‘
β•‘  β”‚                                                         β”‚   β•‘
β•‘  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β•‘
β•‘                                                                β•‘
β•‘  β”Œβ”€ Shared Image Gallery ─────────────────────────────────┐   β•‘
β•‘  β”‚                                                         β”‚   β•‘
β•‘  β”‚  β˜‘ Enable Shared Image Gallery for golden images      β”‚   β•‘
β•‘  β”‚                                                         β”‚   β•‘
β•‘  β”‚  ℹ️ Image Gallery will be created with Windows 11...  β”‚   β•‘
β•‘  β”‚                                                         β”‚   β•‘
β•‘  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β•‘
β•‘                                                                β•‘
β•‘  β”Œβ”€ Azure Policy Governance ──────────────────────────────┐   β•‘
β•‘  β”‚                                                         β”‚   β•‘
β•‘  β”‚  β˜‘ Enable Azure Policy for governance and compliance  β”‚   β•‘
β•‘  β”‚                                                         β”‚   β•‘
β•‘  β”‚  ℹ️ The following policies will be applied...         β”‚   β•‘
β•‘  β”‚                                                         β”‚   β•‘
β•‘  β”‚  Allowed VM Sizes                                      β”‚   β•‘
β•‘  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”            β”‚   β•‘
β•‘  β”‚  β”‚ Filter sizes...                   πŸ”  β”‚            β”‚   β•‘
β•‘  β”‚  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€            β”‚   β•‘
β•‘  β”‚  β”‚ β˜‘ Standard_D2s_v5 (2 vCPU, 8 GB)    β”‚            β”‚   β•‘
β•‘  β”‚  β”‚ β˜‘ Standard_D4s_v5 (4 vCPU, 16 GB)   β”‚            β”‚   β•‘
β•‘  β”‚  β”‚ β˜‘ Standard_D8s_v5 (8 vCPU, 32 GB)   β”‚            β”‚   β•‘
β•‘  β”‚  β”‚ β˜‘ Standard_D16s_v5 (16 vCPU, 64 GB) β”‚            β”‚   β•‘
β•‘  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜            β”‚   β•‘
β•‘  β”‚  4 of 8 selected                                       β”‚   β•‘
β•‘  β”‚                                                         β”‚   β•‘
β•‘  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β•‘
β•‘                                                                β•‘
β•‘                                           [Previous]  [Next >] β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

πŸ“Š Configuration Presets

To help users, we could show example configurations:

Preset 1: Development/Test

☐ Backup
☐ Image Gallery  
☐ Policies

Estimated Cost: Baseline only

Preset 2: Standard Production

β˜‘ Backup (30 days)
☐ Image Gallery
β˜‘ Policies

Estimated Cost: Baseline + $50-150/month

Preset 3: Enterprise

β˜‘ Backup (90 days)
β˜‘ Image Gallery
β˜‘ Policies

Estimated Cost: Baseline + $60-170/month


🎯 User Journey Examples

Journey 1: Cautious First-Timer

Goal: Test AVD without extra costs

Steps:

  1. Click Deploy to Azure
  2. Fill basics (avd-test, dev)
  3. Choose Azure AD Join
  4. Create new VNet
  5. Deploy 2 small VMs
  6. Production Features: Leave all unchecked ⭐
  7. Add tags, deploy

Outcome: Basic AVD environment, lowest cost


Journey 2: Production-Ready Deployment

Goal: Deploy enterprise-ready AVD

Steps:

  1. Click Deploy to Azure
  2. Fill basics (avd-prod, prod)
  3. Choose Domain Services Join
  4. Use existing VNet
  5. Deploy 10 VMs (Standard_D4s_v5)
  6. Production Features: ⭐
    • βœ… Enable Backup (60 days)
    • βœ… Enable Image Gallery
    • βœ… Enable Policies (restrict to D-series)
  7. Add comprehensive tags, deploy

Outcome: Full enterprise deployment with governance


Journey 3: Gradual Adoption

Goal: Start basic, add features later

Initial Deployment:

Later (Week 2) - Redeploy:

Later (Week 4) - Redeploy Again:

Outcome: Incremental feature adoption


πŸ’‘ Help Text & Tooltips

Backup Section

Checkbox Tooltip:

Automatically backup session host VMs for disaster recovery. Recommended for production environments.

Retention Slider Tooltip:

Number of days to retain daily backups. Longer retention = higher cost. Recommended: 30 days for dev/test, 60-90 days for production.


Checkbox Tooltip:

Create a gallery to store and version custom VM images. Recommended for standardized deployments.

Info Box:

After deployment, use Azure Image Builder or manually generalize a VM to create your first golden image. Golden images speed up deployment and ensure consistency.


Policy Section

Checkbox Tooltip:

Apply governance policies to enforce standards. Policies are free and highly recommended.

VM Sizes Dropdown Tooltip:

Select which VM sizes are allowed for deployment. Restricting sizes helps control costs and maintain consistency. You can modify this later in Azure Policy.


βœ… Validation Rules

Backup Section

Policy Section


🎨 UI/UX Best Practices Applied

1. Progressive Disclosure

2. Clear Defaults

3. Cost Transparency

4. Contextual Help

5. Flexibility


πŸ“± Responsive Design

The wizard adapts to screen size:

Desktop (1920x1080):

Tablet (1024x768):

Mobile (not recommended for deployment):


πŸ” After Deployment

Deployment Success Screen

βœ… Deployment Complete!

Resources Created:
β”œβ”€ Host Pool: avd-prod-hostpool
β”œβ”€ Workspace: avd-prod-workspace  
β”œβ”€ Session Hosts: 5 VMs
β”œβ”€ Storage Account: avdprodstorage
β”œβ”€ Log Analytics: avd-prod-law
β”œβ”€ Key Vault: avd-prod-kv
β”‚
└─ Production Features:
   β”œβ”€ βœ… Recovery Vault: avd-prod-rsv (5 VMs protected)
   β”œβ”€ βœ… Image Gallery: avd_prod_sig
   └─ βœ… Policies: 3 assignments active

Next Steps:
1. Access workspace at: https://client.wvd.microsoft.com
2. View backup jobs in Recovery Services Vault
3. Check policy compliance in Azure Policy
4. Build first golden image (optional)

Estimated Monthly Cost: $550-700


Ready to deploy? Click the Deploy to Azure button in README.md!