Amazon Elastic Compute Cloud
User Guide for Microsoft Windows (API Version 2015-04-15)
Did this page help you?  Yes | No |  Tell us about it...
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.

Upgrading PV Drivers on Your Windows AMI

If your Windows instance is launched from a Windows Server 2012 R2 AMI, it uses AWS PV drivers. If your Windows instance uses RedHat drivers, you can upgrade to Citrix drivers. If you are already using Citrix drivers, you can upgrade the Citrix Xen guest agent service. To verify which driver your Windows instance uses, open Network Connections in Control Panel and view the Local Area Connection. Check whether the driver is one of the following:

  • AWS PV Network Device

  • Citrix PV Ethernet Adapter

  • RedHat PV NIC Driver

Alternatively, you can check the output from the pnputil -e command.

Contents

Upgrade AWS PV Drivers

Use the following procedure to perform an in-place upgrade of AWS PV Drivers. This procedure does not affect Citrix or RedHat drivers. See the other procedures in this topic to upgrade Citrix or RedHat drivers.

To perform an in-place driver upgrade

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Instances.

  3. Choose the instance where you want to perform the in-place driver upgrade, open the context (right-click) menu, choose Instance State, and then choose Stop.

  4. After the instance is stopped create a backup. Open the context (right-click) menu for the instance, choose Image, and then choose Create Image.

  5. From the context (right-click) menu for the instance, choose Instance State, and then choose Start.

  6. Connect to the instance using Remote Desktop and then download the AWSPVDriverSetup7.2.5.zip folder to the instance.

  7. Extract the contents of the folder and run AWSPVDriverSetup7.2.5.msi.

After running the MSI, the instance automatically reboots and then upgrades the drivers. The instance will not be available for up to 15 minutes. After the upgrade is complete and the instance passes both health checks in the Amazon EC2 console, connect to the instance using Remote Desktop and verify that the new drivers were installed. In Device Manager, under Storage Controllers, locate AWS PV Storage Host Adapter. Check the driver properties for version 7.2.5.1 or later.

Upgrading PV Drivers on Your Windows Server 2008 and 2008 R2 Instances

Before you start upgrading your RedHat drivers to Citrix drivers, make sure you do the following:

To upgrade a Windows Server 2008 or Windows Server 2008 R2 AMI

  1. Connect to your instance and log in as the local administrator. For more information about connecting to your instance, see Connecting to Your Windows Instance Using RDP.

  2. In your instance, download the Citrix upgrade package by going to Amazon EC2 Windows Paravirtual Driver Upgrade Script.

  3. Extract the contents of the upgrade package to a location of your choice.

  4. Double-click the Upgrade.bat file. If you get a security warning, click Run.

  5. In the Upgrade Drivers dialog box, review the information and click Yes if you are ready to start the upgrade.

  6. In the Red Hat Paravirtualized Xen Drivers for Windows ® uninstaller dialog box, click Yes to remove the RedHat software. Your instance will be rebooted.

    Note

    If you do not see the uninstaller dialog box, click Red Hat Paravirtualize… in the Windows taskbar.

    Red Hat Paravirtualized in taskbar
  7. Check that the instance has rebooted and is ready to be used.

    1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

    2. On the Instances page, right-click your instance and select Get System Log.

    3. The upgrade operations should have restarted the server 3 or 4 times. You can see this in the log file by the number of times Windows is Ready to use is displayed.

      Windows system log
  8. Connect to your instance and log in as the local administrator.

  9. Close the Red Hat Paravirtualized Xen Drivers for Windows ® uninstaller dialog box.

  10. Confirm that the installation is complete. Navigate to the Citrix-WIN_PV folder that you extracted earlier, open the PVUpgrade.log file, and then check for the text INSTALLATION IS COMPLETE.

    PVUpgrade log file

Upgrading Your Citrix Xen Guest Agent Service

If you are using Citrix drivers on your Windows server, you can upgrade the Citrix Xen guest agent service. This Windows service handles tasks such as time synchronization at boot, as well as shutdown and restart events from the API. You can run this upgrade package on any version of Windows Server, including Windows Server 2012.

Before you start upgrading your drivers, make sure you back up your important information on the instance, or create an AMI from the instance. For more information about creating an AMI, see Creating an Amazon EBS-Backed Windows AMI. If you create an AMI, make sure you do the following:

  • Do not enable the Sysprep tool in the EC2Config service.

  • Write down your password.

  • Set your Ethernet adapter to DHCP.

To upgrade your Citrix Xen guest agent service

  1. Connect to your instance and log in as the local administrator. For more information about connecting to your instance, see Connecting to Your Windows Instance Using RDP.

  2. In your instance, download the Citrix upgrade package by going to Amazon EC2 Windows Paravirtual Driver Upgrade Script.

  3. Extract the contents of the upgrade package to a location of your choice.

  4. Double-click the Upgrade.bat file. If you get a security warning, click Run.

  5. In the Upgrade Drivers dialog box, review the information and click Yes if you are ready to start the upgrade.

  6. When the upgrade is complete, the PVUpgrade.log file will open and contain the text UPGRADE IS COMPLETE.

  7. Reboot your instance.

Upgrading PV Drivers on Your Windows Server 2003 Instance

Before you start upgrading your RedHat drivers to Citrix drivers, make sure you do the following:

To upgrade a Windows Server 2003 AMI

  1. Connect to your instance and log in as the local administrator. For more information about connecting to your instance, see Connecting to Your Windows Instance Using RDP.

  2. In your instance, download the Citrix upgrade package by going to Amazon EC2 Windows Paravirtual Driver Upgrade Script.

  3. Extract the contents of the upgrade package to a location of your choice.

  4. Double-click the Upgrade.bat file. If you get a security warning, click Run.

  5. In the Upgrade Drivers dialog box, review the information and click Yes if you're ready to start the upgrade.

  6. In the Red Hat Paravirtualized Xen Drivers for Windows ® uninstaller dialog box, click Yes to remove the RedHat software. Your instance will be rebooted.

    Note

    If you do not see the uninstaller dialog box, click Red Hat Paravirtualize… in the Windows taskbar.

    Red Hat Paravirtualized in taskbar
  7. Check that the instance has been rebooted and is ready to be used.

    1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

    2. On the Instances page, right-click your instance and select Get System Log.

    3. Check the end of the log message. It should read Windows is Ready to use.

  8. Connect to your instance and log in as the local administrator. The upgrade will continue by opening four applications: PowerShell, RedHat uninstaller, PVUpgrade.log and the Windows Device Manager.

  9. Uninstall the PCI BUS.

    1. In the Device Manager window, expand System devices, right-click PCI bus and click Uninstall.

      Device Manager
    2. When prompted, click OK.

    3. In the System Settings Change dialog, click No as you do not want to restart your instance immediately.

    4. Close Device Manager. The upgrade script reboots your instance.

  10. Check that the instance is ready by repeating the procedure in step 7. After you've confirmed it is ready, log in as the administrator.

  11. Confirm that the installation is complete. Navigate to the Citrix-WIN_PV folder that you extracted earlier, open the PVUpgrade.log file, and then check for the text INSTALLATION IS COMPLETE.

    PVUpgrade log file