How do I attach and use an Elastic Graphics accelerator when I launch an Amazon EC2 Windows instance?
Last updated: 2020-10-21
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:
- Open the Amazon EC2 console, and then choose Launch Instance.
- Identify the Windows Amazon Machine Image (AMI) that you want to use, and then choose Select next to that AMI.
- 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.
- Choose Next: Add Storage.
- Choose Next: Add Tags.
- Choose Next: Configure Security Group.
For Security group name, enter a name.
(Optional) For Description, enter a description.
For Source, choose My IP.
- Choose Review and Launch.
- Review the instance launch details, and then choose Launch.
- Choose an existing key pair, select the acknowledge agreement, and then choose Launch Instances.
- On the Launch Status page, within the Your instances are now launching banner, choose your instance ID.
- Wait for Status Checks to change from Initializing to 2/2 checks passed.
- Log in to your Amazon EC2 Windows instance using the Windows remote desktop protocol (RDP).
- 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.
- 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.
To investigate application performance issues and resolve unhealthy status issues, see Troubleshoot.
Note: If you need log files for additional troubleshooting, use EC2Rescue for Windows Server to collect the following:
- %ProgramFiles%\Amazon\EC2ElasticGPUs\conf\eg.conf (if present)
- %APPDATA%\EC2ElasticGPUs\eg.*.log (logs for each user running an OpenGL application)