This might help someone who wants to set up GoCD (https://www.gocd.io/) on an Amazon EC2 machine with the Amazon Linux AMI. I'm doing this from a Mac.
I'm not great at this stuff but I don't think I've done anything here terribly wrong. It will at least get you started. A person who is better at this sort of thing would probably use Docker.
In the Amazon console, select the Amazon Linux AMI. Choose the m4.xlarge instance type. I'm running the Go server and two agents on this machine. It is likely overkill -- I'm going to monitor the machine and downgrade if it makes sense, or install a third agent.