Hands-On Docker for Microservices with Python

Buelta, Jaime

相關主題

商品描述

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.

  • 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

商品描述(中文翻譯)

微服務架構有助於建立由多個相互連接的服務組成的複雜系統,並可由獨立的團隊並行維護。本書將指導您如何使用容器開發這些複雜系統。

您將首先學習如何設計一個有效的策略,將傳統的單體系統遷移到微服務。您將使用Python構建一個RESTful微服務,並學習如何使用Docker將服務的代碼封裝到容器中。在開發服務的過程中,您將了解如何使用GitHub和Travis CI等工具來實現持續交付(CD)和持續集成(CI)。隨著系統變得複雜並增長,您將介紹Kubernetes並探索如何在管理多個服務的同時編排容器系統。接下來,您將為適用於生產環境的Kubernetes集群進行配置,並確保可靠的部署安全性。在結尾章節中,您將學習如何使用日誌和指標檢測和調試關鍵問題。最後,您將發現多種與處理不同微服務的團隊進行有效協作的策略。

通過閱讀本書,您將能夠構建生產級的微服務,並使用容器編排一個複雜的服務系統。

本書的內容包括:
- 學習使用Docker容器來創建、操作和部署您的微服務
- 通過GitHub、Travis CI和Flux,創建工作流程來管理協調服務上的獨立部署
- 使用Flask框架和Postgres數據庫在Python中開發REST微服務

類似商品