Leanpub Header

Skip to main content

Mastering NetDevOps

This bundle gives network professionals the know-how to take on the NetDevOps roles that are becoming more and more important in enterprise network engineering.

Bought separately

$119.96

Minimum price

$79.99

$84.99

You pay

Author earns

$

Also available for 3 book credits with a Reader Membership

These books have a total suggested price of $119.96. Get them now for only $79.99!
About

About

About the Bundle

A full set of NetDevOps tools for network engineers to automate modern businesses. Practical Python for Network Operations starts with the hands-on skills you need to automate, administer, and validate networks using Python 3.14, NETCONF, Ansible, Nornir, gNMI, and CI pipelines. Python Networking 101 Second Edition gets you up to speed with Netmiko, Paramiko, and NAPALM. Mastering Python Network Automation is all about getting to grips with container orchestration and infrastructure-wide automation. Learning Ansible is the icing on the cake, giving you agentless configuration management and CI/CD integration, which is key for network automation at scale. These four books cover everything from core Python networking through to model-driven automation and full pipeline-driven operations, giving network professionals the know-how to take on the NetDevOps roles that are becoming more and more important in enterprise network engineering.

Books

About the Books

Learning Ansible

Learning Ansible

Embrace productivity and challenge IT complexity with the best automation engine

To help aspiring IT professionals succeed in the automation field, "Learning Ansible" provides an in-depth primer that covers all the essential skills. The book is an excellent resource that will help you become an expert IT automation specialist and Ansible Developer.

Starting with an introduction to Ansible, the journey will show how crucial it is in today's IT settings. The first few chapters cover the essentials, diving into topics like configuration management, automation, integration, and orchestration. The authors make sure that readers can confidently troubleshoot issues by thoroughly examining network, performance, and security errors and providing advanced debugging techniques. Practical uses of Ansible in system administration, user and group management, and managing common and complex errors are explored throughout the book. Setup of network devices, software upgrade automation, and fixing recurring network problems are all covered in detail, along with example programs.

Next, we'll take a closer look at DevOps, with a focus on how Ansible has impacted CI/CD pipelines. The course teaches readers how to integrate Ansible with popular tools and cloud providers like AWS and Azure through and various tools such as Jenkins, Docker, and Kubernetes.

Additionally, integration is extended to databases such as MySQL and MongoDB, as well as monitoring tools such as Nagios and Prometheus. By incorporating practical exercises throughout, the book guarantees that its readers will grasp the concepts and be able to put them to use in actual situations.

Key Learnings

  • A thorough introduction to Ansible, laying the groundwork for mastering IT automation techniques.
  • In-depth examination of system administration, with emphasis on improving user and group management skills.
  • Detailed instructions for debugging in Ansible, enhancing problem-solving and troubleshooting abilities.
  • Practical demonstrations of network device configuration, aimed at improving network management skills.
  • Hands-on Ansible integration with Jenkins, Docker, and Kubernetes, enhancing CI/CD capabilities.
  • Integration with cloud providers such as AWS and Azure to strengthen cloud management skills.
  • Techniques for automating workstation setup and software upgrades, with the goal of increasing automation efficiency.
  • Integration with monitoring and logging tools, promoting best practices in system monitoring.
  • Using Ansible to build a full-stack application setup and gain end-to-end automation expertise.
  • Consistent application of web server sample program, which makes learning practical and relatable.

Table of Content

  1. Introduction to Ansible
  2. Playbooks and Tasks
  3. Working with Modules
  4. Roles, Files and Templating
  5. Managing Systems with Ansible
  6. Ansible in Networking
  7. Ansible for DevOps
  8. Troubleshooting Ansible
  9. Integrating Ansible with Other Tools
Mastering Python Network Automation

Mastering Python Network Automation

Automating Container Orchestration, Configuration, and Networking with Terraform, Calico, HAProxy, and Istio

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

  1. Python Essentials for Networks
  2. File Handling and Modules in Python
  3. Preparing Network Automation Lab
  4. Configuring Libraries and Lab Components
  5. Code, Test & Validate Network Automation
  6. Automation of Configuration Management
  7. Managing Docker and Container Networks
  8. Orchestrating Container & Workloads
  9. Pod Networking
  10. Implementing Service Mesh
Python Networking 101, Second Edition

Python Networking 101, Second Edition

Mastering the capability of network and socket programming, AsyncIO, network performance, simulations and Ansible

If you're a developer getting into networking for the first time or an IT pro looking to build practical automation skills, this second edition gives you a clear and structured path to master essential networking concepts and become a confident, hands-on Python network administrator. If you're looking to automate repetitive networking tasks, build tools for infrastructure, or become a network administrator, you'll find this book teaching all the skills, structure, and mindset to make it happen.

