Hands-On Docker for Microservices with Python (eBook)
408 Seiten
Packt Publishing (Verlag)
978-1-83882-255-2 (ISBN)
A step-by-step guide to building microservices using Python and Docker, along with managing and orchestrating them with Kubernetes
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
Book Description
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.
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
Who this book is for
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.
A step-by-step guide to building microservices using Python and Docker, along with managing and orchestrating them with KubernetesKey FeaturesLearn to use Docker containers to create, operate, and deploy your microservicesCreate workflows to manage independent deployments on coordinating services using CI and GitOps through GitHub, Travis CI, and FluxDevelop a REST microservice in Python using the Flask framework and Postgres databaseBook DescriptionMicroservices 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.What you will learnDiscover how to design, test, and operate scalable microservicesCoordinate and deploy different services using KubernetesUse Docker to construct scalable and manageable applications with microservicesUnderstand how to monitor a complete system to ensure early detection of problemsBecome well versed with migrating from an existing monolithic system to a microservice oneUse load balancing to ensure seamless operation between the old monolith and the new serviceWho this book is forThis 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.
Erscheint lt. Verlag | 22.11.2019 |
---|---|
Sprache | englisch |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Schlagworte | Docker • Microservices • Monolith • Python • Rest • TravisCI |
ISBN-10 | 1-83882-255-0 / 1838822550 |
ISBN-13 | 978-1-83882-255-2 / 9781838822552 |
Haben Sie eine Frage zum Produkt? |
![EPUB](/img/icon_epub_big.jpg)
Größe: 14,1 MB
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belletristik und Sachbüchern. Der Fließtext wird dynamisch an die Display- und Schriftgröße angepasst. Auch für mobile Lesegeräte ist EPUB daher gut geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich