Hands-On Docker for Microservices with Python
Packt Publishing Limited (Verlag)
978-1-83882-381-8 (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 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 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 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.
Jaime Buelta has been a professional programmer and a full-time Python developer and has been exposed to a lot of different technologies over his career. He has developed software for a variety of fields and industries, including aerospace, networking and communications, industrial SCADA systems, video game online services, and finance services. As part of these companies, he worked closely with various areas, such as marketing, management, sales, and game design, helping the companies achieve to their goals. He is a strong proponent of automating everything and making computers do most of the heavy lifting so users can focus on the important stuff. He is currently living in Dublin, Ireland, and has been a regular speaker at PyCon Ireland.
Table of Contents
Making the Move: Design, Plan, Execute
Creating a REST service with Python
Build, Run, and Test Your Service Using Docker
Creating a pipeline and workflow with GitHub and TravisCI
Using Kubernetes
Local development with Kubernetes
Configuring and Securing the System
Using GitOps principles
Managing workflows
Monitoring Logs and Metrics
Handling Change, Dependencies, and Secrets in The System
Collaboration and communication between teams
Erscheinungsdatum | 27.11.2019 |
---|---|
Verlagsort | Birmingham |
Sprache | englisch |
Maße | 75 x 93 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Netzwerke |
Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge | |
Informatik ► Software Entwicklung ► SOA / Web Services | |
Mathematik / Informatik ► Informatik ► Web / Internet | |
ISBN-10 | 1-83882-381-6 / 1838823816 |
ISBN-13 | 978-1-83882-381-8 / 9781838823818 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich