Chapter 10. Deploying Go

This chapter covers

  • Deploying Go web apps to standalone servers
  • Deploying Go web apps to the cloud
  • Deploying Go web apps in Docker containers

Now that you’ve learned how to develop a web application with Go, the next logical step is to deploy it. Deploying web applications is quite different from deploying other types of applications. Desktop and mobile applications are deployed on the end users’ devices (smart phones tables, laptops, and so forth) but web applications are deployed on servers that are accessed through a client (usually a browser) on the end users’ device.

Deploying Go web apps can be simple because the executable program is compiled into a single binary file. Also, because Go programs can be compiled ...

Get Go Web Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.