Hands-On Docker for Microservices with Python
暫譯: 實戰 Docker 與 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 容器來創建、操作和部署您的微服務
- 創建工作流程,以通過 CI 和 GitOps 使用 GitHub、Travis CI 和 Flux 管理獨立的部署協調服務
- 使用 Flask 框架和 Postgres 數據庫在 Python 中開發 REST 微服務