Alessandro shows you
how to attach an Elastic GPU
to your Windows instance

ale_0518

I want to attach an elastic GPU to my Amazon EC2 instance to accelerate the graphics performance of my applications. How can I do this?

For more information on elastic GPUs, including supported instances and GPU types, pricing, and limitations, see Amazon EC2 Elastic GPUs.

To launch an instance and associate it with an elastic GPU during launch, follow the instructions for Working with Elastic GPUs or consider the following example.

Note: Before you begin the following steps, review Elastic GPU Limitations.

1. Open the Amazon EC2 console, and then choose Launch Instance.

2. Choose a Windows Server AMI, and then choose Select.

Note: Elastic GPU supports only Windows Server 2012 R2 AMIs and above.

3. Select an instance type, and then choose Next: Configure Instance Details.

4. In Elastic GPU, select Add GPU, choose the GPU Type drop-down menu, choose your preferred GPU type, choose Next: Add Storage, choose Next Add Tags, and then choose Next: Configure Security Group.

Note: Additional configuration is required for elastic GPUs.

5. In the Configure Security Group wizard, note that security group rules will automatically be added after launch to allow access to the elastic GPU.

6. In Security group name, add a name. For example, RDP-Access.

Note: In this example, an existing security group is modified. If you add or remove an existing security group, you must Stop and Start Your Instance.

7. Choose the Source drop-down menu, choose My IP, choose Review and Launch, and then choose Launch.

8. Be sure that Choose an existing key pair is selected, select the acknowledge agreement, and then choose Launch Instances.

9. In Launch Status, choose your Instance ID.

10. In Status Checks, wait for the status to change from Initializing to checks passed.

11. Log in to the instance using Windows remote desktop protocol (RDP), and then follow the instructions for Installing and Updating the Elastic GPU Packages.

12. To view the status of the elastic GPU, follow the instructions for Verifying Elastic GPU Functionality on Your Instance.

Your elastic GPU instance should now be successfully attached to your Windows Server instance.

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

Note: If log files are needed 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 page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2018-06-19