Getting Windows 10 on EC2 isn't difficult, but perusing the documentation can lead to confusion.
You can't mount an ISO to an empty VM the way you might do in VirtualBox, so this process requires a local copy of the VM to be created, then using the aws ec2 import-image command to create the AMI. When done, not only will the image be ready for EC2, but it will be detected as Windows by AWS and be configured such that it has many of the same AWS-specific features as other Windows AMIs provided by Amazon.
-
Create a new Windows VM using VirtualBox
- Make sure to choose VHD as the disk image format
-
Install Windows 10 within the VirtualBox VM as normal. Note that a fresh install will format the VHD as MBR, which is the only partition format supported on AWS
-
Shut down the VM and upload the vhd file to an S3 bucket
-
Create a json file describing the VHD. This usually looks something like this: