Hi Kareem,
I would recommend CA API Gateway Appliance installation as the system had been tuned. Software installation only for the env that cannot have VM, and you need to take care of the OS and database yourselves.
The gateway image on AMI should be a virtual appliance gateway.
Regards,
mark