Your turn

  • Project: Snapshots
  • Project goal: Create a virtual machine, snapshot it, create a disk from the snapshot, and deploy a new VM from the disk
  • Key commands:
    • New-AzureRmResourceGroup
    • Get-AzureRmVm
    • New-AzureRmSnapshotConfig
    • New-AzureRmSnapshot
    • Get-AzureRmSnapshot
    • New-AzureRmDiskConfig
    • New-AzureRmDisk
    • New-AzureRmVMConfig
    • Set-AzureRmVMOSDisk
    • New-AzureRmPublicIpAddress
    • Get-AzureRmVirtualNetwork
    • New-AzureRmNetworkInterface
    • Add-AzureRmVMNetworkInterface
    • New-AzureRmVM
    • Get-AzureRmVm
    • Remove-AzureRmResourceGroup
  • General steps:
    1. Create a resource group
    2. Deploy a virtual machine with a default configuration
    3. Take a snapshot of the virtual machine
    4. Delete the virtual machine
    5. Deploy a second virtual machine from the snapshot
    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 snapshot
  • Reference info: The Snapshotting an Azure VM Disk and Creating VMs from Snapshots sections
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.70.101