Book Image

Cloud Native programming with Golang

By : Mina Andrawos, Martin Helmich
Book Image

Cloud Native programming with Golang

By: Mina Andrawos, Martin Helmich

Overview of this book

Awarded as one of the best books of all time by BookAuthority, Cloud Native Programming with Golang will take you on a journey into the world of microservices and cloud computing with the help of Go. Cloud computing and microservices are two very important concepts in modern software architecture. They represent key skills that ambitious software engineers need to acquire in order to design and build software applications capable of performing and scaling. Go is a modern cross-platform programming language that is very powerful yet simple; it is an excellent choice for microservices and cloud applications. Go is gaining more and more popularity, and becoming a very attractive skill. This book starts by covering the software architectural patterns of cloud applications, as well as practical concepts regarding how to scale, distribute, and deploy those applications. You will also learn how to build a JavaScript-based front-end for your application, using TypeScript and React. From there, we dive into commercial cloud offerings by covering AWS. Finally, we conclude our book by providing some overviews of other concepts and technologies that you can explore, to move from where the book leaves off.
Table of Contents (19 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
7
AWS I – Fundamentals, AWS SDK for Go, and EC2

Publishing your images


You now have the ability to build container images from your application components and to run containers from these images on your local machine. However, in a production context, the machine on which you have built a container image is rarely the machine that you will run it on. To actually be able to deploy your application to any cloud environment, you will need a way to distribute built container images to any number of hosts.

This is where container registries come into play. In fact, you have already worked with a container registry earlier in this chapter, that is, the Docker Hub. Whenever you use a Docker image that is not present on your local machine (let's say, for example, the nginx image), the Docker engine will pull this image from the Docker Hub onto your local machine. However, you can also use a container registry such as the Docker Hub to publish your own container images and then pull them from another instance.

At the Docker Hub (which you can access...