Deploy and manage Azure compute resources Flashcards
VM will be migrated to new Azure host. VM is restarted.
Data on temporary drive (D:) is lost.
Redeploy VM
Rerun VM provisioning.
Help solve VM failed state.
Data on temporary drive (D:) not lost.
Reapply VM
Physically separate resources within a region
Availability Zone
Distribute VMs across zones and fault domains — horizontally scale VMs automatically
- support up to 1,000 instances
Azure virtual machine scale set (VMSS)
Automatically distribute VMs across multiple fault domains
Availability set
optimized for large scale stateless workloads with identical instances
Uniform scale set
achieve high availability at scale with identical or multiple VM types
Flexible scale set
Apply template to existing RG
New-AzResourceGroupDeployment
Captures a specified RG and saves it as a template to a JSON file
Export-AzResourceGroup
Saves existing deployment template a new template file
Save-AzDeploymentTemplate
Saves RG deployment
Save-AzResourceGroupDeploymentTemplate
- New-AzResourceGroup
- New-AzAppServicePlan
- New-AzWebApp
- New-AzWebAppSlot
Steps to prepare web appl publishing
Container to hold all resources needed for an Azure solution that has to be managed as a group
Azure Resource Group
Defines Azure compute resources required the Azure Web App service to run
Azure App Service Plan
Contains the values used during the deployment
ARM Template Deployment Parameters File
Each deployment only contains resources that have been added in that deployment.
Resource Manager will delete all existing resources in template.
New-AzResourceGroupDeployment -mode Complete
ARM Template Deployment ‘Complete’ mode
Resource manager leaves unchanged existing resources not in the template.
Template resources are added.
ARM Template Deployment ‘Incremental’ mode
create a configurable disk object
New-AzDiskConfig
create a managed disk
New-AzDisk