azure-avd-terraform-accelerator

Example: Production Deployment with All Features Enabled

This example demonstrates how to deploy AVD with backup, image gallery, and policy modules enabled.

Quick Start

  1. Copy the example tfvars file:
    cp terraform-all-features.tfvars.example terraform.tfvars
    
  2. Edit terraform.tfvars with your values:
    • Update resource_prefix, location, environment
    • Configure domain join settings
    • Adjust email addresses for notifications
    • Review and customize retention policies
  3. Deploy:
    terraform init
    terraform plan
    terraform apply
    

What Gets Deployed

Core Infrastructure (Already Existing)

NEW: Backup Module

NEW: Policy Module

Feature Toggles

All new features are disabled by default for backward compatibility. Enable them by setting:

# In your terraform.tfvars file
enable_backup        = true
enable_image_gallery = true
enable_policies      = true

Cost Implications

Enabling the new modules will add the following costs:

Feature Estimated Monthly Cost Value
Azure Backup ~$10-30/VM Business continuity, compliance
Shared Image Gallery ~$5/month Faster deployments, consistency
Azure Policy Free Governance, compliance, security

Note: Costs vary by region, backup retention, and VM count.

Next Steps

After deployment with all features enabled:

  1. Backup:
    • Test VM restoration
    • Configure backup alerts
    • Document recovery procedures
  2. Image Gallery:
    • Build your first golden image
    • Set up CI/CD pipeline for image updates
    • Plan update rings strategy
  3. Policy:
    • Review policy compliance reports
    • Add custom policies as needed
    • Integrate with Azure Security Center

Support

See RECOMMENDATIONS.md for detailed best practices and implementation guidance.