This simple example will build a binary for linux/amd64 and deploy on AWS EB.
Setup --> See install.sh Run --> See run.sh Deploy --> See deploy.sh
The final binary is 10Mb and deployment is very fast for both upload and setting up the executable.
The example server is running here: http://goeb001.us-west-2.elasticbeanstalk.com/