- Project: Custom disk images
- Project goal: To successfully provision a virtual machine, based on a disk image taken from an existing virtual machine
- Key commands:
- New-AzureRmResourceGroup
- Get-AzureRmPublicIpAddress
- Get-AzureRmVm
- Stop-AzureRmVm
- Set-AzureRmVM
- New-AzureRmImageConfig
- New-AzureRmImage
- Get-Credential
- New-AzureRmVm
- Remove-AzureRmResourceGroup
- General steps:
- Create a resource group
- Deploy a virtual machine with a default configuration
- Take an image of the OS disk of the virtual machine
- Delete the virtual machine
- Deploy a second virtual machine from the image
- Delete the resource group and all resources
- Validation: Ensure that the new virtual machine deploys successfully by logging into it after deploying it from the disk image
- Reference info: Using custom images
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.