<h1 id="ensuringvmcompatibilitywithec2">Ensuring VM compatibility with EC2</h1> <hr /> <h2 id="problem">Problem</h2> <p>CloudBerry Backup can restore image-based backups as AWS EC2 instances. During the process you may encounter the error: "FirstBootFailure". Check out the PowerShell script below that will help you in troubleshooting. </p> <p>One of the most frequently met errors is the following:</p> <pre><code>FirstBootFailure: This import request failed because the instance failed to boot and establish network connectivity </code></pre> <hr /> <h2 id="resolution">Resolution</h2> <p>This error appears if the image in some respect does not meet the EC2 VM-import prerequisites. To identify the source of the problem, first go to the <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#prepare-vm-image">Amazon's documentation</a> that lists the actions you need to take in order to ensure that the VM meets all of the requirements. Read it thoroughly and make sure that your VM is properly configured for EC2.</p> <p>If that didn't help, turn to the aforementioned <a href="https://s3-eu-west-1.amazonaws.com/andsoria/VMImportChecker.zip">PowerShell script</a> that automatically identifies the reasons for potential import failure. Once you've downloaded it, do the following:</p> <ol> <li><p>Log in to your VM with an administrator account.</p></li> <li><p>Launch PowerShell in the administrator mode. </p></li> <li><p>Enter the following command:</p></li> </ol> <p><code>Set-ExecutionPolicy Unrestricted -Force</code></p> <ol> <li>Unarchive and then run the downloaded script. </li> </ol> <pre><code>cd C:/Users/yourUser/Downloads ./VSImportChecker.ps1 </code></pre> <p>The AWS VM Import Prerequisites Checker will be launched. Afterward, click Begin Tests.</p> <p><img src="/content/images/a4e473a6-fc19-4fcf-bb56-ba0aad0f6d35.png" alt="" /></p> <p>The utility will perform the required examination and immediately report the found issues. You can click <strong>Info…</strong> next to each failed test to learn more about the findings.</p> <p><img src="/content/images/fff636fc-99d9-4d06-a0d8-f0ea51cd0fc9.png" alt="" /></p> <p>Now that you've identified failed tests, go ahead and fix them. Once all of the issues are resolved, you can proceed to import the VM as an EC2 instance.</p>