Explore network automation with Ansible by configuring network infrastructure fast, reliably, and repeatedly all while creating a lab utilizing open and available network operating systems and tools. Key Features Design, build, and automate network devices and cloud networking resources using Ansible. Orchestrate workflows with AWX and integrate Nautobot as a Source of Truth. Start with Event-Driven Ansible and manage Terraform workflows seamlessly. Book DescriptionNetwork Automation Cookbook, now in its second edition, is your essential guide to building robust network automation workflows across modern hybrid infrastructures. Building on the foundation laid in the first edition, this version dives deeper into Ansible’s role in automating network infrastructure, expanding coverage to include modern use cases across enterprise and cloud networks. The book introduces Ansible’s core concepts such as playbooks, inventories, variables, loops, templates and progresses to advanced topics like parallelism, fact caching, custom filters, and modular design. You will automate real-world scenarios using Nokia SR, Cisco IOS, Juniper, and Arista devices in a fully reproducible virtual lab. It also explores cloud automation for AWS, Azure, and Google Cloud, and integrates validation tools like PyATS, Batfish, and Nautobot. New chapters cover event-driven automation, AWX for workflow execution, and Terraform integration. Whether you're a network engineer, DevOps pro, or cloud architect, this book equips you with the tools and workflows to automate infrastructure efficiently with Ansible. What you will learn Build Ansible playbooks, roles, and inventories from scratch Automate Cisco, Juniper, Arista, and F5 network devices Deploy cloud networks on AWS, Azure, and Google Cloud Validate networks with Batfish, PyATS, and NAPALM Use AWX for workflow automation and job scheduling Integrate NetBox or Nautobot as dynamic inventory sources Run all recipes in containerized, hardware-free labs Apply event-driven automation using Ansible Rulebooks Who this book is forThis edition helps readers understand Ansible’s role in network automation and how it integrates with tools like Terraform and event-driven architectures. With hands-on labs and fully reproducible recipes, readers can practice real-world scenarios and reinforce their skills. Ideal for network engineers, automation engineers, and NREs, the book requires basic networking knowledge and familiarity with YAML to maximize learning.
Les mer
Table of Contents
  1. Why Ansible for Network Automation
  2. Building blocks of Ansible
  3. Advanced Ansible Concepts
  4. Managing Nokia SR Devices using Ansible
  5. Automating Juniper Devices in the Service Providers using Ansible
  6. Building Data Center Networks with Arista and Ansible
  7. Administering Multi Vendor Network with NAPALM and Ansible
  8. Deploying and operating AWS networking resources with Ansible
  9. Deploying and operating Azure networking resources with Ansible
  10. Deploying and operating Google networking resources with Ansible
  11. Network Validation with PyATS or Batfish
  12. Building a Network Inventory with Nautobot
  13. Simplifying Automation with AWX
  14. Event-Driven Ansible
  15. Terraform and Ansible dancing together
  16. The LAB
Les mer

Produktdetaljer

ISBN
9781835887981
Publisert
2025-08-29
Utgave
2. utgave
Utgiver
Vendor
Packt Publishing Limited
Høyde
235 mm
Bredde
191 mm
Aldersnivå
01, G, 01
Språk
Product language
Engelsk
Format
Product format
Heftet

Biografisk notat

Christian Adell is a principal architect at Network to Code He is focused on building network automation solutions for diverse use cases, with great emphasis on open source software. He is passionate about learning and helping others to grow, but also has more hobbies than hours in the day, so working remotely from Barcelona gives him the time and the space to achieve his dreams. Christian is a co-author of O'Reilly's Network Programmability and Automation book and a co-author of Network Automation with Nautobot by Packt. Also in relation to sharing knowledge, he is the organizer of the NetBCN community in Barcelona and has been collaborating with several universities for almost 20 years. Jeff Kala, a Principal Architect at Network to Code holds a Bachelor in Science in Network Communication Management. He has transformed his career from a traditional network engineer into a network automation architect. His journey started in network engineering working for a large cellular provider, as the networks he helped maintain grew in complexity and size he explored and implemented automation techniques that resulted in a renewed career trajectory in network automation. Karim Okasha is a network consultant with over 15 years of experience in the ICT industry. He is specialized in the design and operation of large telecom and service provider networks and has lots of experience in network automation. Karim has a bachelor's degree in telecommunications and holds several expert-level certifications, such as CCIE, JNCIE, and RHCE. He is currently working in Red Hat as a network automation consultant, helping large telecom and service providers to design and implement innovative network automation solutions. Prior to joining Red Hat, he worked for Saudi Telecom Company as well as Cisco and Orange S.A.