Migrate to Xen instance types from Nitro instance types - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Migrate to Xen instance types from Nitro instance types

The following procedure assumes that you are currently running on a Nitro-based instance type, such as M5 or C5, and that you are migrating to an instance based on the Xen System, such as M4 or C4. For instance type specifications, see Amazon EC2 Instance Types. Perform the following steps before the migration to avoid errors during the booting process.

  1. Amazon PV drivers must be installed and upgraded on a Nitro instance before you migrate to a Xen instance. For steps to install and upgrade Amazon PV drivers, see Part 1: Install and upgrade Amazon PV drivers.

  2. Update to the latest EC2Launch v2 version. See Migrate to EC2Launch v2 for steps.

  3. Open a PowerShell session and run the following command as an administrator to sysprep the device drivers. Running sysprep ensures that early boot storage drivers required for booting on Xen instances are properly registered with Windows.


    Running the command using PowerShell (x86) versions will result in an error. This command adds only the boot-critical device drivers to the critical device database. It does not run the full sysprep preparation.

    Start-Process rundll32.exe sppnp.dll,Sysprep_Generalize_Pnp -wait
  4. Perform the migration to a Xen instance type when the sysprep process completes.