6
9 Comments

Best Place to Deploy Go Application

What are you favorite platforms to deploy Go apps on? Mainly talking about APIs. I have used heroku in the past, but felt a bit limited in terms of network security and whitelisting other apps (MongoDB Atlas). I have also deployed to managed Kubernetes, but I had to lose focus on my code for a bit. What are your recommendations and preferences?

on December 21, 2020
  1. 6

    Render.com is nice (indie hackers runs on it). I believe it's k8s under the hood but abstracted way so that it's as easy to use as heroku.

    1. 1

      Wow this looks powerful! Looking into this as well

  2. 2

    Why you lose your focus in using managed kubernetes? And what is your use of go applications in term of scalability.

    1. 1

      Go + Vue on the frontend. Scalability will be pretty gradual and really small at the beginning as the app gains traction

      1. 1

        The best stack in my opinion :D
        I'm so happy with developing Golang + Vue applications, containerizing them with Docker, and deploying them to Kubernetes by kubectl via GitLab CI.

  3. 1

    Thank you everybody for the recommendations! So I went back and found some K8s YAML files I had created in the past and had some really good luck firing those up with DigitalOcean. Thank you all!

  4. 1

    I am the Director of Marketing at Cycle.io, so call me bias, but we make deployment super easy. We also are one of the few that is not built on top of K8s and built our own orchestrator from scratch. We have a free tier, so check it out! And don't hesitate to shoot over some questions.

  5. 1

    I normally host depending on what the API is being used for.

    Will my API be sending large amounts of data? Can this scale to zero? What load am I expecting? What SLA do I need? How much effort do I want to put into dev+ ops? How secure do I need this?

    • GCP/Azure/AWS are great for scaling fast and not having to think about it.

    • VPS's are cheaper and can be juggled for managing bandwidth costs.

    • 'AIO' hosting providers take all of the complexity out at the cost of flexibility.

    • A few Dell 730's colo'ed can even be the correct choice depending on what your API is doing.

    What workload is your API running?

  6. 1

    I normally stick to Heroku because of how easy it is. But I also use Digital Ocean on some projects and I can really recommend it.