Mastering Python Network Automation: Automating Container Orchestration, Configuration, and Networking with Terraform, Calico, HAProxy, and Istio
暫譯: 精通 Python 網路自動化:使用 Terraform、Calico、HAProxy 和 Istio 自動化容器編排、配置和網路管理
Peters, Tim
- 出版商: Gitforgits
- 出版日期: 2023-03-20
- 售價: $2,150
- 貴賓價: 9.8 折 $2,107
- 語言: 英文
- 頁數: 204
- 裝訂: Quality Paper - also called trade paper
- ISBN: 8196228554
- ISBN-13: 9788196228552
-
相關分類:
Python
無法訂購
相關主題
商品描述
With "Mastering Python Network Automation," you can streamline container orchestration, configuration management, and resilient networking with Python and its libraries, allowing you to emerge as a skilled network engineer or a strong DevOps professional. From the ground up, this guide walks readers through setting up a network automation lab using the NS3 network simulator and Python programming. This includes the installation of NS3, as well as python libraries like nornir, paramiko, netmiko, and PyEZ, as well as the configuration of ports, hosts, and servers. This book will teach you the skills to become a proficient automation developer who can test and fix any bugs in automation scripts. This book examines the emergence of the service mesh as a solution to the problems associated with service-to-service communication over time. This book walks you through automating various container-related tasks in Python and its libraries, including container orchestration, service discovery, load balancing, container storage management, container performance monitoring, and rolling updates. Calico and Istio are two well-known service mesh tools, and you'll find out how to set them up and configure them to manage traffic routing, security, and monitoring. Additional topics covered in this book include the automation of network policies, the routing of workloads, and the collection and tracking of metrics, logs, and traces. You'll also pick up some tips and tricks for collecting and visualizing Istio metrics with the help of tools like Grafana.
Key Learnings
- Use of Istio for cluster traffic management, traffic routing, and service mesh
implementation. - Utilizing Cilium and Calico to solve pod networking and automate network policy
and workload routing. - Monitoring and managing Kubernetes clusters with etcd and HAProxy load
balancers and container storage. - Establishing network automation lab with tools like NS3 emulator, Python, Virtual
Environment, and VS Code. - Establishing connectivity between hosts, port connectivity, SSH connectivity,
python libraries, NS3, and network encryption.
Table of Content
- Python Essentials for Networks
- File Handling and Modules in Python
- Preparing Network Automation Lab
- Configuring Libraries and Lab Components
- Code, Test & Validate Network Automation
- Automation of Configuration Management
- Managing Docker and Container Networks
- Orchestrating Container & Workloads
- Pod Networking
- Implementing Service Mesh
Audience
"Mastering Python Network Automation" is an essential guide for network engineers, DevOps professionals, and developers who want to streamline container orchestration and resilient networking with the help of Terraform, Calico, and Istio. Knowing Python and the basics of networking is sufficient to pursue this book.
商品描述(中文翻譯)
眾多範例程式和示例展示了如何應用 Python 工具來簡化網路自動化。
透過《精通 Python 網路自動化》,您可以利用 Python 及其庫來簡化容器編排、配置管理和韌性網路,讓您成為一名熟練的網路工程師或強大的 DevOps 專業人士。
從基礎開始,本指南將引導讀者使用 NS3 網路模擬器和 Python 程式設置網路自動化實驗室。這包括 NS3 的安裝,以及像 nornir、paramiko、netmiko 和 PyEZ 等 Python 庫的安裝,還有端口、主機和伺服器的配置。
本書將教您成為一名熟練的自動化開發者,能夠測試和修復自動化腳本中的任何錯誤。本書探討了服務網格的出現,作為解決隨時間推移的服務間通信問題的解決方案。
本書將引導您自動化 Python 及其庫中各種與容器相關的任務,包括容器編排、服務發現、負載平衡、容器存儲管理、容器性能監控和滾動更新。 Calico 和 Istio 是兩個知名的服務網格工具,您將學會如何設置和配置它們以管理流量路由、安全性和監控。
本書還涵蓋了網路政策的自動化、工作負載的路由,以及指標、日誌和追蹤的收集和跟蹤等主題。 您還將獲得一些收集和可視化 Istio 指標的技巧,並使用 Grafana 等工具來協助。
主要學習內容
- 使用 Istio 進行叢集流量管理、流量路由和服務網格實作。
- 利用 Cilium 和 Calico 解決 Pod 網路問題,自動化網路政策和工作負載路由。
- 使用 etcd 和 HAProxy 負載平衡器及容器存儲來監控和管理 Kubernetes 叢集。
- 使用 NS3 模擬器、Python、虛擬環境和 VS Code 建立網路自動化實驗室。
- 在主機之間建立連接、端口連接、SSH 連接、Python 庫、NS3 和網路加密。
目錄
- 網路的 Python 基礎
- Python 中的檔案處理和模組
- 準備網路自動化實驗室
- 配置庫和實驗室組件
- 編碼、測試和驗證網路自動化
- 配置管理的自動化
- 管理 Docker 和容器網路
- 編排容器和工作負載
- Pod 網路
- 實作服務網格
讀者對象
《精通 Python 網路自動化》是網路工程師、DevOps 專業人士和開發者的必備指南,旨在幫助他們利用 Terraform、Calico 和 Istio 簡化容器編排和韌性網路。了解 Python 和網路基礎知識即可進行本書的學習。