Prerequisites
AWS VM Import supports the following Windows 10 editions: Professional, Enterprise, and Education (64-bit, English). Home edition is not supported.
You can download the Enterprise trial from the Microsoft website.
Create the Virtual Machine
- Create a new VM in VirtualBox with VHD, VMDK, or OVA disk format (about 20GB for the system disk)
- Install Windows 10 – make sure to set an administrator password (otherwise you won’t be able to connect via Remote Desktop later)
- Install TeamViewer, configure Easy Access, and enable LAN connections and Windows login
- Enable Remote Desktop (Start -> Allow remote access)
- Install EC2 Configure Service
- Reboot, wait for Windows Update to finish, then shut down
Install AWS CLI
| |
Set up your Access Key, Secret Key, and default Region. Note that P2 instances are only available in US regions.
Upload the Image
Create an S3 bucket (the name must be globally unique):
| |
Upload the VHD file:
| |
Set Up IAM Role
Create trust-policy.json:
| |
Create the role:
| |
Create role-policy.json, replacing YOUR-BUCKET-NAME with your actual bucket name (same one used above):
| |
Attach the policy:
| |
Import the Image
Create containers.json:
| |
Run the import:
| |
Check progress:
| |
Launch the EC2 Instance
After the import completes, go to the EC2 Console:
- Images -> AMI -> right-click -> Launch
- Choose a g2 instance type (you may need to request a limit increase from AWS first)
- Open RDP and TeamViewer ports in the Security Group
- Once launched, use “Connect” to download the RDP file and log in with the credentials you set earlier
Post-Installation Setup
- Re-link your TeamViewer account
- Install NVIDIA drivers
- Follow the documentation to enable ENA Enhanced Networking