You'll start off by getting the basics of Python down and then quickly move on to TCP, UDP, and socket programming. You'll work with protocols like HTTP, FTP, DNS, and email, and you'll use Python to automate everyday network tasks. As you read on, you'll dive into modern network automation using Netmiko, Paramiko, and NAPALM, manage asynchronous tasks with AsyncIO, and set up monitoring and analysis workflows through SNMP, ping3, iperf3, and Locust. You'll also use SimPy to simulate networks, program firewalls, scanning, encryption, and VPNs. You'll also get to work on configuration management and orchestration using Ansible. This will teach you how to automate server and network setups, manage software lifecycles, enforce standards, and integrate Python for advanced logic.

This book is all about clarity and practicality, using simple, easy-to-follow examples that work in the real world. It's not meant to deal with complicated business scenarios, but it does cover the most important, routine and common jobs of network programming.

Key Features

  • Learn the basics of Python syntax and data structures for network automation.
  • Get the hang of TCP, UDP, and socket programming for real communication tasks.
  • Practice your skills with HTTP, FTP, DNS, and email protocols using real-world Python scripts.
  • Set up SSH connections and device configurations using Netmiko, Paramiko, and NAPALM.
  • Take charge of asynchronous network operations with Python's AsyncIO library.
  • Keep an eye on, look at, and test networks using SNMP, ping3, iperf3, Locust, and SimPy.
  • Make your network security stronger by using firewalls, scanning, SSL/TLS, and VPN configurations.
  • Take advantage of the NAPALM and Git integration to automate your configuration management and version control.
  • With Ansible playbooks, roles, and automation workflows, you can orchestrate server and network setups.

Table of Content

  1. Introduction to Python and Networking
  2. TCP, UDP and Socket Programming
  3. Working with Application Layer
  4. Exploring Network Automation
  5. Network Monitoring and Analysis
  6. Network Security and Python
  7. Working with APIs and Network Services
  8. Network Programming with AsyncIO
  9. Network Testing and Simulation
  10. Network Configuration Management
  11. Ansible and Python
Practical Python for Network Operations

Practical Python for Network Operations

Hands-on Automate, Administer and Validate Enterprise Networks using Python 3.14, NETCONF, Ansible, Nornir, gNMI and CI Pipelines

In today's landscape, the success of enterprise networks hinges on proficiency in understanding how networks behave, and knowing how to optimise their performance at scale. Therefore, this book is written for professionals who already know the basics and want to learn about scaling up. Covering Python 3.14 as an everyday operations tool, this book is a must-read for network engineers, network and system administrators, network architects and enterprise architects. It teaches you to transform a basic reachability probe into a complete application which can audit routers, Linux hosts, cloud accounts, and Kubernetes clusters.

You will practically experience automating devices over SSH, NETCONF and RESTCONF; managing Linux networking through netlink, and switching from SNMP polling to gNMI streaming telemetry for monitoring. It covers everything from hardening firewalls, TLS and VPNs to building your own network API with FastAPI, managing configuration with NAPALM, Nornir, NetBox and Ansible, and validating every change in a CI pipeline with Batfish and pyATS before it reaches production. Each step is accompanied by a dry run and a rollback option, and every lab runs in containers on your own machine.

Key Learnings
  • Build your Python 3.14 tooling, and choosing between free-threaded and standard builds.
  • Automate multi-vendor devices using Netmiko and Scrapli.
  • Parse device output using TextFSM, TTP and Genie over Regex.
  • Apply safe changes using NETCONF candidate datastores, confirmed commits and automatic rollback.
  • Manage Linux interfaces, routes and namespaces using netlink with pyroute2.
  • Scale to hundreds of devices using asyncio TaskGroups, timeouts and semaphores.
  • Replace SNMP polling with gNMI streaming telemetry for Prometheus and OpenTelemetry.
  • Automate firewalls, TLS audits, WireGuard tunnels and CIS compliance checks.
  • Drive configuration from NetBox through Nornir, Jinja2, NAPALM and Ansible.
  • Validate changes in CI before production using Batfish, pyATS and Containerlab.

Table of Content
  1. Building Python 3.14 Network Toolkit
  2. Probing Networks with Raw Sockets
  3. Talking to HTTP, DNS and WebSocket Services
  4. Automating Network Devices over SSH
  5. Configuring Devices with NETCONF, RESTCONF and YANG
  6. Managing Linux Host Networking
  7. Scaling Fleet Operations with Concurrency
  8. Monitoring Networks with Streaming Telemetry
  9. Securing Networks and Automation Credentials
  10. Building and Consuming Network APIs
  11. Managing Configuration across the Fleet
  12. Running Network Changes with Ansible
  13. Testing and Shipping Network Changes with CI/CD
  14. Auditing Cloud and Kubernetes Networks

Target Audience

To read this book, you don't need to be a seasoned networking professional. All you need is a sense of curiosity, access to a terminal, and a willingness to let the computer handle the repetitive tasks.

 

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub