Well.! I will dive into the process and will see what I can do for the deployment of api with raw AWS EC2 server. Will get back to you with the proper answer. Till then you can try the managed version of AWS EC2 server which is powered by Cloudways. They have removed the complexities of AWS server and will let yyou enjoy the smooth experience of hosting.
I am looking to setup the Go rail app to the managed DigitalOcean server which consist of:
Basic Storage: 25GB
and is powered by Cloudways which provides the management of the VPS taking all the pain of installing and managing the server. Other Cloudways features include:
1-Click Free SSL Installation
Regular OS and Patch Management
Unlimited Application Installation
Staging Area & URLs and many more..