How do I attach and use an Elastic Graphics accelerator when I launch an Amazon EC2 Windows instance?

Last updated: 2020-10-21

I want to improve the graphics performance of applications on my Amazon Elastic Compute Cloud (Amazon EC2) Windows instance. How can I use Amazon Elastic Graphics to do that?

Resolution

You can attach an Elastic Graphics accelerator to your Amazon EC2 Windows instance. For more information about supported instance types, available accelerators, and pricing, see Amazon Elastic Graphics.

First, review the Elastic Graphics limitations. Then, follow these steps to launch and associate an Amazon EC2 Windows instance with an Elastic Graphics accelerator:

  1. Open the Amazon EC2 console, and then choose Launch Instance.
  2. Identify the Windows Amazon Machine Image (AMI) that you want to use, and then choose Select next to that AMI.
  3. Select an instance type that is compatible with Elastic Graphics, and then choose Next: Configure Instance Details.
    For Elastic Graphics, select Add Graphics Acceleration.
    For Type, choose an Elastic Graphics accelerator.
  4. Choose Next: Add Storage.
  5. Choose Next: Add Tags.
  6. Choose Next: Configure Security Group.
    For Security group name, enter a name.
    (Optional) For Description, enter a description.
    For Source, choose My IP.
  7. Choose Review and Launch.
  8. Review the instance launch details, and then choose Launch.
  9. Choose an existing key pair, select the acknowledge agreement, and then choose Launch Instances.
  10. On the Launch Status page, within the Your instances are now launching banner, choose your instance ID.
  11. Wait for Status Checks to change from Initializing to 2/2 checks passed.
  12. Log in to your Amazon EC2 Windows instance using the Windows remote desktop protocol (RDP).
  13. If your instance uses a current AWS Windows AMI, the required software for Elastic Graphics is installed automatically during the first boot. If necessary, install the required software.
  14. The Elastic Graphics accelerator is now attached to your Amazon EC2 Windows instance. To view the status of the accelerator, you can verify Elastic Graphics functionality on your instance.

Troubleshooting

To investigate application performance issues and resolve unhealthy status issues, see Troubleshooting.

Note: If you need log files for additional troubleshooting, use EC2Rescue for Windows Server to collect the following:

  • C:\Windows\System32\winevt\Logs\EC2ElasticGPUs.evtx
  • %ProgramFiles%\Amazon\EC2ElasticGPUs\conf\eg.conf (if present)
  • %ProgramFiles%\Amazon\EC2ElasticGPUs\manager*.config
  • %APPDATA%\EC2ElasticGPUs\eg.*.log (logs for each user running an OpenGL application)

Did this article help?


Do you need billing or technical support?