I know you're just looking for a checklist, but we found it better to use Caddy (built in Go) as our web, and then have our Go API service proxied via that. It's pretty awesome because it's so easy to use Caddy in that way.
For example : http://mydomain/mypage will serve up your page, but you can tell Caddy to route requests for http://mydomain/api/dosomething to the port behind your firewall that your Go service is running on. Caddy also allows gives you http2 and automatic security via https https://caddyserver.com/ For us, the big advantage is that we could focus on our Go API service being only that, and not a web page server as well. -- Kevin Powick On Wednesday, 8 March 2017 14:02:50 UTC-5, Sankar wrote: > > Hi > > I have written a golang REST API server and a react webapp that talks to > this REST server. There is a mysql server that the golang server talks to. > There is an init script with a bunch of SQL statements to create a few > tables and indexes. Everything works fine in my local machine. I have > bought a domain name too. I have a VM on cloud with ssh access. > > I wanted to find out if there are any good blog posts or talks or > tutorials or "checklists" documenting the process to deploy such a golang > server + a web front end behind a domain name (example.com for the react > webapp and api.example.com for the golang) and both accessible only via > HTTPS, with the API Server probably behind a load balancer, and all > certificates being valid, etc. > > I understand that I can use kubernetes for such orchestration. But I > wanted to find out a deploy solution which could work reliably and easily > (without depending on too many third party projects) on AWS. GKE does not > exist in my region (India) and so cannot use Kube. Any pointers ? > > Thanks. > > Sankar > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.