<h1 id="restorevmwarelinuxvirtualmachinetoazurevm">Restore VMware Linux Virtual Machine to Azure VM</h1> <hr /> <h2 id="requirements">Requirements</h2> <ol> <li>You should configure your Virtual Network and Cloud storage in the Azure before restoring a VM. <a href="https://kb.cloudberry.online/~/edit/drafts/-LDgIV6dpgqi0u2aK0FQ/microsoft-azure/preparing-azure-for-vm-restore">Preparing Azure for Virtual Machine restore.</a></li> <li>Linux Distribution and version must be compatible with Azure requirements. Please check <a href="https://docs.microsoft.com/en-us/azure/virtual-machines/linux/endorsed-distros">Azure supported Linux distributions and versions</a> and <a href="https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic#general-linux-installation-notes">General Linux Installation Notes</a>.</li> <li>If you use several disks in Linux Virtual Machine, boot disk must be the first one in the disk order. The other disks will be imported as a non-bootable data disks. Please check the link <a href="https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-manage-disks">Manage Azure disks</a>.</li> <li>If your Linux Virtual Machine has assigned static IP address, you should place it into the same subnet to be able to connect to it via Internet. </li> </ol> <hr /> <h2 id="restoreprocess">Restore process</h2> <ol> <li>Click Restore to Azure VM to execute the Restore Wizard.</li> </ol> <p><img src="/content/images/3d715daf-b2ca-46d3-bb4b-3ccafdc6f6ac.png" alt="" /></p> <ol start="2"> <li>Click Next.</li> </ol> <p><img src="/content/images/18005085-48fe-4f2f-b376-10a849bc816f.png" alt="" /></p> <ol start="3"> <li>Select the storage where VMware Virtual Machine backup is located.</li> </ol> <p><img src="/content/images/ce2888b0-55b3-4e99-bb1e-7a7511764fd8.png" alt="" /></p> <ol start="4"> <li>Select "Run restore once" or "Save restore plan".</li> </ol> <p><img src="/content/images/7d03d2da-cf08-4378-8a28-adc379a98595.png" alt="" /></p> <ol start="5"> <li>Select "Restore VMware Virtual Machine".</li> </ol> <p><img src="/content/images/abe1c334-d9be-447d-a659-4eb4aa0b18ab.png" alt="" /></p> <ol start="6"> <li>Select "Latest version" or required version.</li> </ol> <p><img src="/content/images/e5bdebce-c4b6-44c1-af95-cf58cfc1bfdc.png" alt="" /></p> <ol start="7"> <li>Select Virtual Machine backup required to restore.</li> </ol> <p><img src="/content/images/feeca529-641d-489b-8627-d124c88463da.png" alt="" /></p> <ol start="8"> <li>Select "Restore as Azure Virtual Machine"</li> </ol> <p><img src="/content/images/4f22b4c2-8ce5-4b3e-b5d1-997e6dd78175.png" alt="" /></p> <ol start="9"> <li>Specify Azure Virtual machine Instance details. </li> </ol> <div class="hint hint-info"><i class="el-icon-info"></i> <p>Select VM Size according to your requirements. </p></div> <div class="hint hint-info"><i class="el-icon-info"></i> <p>Select "Linux" in the Operation System menu.</p></div> <p>Click Next.</p> <p><img src="/content/images/84863d33-4de5-4d62-aff1-d0100fc741c5.png" alt="" /></p> <ol start="10"> <li>Specify Temporary Instance. Click Next.</li> </ol> <div class="hint hint-warning"><i class="el-icon-warning"></i> <p>If you store Virtual Machine backup in a local storage, an internal Minio server, an internal S3 compatible or an internal Open Stack and you do not provide external access from Internet, you cannot use Temporary Instance to restore Virtual Machine. Temporary Instance should have Internet access to the storage with Virtual Machine backup.</p></div> <p><img src="/content/images/06f0baa5-ebe3-4797-866c-4e9ba7fdaa47.png" alt="" /></p> <ol start="11"> <li>Specify Azure Virtual Machine Temporary Instance details. Click Next.</li> </ol> <p><img src="/content/images/eb1bcb2d-ec8c-4b47-bc24-91c6d88012a9.png" alt="" /></p> <ol start="12"> <li>Specify encryption password if required. Click Next.</li> </ol> <p><img src="/content/images/6e86cb9e-3516-43ed-b532-3ea72c2ef925.png" alt="" /></p> <ol start="13"> <li>Specify notification options. Click Next.</li> </ol> <p><img src="/content/images/226419b4-e3cf-4fc7-857e-eb9210e8926c.png" alt="" /></p> <ol start="14"> <li>Review Restore Plan summary. Click Next.</li> </ol> <p><img src="/content/images/4b196ab0-c586-4dae-a71b-720f3e664187.png" alt="" /></p> <ol start="15"> <li>Click Finish.</li> </ol> <p><img src="/content/images/b13857b3-b185-438d-bcac-890ee4668394.png" alt="" /></p> <h2 id="checkvirtualmachinehealthandconnecttovmbyssh">Check Virtual Machine Health and connect to VM by SSH</h2> <p><strong>1. Check Virtual Machine Health status</strong></p> <p>When restore is successfully completed, you can verify VM Health and Screenshot to make sure that your VM is running properly. </p> <p>1.1 Go to Your Resource Group -&gt; restored Virtual Machine -&gt; click Resource health which is in Support + Troubleshooting group. </p> <div class="hint hint-info"><i class="el-icon-info"></i> <p>Usually, it takes 1-5 minutes to became Available.</p></div> <p><img src="/content/images/37a3f663-202f-4f6b-86c4-ac5fb9d65181.png" alt="" /></p> <p>1.2 If you selected Boot Diagnostic Storage during restore wizard, you can get screenshot of the VM console. Click Boot diagnostics -&gt; Screenshot. </p> <p><img src="/content/images/56ffb722-aa6b-4eb1-8c1b-014ba9a34bba.png" alt="" /></p> <p>**2. Connect to your Linux machine by SSH. **</p> <p>2.1 Go to Overview tab and copy public IP Address to clipboard. </p> <p><img src="/content/images/a905023e-cf40-4111-b24d-ad449946ae45.png" alt="" /></p> <p>2.2 Open Linux terminal in a Linux OS and check SSH connection.</p> <pre><code>ssh userName@publicIP yes UserPassword </code></pre> <p><img src="/content/images/0341d4ec-dcca-4a58-a314-a4782a7b9a60.png" alt="" /></p> <p>2.3 Run the Windows Putty tool. Insert Public IP address into Host Name field and click Open.</p> <p><img src="/content/images/18603f57-c593-48d1-94aa-5a7b67f817a3.png" alt="" /></p> <p>Accept the host key.</p> <p><img src="/content/images/8da2e087-9682-47d5-a6d6-b820b35a1999.png" alt="" /></p> <p>Type username and password.</p> <p><img src="/content/images/a5458955-96f2-4365-a188-6722c14e3c02.png" alt="" /></p>