Your turn

  • 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:
    1. Create a resource group
    2. Deploy a virtual machine with a default configuration
    3. Take an image of the OS disk of the virtual machine
    4. Delete the virtual machine
    5. Deploy a second virtual machine from the image
    6. 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.
Reset
18.191.235.210