Windows and Linux can be installed.
Install guide would be in OS sites and blog.
In case of AWS EC2 server, you can select Amazon Linux.
These days we are using Centos 7 64bit Basic server and Windows Server 2013 64bit. But other versions would be fine.
* Windows is Microsoft's trademark.