Building a Go Web App from Scratch to Deploying on Google Cloud | Part #2 — Deploying our Go App on Google App Engine (GAE).
In Tutorial #1, we created a simple Go application that welcomed us and displayed the time. We ran our application locally and we were able to interact with it only from our machine. In this tutorial, we share our beloved welcome app to the world using Google’s App Engine (GAE).
App Engine
App Engine is Google Clouds flagship web-application based platform as a service. According to the docs, the App Engine flexible environment automatically scales your app up and down while balancing the load. For App Engine Flex in particular, Microservices, authorization, SQL and NoSQL databases, traffic splitting, logging, versioning, security scanning, and content delivery networks are all supported natively.
Step 1 (Optional) — Download the Code
If you haven’t already, clone the Go application code from the following link,
git clone https://github.com/martinomburajr/medium.git
Step 2 — Configure the application for App Engine
Deploying on App Engine is ridiculously simple, all we need to do with our app, is create a yaml…