Book Image

Deployment with Docker

By : Srdjan Grubor
Book Image

Deployment with Docker

By: Srdjan Grubor

Overview of this book

Deploying Docker into production is considered to be one of the major pain points in developing large-scale infrastructures, and the documentation available online leaves a lot to be desired. With this book, you will learn everything you wanted to know to effectively scale your deployments globally and build a resilient, scalable, and containerized cloud platform for your own use. The book starts by introducing you to the containerization ecosystem with some concrete and easy-to-digest examples; after that, you will delve into examples of launching multiple instances of the same container. From there, you will cover orchestration, multi-node setups, volumes, and almost every relevant component of this new approach to deploying services. Using intertwined approaches, the book will cover battle-tested tooling, or issues likely to be encountered in real-world scenarios, in detail. You will also learn about the other supporting components required for a true PaaS deployment and discover common options to tie the whole infrastructure together. At the end of the book, you learn to build a small, but functional, PaaS (to appreciate the power of the containerized service approach) and continue to explore real-world approaches to implementing even larger global-scale services.
Table of Contents (18 chapters)
Title Page
About the Author
About the Reviewer
Customer Feedback

Chapter 8. Building Our Own Platform

In previous chapters, we spent a lot of time working on individual pieces of infrastructure building up little isolated pieces here and there, but in this chapter, we will try to put as many concepts together and build a minimally-viable Platform-as-a-Service (PaaS). In the following sections, we will cover these topics:

  • Configuration Management (CM) tooling
  • Amazon Web Service (AWS) deployment
  • Continuous integration/Continuous delivery (CI/CD)

As we build up the core of our services, we will see what it takes to take a small service and deploy it into the real cloud.

One thing to note here is that this chapter is provided as only a quick primer and a basic example on real deployments in the cloud since creating a full PaaS infrastructure with all the bells and whistles is something that is usually so complex that it takes large teams months or years sometime to work out all the problems. Compounding the issue, the solutions are usually very specifically tailored...