OS installation
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.
Ref. https://www.CentOS.org
* Windows is Microsoft's trademark.