Hands-On Docker for Microservices with Python

Microservices architecture helps create complex systems with multiple, interconnected services that can be maintained by independent teams working in parallel. This book guides you on how to develop these complex systems with the help of containers.
You’ll start by learning to design an efficient strategy for migrating a legacy monolithic system to microservices. You’ll build a RESTful microservice with Python and learn how to encapsulate the code for the services into a container using Docker. While developing the services, you’ll understand how to use tools such as GitHub and Travis CI to ensure continuous delivery (CD) and continuous integration (CI). As the systems become complex and grow in size, you’ll be introduced to Kubernetes and explore how to orchestrate a system of containers while managing multiple services. Next, you’ll configure Kubernetes clusters for production-ready environments and secure them for reliable deployments. In the concluding chapters, you’ll learn how to detect and debug critical problems with the help of logs and metrics. Finally, you’ll discover a variety of strategies for working with multiple teams dealing with different microservices for effective collaboration.
By the end of this book, you’ll be able to build production-grade microservices as well as orchestrate a complex system of services using containers.

Type
ebook
Category
publication date
2019-11-22
what you will learn

Discover how to design, test, and operate scalable microservices
Coordinate and deploy different services using Kubernetes
Use Docker to construct scalable and manageable applications with microservices
Understand how to monitor a complete system to ensure early detection of problems
Become well versed with migrating from an existing monolithic system to a microservice one
Use load balancing to ensure seamless operation between the old monolith and the new service

no of pages
408
duration
816
key features
Learn to use Docker containers to create, operate, and deploy your microservices * Create workflows to manage independent deployments on coordinating services using CI and GitOps through GitHub, Travis CI, and Flux * Develop a REST microservice in Python using the Flask framework and Postgres database
approach
A step-by-step guide to teach you how to use Python with Docker to build Microservices.
audience
This book is for developers, engineers, or software architects who are trying to move away from traditional approaches for building complex multi-service systems by adopting microservices and containers. Although familiarity with Python programming is assumed, no prior knowledge of Docker is required.
meta description
A step-by-step guide to building microservices using Python and Docker, along with managing and orchestrating them with Kubernetes
short description
Microservices architecture helps create a complex system that can be maintained by independent teams working in parallel. You’ll learn how to structure big systems, encapsulate them using Docker, and deploy them using Kubernetes. By the end of this book, you’ll know how to design, deploy and operate a complex system with multiple microservices.
subtitle
Design, deploy, and operate a complex system with multiple microservices using Docker and Kubernetes
keywords
Microservices, Docker, Python, REST, TravisCI, Monolith
Product ISBN
9781838823818