Network Automation Cookbook

Network Automation Cookbook

Author: Karim Okasha

Publisher: Packt Publishing Ltd

Published: 2020-04-17

Total Pages: 472

ISBN-13: 1789951879

DOWNLOAD EBOOK

Take your network automation skills to the next level with practical recipes on managing network devices from a variety of vendors like Cisco, Juniper, and Arista Key FeaturesUse Ansible to automate network infrastructure with the help of step-by-step instructionsImplement network automation best practices to save cost, avoid critical errors, and reduce downtimeDeliver a robust automation framework by integrating Ansible with NAPALM, NetBox, and BatfishBook Description Network Automation Cookbook is designed to help system administrators, network engineers, and infrastructure automation engineers to centrally manage switches, routers, and other devices in their organization's network. This book will help you gain hands-on experience in automating enterprise networks and take you through core network automation techniques using the latest version of Ansible and Python. With the help of practical recipes, you'll learn how to build a network infrastructure that can be easily managed and updated as it scales through a large number of devices. You'll also cover topics related to security automation and get to grips with essential techniques to maintain network robustness. As you make progress, the book will show you how to automate networks on public cloud providers such as AWS, Google Cloud Platform, and Azure. Finally, you will get up and running with Ansible 2.9 and discover troubleshooting techniques and network automation best practices. By the end of this book, you'll be able to use Ansible to automate modern network devices and integrate third-party tools such as NAPALM, NetBox, and Batfish easily to build robust network automation solutions. What you will learnUnderstand the various components of AnsibleAutomate network resources in AWS, GCP, and Azure cloud solutionsUse IaC concepts to design and build network solutionsAutomate network devices such as Cisco, Juniper, Arista, and F5Use NetBox to build network inventory and integrate it with AnsibleValidate networks using Ansible and BatfishWho this book is for This Ansible network automation book is for network and DevOps engineers interested in automating complex network tasks. Prior understanding of networking and basic Linux knowledge is required.


Network Automation Cookbook

Network Automation Cookbook

Author: Karim Okasha

Publisher:

Published: 2020-04-17

Total Pages: 482

ISBN-13: 9781789956481

DOWNLOAD EBOOK

Take your network automation skills to the next level with practical recipes on managing network devices from a variety of vendors like Cisco, Juniper, and Arista Key Features Use Ansible to automate network infrastructure with the help of step-by-step instructions Implement network automation best practices to save cost, avoid critical errors, and reduce downtime Deliver a robust automation framework by integrating Ansible with NAPALM, NetBox, and Batfish Book Description Network Automation Cookbook is designed to help system administrators, network engineers, and infrastructure automation engineers to centrally manage switches, routers, and other devices in their organization's network. This book will help you gain hands-on experience in automating enterprise networks and take you through core network automation techniques using the latest version of Ansible and Python. With the help of practical recipes, you'll learn how to build a network infrastructure that can be easily managed and updated as it scales through a large number of devices. You'll also cover topics related to security automation and get to grips with essential techniques to maintain network robustness. As you make progress, the book will show you how to automate networks on public cloud providers such as AWS, Google Cloud Platform, and Azure. Finally, you will get up and running with Ansible 2.9 and discover troubleshooting techniques and network automation best practices. By the end of this book, you'll be able to use Ansible to automate modern network devices and integrate third-party tools such as NAPALM, NetBox, and Batfish easily to build robust network automation solutions. What you will learn Understand the various components of Ansible Automate network resources in AWS, GCP, and Azure cloud solutions Use IaC concepts to design and build network solutions Automate network devices such as Cisco, Juniper, Arista, and F5 Use NetBox to build network inventory and integrate it with Ansible Validate networks using Ansible and Batfish Who this book is for This Ansible network automation book is for network and DevOps engineers interested in automating complex network tasks. Prior understanding of networking and basic Linux knowledge is required.


Practical Network Automation

Practical Network Automation

Author: Abhishek Ratan

Publisher: Packt Publishing Ltd

Published: 2017-11-16

Total Pages: 260

ISBN-13: 1788299132

DOWNLOAD EBOOK

Get More from your Network with Automation tools to increase its effectiveness. About This Book Get started with network automation (and different automation tasks) with relevant use cases Apply software design principles such as Continuous Integration and DevOps to your network toolkit Guides you through some best practices in automation Who This Book Is For If you are a network engineer looking for an extensive guide to help you automate and manage your network efficiently, then this book is for you. What You Will Learn Get the detailed analysis of Network automation Trigger automations through available data factors Improve data center robustness and security through specific access and data digging Get an Access to APIs from Excel for dynamic reporting Set up a communication with SSH-based devices using netmiko Make full use of practical use cases and best practices to get accustomed with the various aspects of network automation In Detail Network automation is the use of IT controls to supervise and carry out every-day network management functions. It plays a key role in network virtualization technologies and network functions. The book starts by providing an introduction to network automation, SDN, and its applications, which include integrating DevOps tools to automate the network efficiently. It then guides you through different network automation tasks and covers various data digging and reporting methodologies such as IPv6 migration, DC relocations, and interface parsing, all the while retaining security and improving data center robustness. The book then moves on to the use of Python and the management of SSH keys for machine-to-machine (M2M) communication, all followed by practical use cases. The book also covers the importance of Ansible for network automation including best practices in automation, ways to test automated networks using different tools, and other important techniques. By the end of the book, you will be well acquainted with the various aspects of network automation. Style and approach A clear, concise, and straightforward book that will enable you to automate networks and improve performance.


Network Programmability and Automation

Network Programmability and Automation

Author: Jason Edelman

Publisher: "O'Reilly Media, Inc."

Published: 2018-02-02

Total Pages: 586

ISBN-13: 1491931310

DOWNLOAD EBOOK

Like sysadmins before them, network engineers are finding that they cannot do their work manually anymore. As the field faces new protocols, technologies, delivery models, and a pressing need for businesses to be more agile and flexible, network automation is becoming essential. This practical guide shows network engineers how to use a range of technologies and tools—including Linux, Python, JSON, and XML—to automate their systems through code. Network programming and automation will help you simplify tasks involved in configuring, managing, and operating network equipment, topologies, services, and connectivity. Through the course of the book, you’ll learn the basic skills and tools you need to make this critical transition. This book covers: Python programming basics: data types, conditionals, loops, functions, classes, and modules Linux fundamentals to provide the foundation you need on your network automation journey Data formats and models: JSON, XML, YAML, and YANG for networking Jinja templating and its applicability for creating network device configurations The role of application programming interfaces (APIs) in network automation Source control with Git to manage code changes during the automation process How Ansible, Salt, and StackStorm open source automation tools can be used to automate network devices Key tools and technologies required for a Continuous Integration (CI) pipeline in network operations


DevOps Automation Cookbook

DevOps Automation Cookbook

Author: Michael Duffy

Publisher:

Published: 2015-11-26

Total Pages: 0

ISBN-13: 9781784392826

DOWNLOAD EBOOK

Over 120 recipes covering key automation techniques through code management and virtualization offered by modern Infrastructure as a ServiceAbout This Book- Use some of the powerful tools that have emerged to enable systems administrators and developers to take control and automate the management, monitoring, and creation of complex infrastructures- Covers some of the most exciting technologies available to DevOps engineers, and demonstrates multiple techniques for using them- A hands-on guide filled with clear examples and multiple methodologies to demonstrate the various DevOps tools available Who This Book Is ForIf you are a systems administrator or developer who is keen to employ DevOps techniques to help with the day-to-day complications of managing complex infrastructures, then this book is for you. No prior knowledge of DevOps tools is required. What You Will Learn- Manage, use, and work with code in the Git version management system- Manage the life cycle of hosts, from creation to on-going management, using Puppet Razor- Create hosts automatically using a simple combination of TFTP, DHCP, and pre-seeds- Implement virtual hosts using the ubiquitous VMware ESXi hypervisor- Control configuration using the powerful and popular Ansible configuration management system- Develop powerful, consistent, and portable containers using Docker- Track trends, discover data, and monitor key systems using InfluxDB, syslog, and Sensu- Deal efficiently with powerful cloud infrastructures using the Amazon AWS Infrastructure as a Service and the Heroku Platform as a Service In DetailThere has been a recent explosion in tools that allow you to redefine the delivery of infrastructure and applications, using a combination of automation and testing to deliver continuous deployment. DevOps has garnered interest from every quarter, and is rapidly being recognized as a radical shift, as large as the Agile movement for the delivery of software.This book takes a collection of some of the coolest software available today and shows you how to use it to create impressive changes to the way you deliver applications and software. It tackles the plethora of tools that are now available to enable organizations to take advantage of the automation, monitoring, and configuration management techniques that define a DevOps-driven infrastructure.Starting off with the fundamental command-line tools that every DevOps enthusiast must know, this book will guide you through the implementation of the Ansible tool to help you facilitate automation and perform diverse tasks. You will explore how to build hosts automatically with the creation of Apt mirrors and interactive pre-seeds, which are of the utmost importance for Ubuntu automation. You will also delve into the concept of virtualization and creating and manipulating guests with ESXi. Following this, you will venture into the application of Docker; learn how to install, run, network, and restore Docker containers; and also learn how to build containers in Jenkins and deploy apps using a combination of Ansible, Docker, and Jenkins. You will also discover how to filter data with Grafana and the usage of InfluxDB along with unconventional log management. Finally, you will get acquainted with cloud infrastructure, employing the Heroku and Amazon AWS platforms.By tackling real-world issues, this book will guide you through a huge variety of tools, giving new users the ability to get up and running and offering advanced users some interesting recipes that may help with existing issues. Style and approachThis book has an easy-to-follow approach to both introducing the wide range of available DevOps tools and working with them. Each recipe is lavishly sprinkled with example code and uses clear instructions to easily allow you to see how you can both implement the solutions, and more importantly, tailor them to your unique needs.


Ansible 2 Cloud Automation Cookbook

Ansible 2 Cloud Automation Cookbook

Author: Aditya Patawari

Publisher: Packt Publishing Ltd

Published: 2018-02-28

Total Pages: 191

ISBN-13: 1788298772

DOWNLOAD EBOOK

Orchestrate your cloud infrastructure Key Features Recipe-based approach to install and configure cloud resources using Ansible Covers various cloud-related modules and their functionalities Includes deployment of a sample application to the cloud resources that we create Learn the best possible way to manage and automate your cloud infrastructure Book Description Ansible has a large collection of inbuilt modules to manage various cloud resources. The book begins with the concepts needed to safeguard your credentials and explain how you interact with cloud providers to manage resources. Each chapter begins with an introduction and prerequisites to use the right modules to manage a given cloud provider. Learn about Amazon Web Services, Google Cloud, Microsoft Azure, and other providers. Each chapter shows you how to create basic computing resources, which you can then use to deploy an application. Finally, you will be able to deploy a sample application to demonstrate various usage patterns and utilities of resources. What you will learn Use Ansible Vault to protect secrets Understand how Ansible modules interact with cloud providers to manage resources Build cloud-based resources for your application Create resources beyond simple virtual machines Write tasks that can be reused to create resources multiple times Work with self-hosted clouds such as OpenStack and Docker Deploy a multi-tier application on various cloud providers Who this book is for If you are a system administrator, infrastructure engineer, or a DevOps engineer who wants to obtain practical knowledge about Ansible and its cloud deliverables, then this book is for you. Recipes in this book are designed for people who would like to manage their cloud infrastructures efficiently using Ansible, which is regarded as one of the best tools for cloud management and automation.


Docker Networking Cookbook

Docker Networking Cookbook

Author: Jon Langemak

Publisher: Packt Publishing Ltd

Published: 2016-11-29

Total Pages: 379

ISBN-13: 1786461773

DOWNLOAD EBOOK

60 practical recipes that help you gain expertise with Docker networking and understand the underlying constructs that make it all work About This Book Enhance your Docker networking skills and protect your organization using advanced networking functions Learn how to use third party tools to extend Docker networking This practical and recipe-based book demonstrates the different ways in which you can network containers leveraging the Docker engine. Who This Book Is For The book is for system administrators as well as developers who are well versed with the concepts of Docker and have basic knowledge of Docker networking. You should also have sound knowledge of networking in general. What You Will Learn Configure Linux networking primitives used by Docker networking Build and deploy user-defined Docker networks Examine the different options for resolving and linking containers Implement custom networks for Docker to consume Discover third-party networking plugins such as Weave and Flannel Work through solutions to secure Docker containers and networks Observe methodologies for troubleshooting container networks Explore advanced and experimental Docker networking features In Detail Networking functionality in Docker has changed considerably since its first release, evolving to offer a rich set of built-in networking features, as well as an extensible plugin model allowing for a wide variety of networking functionality. This book explores Docker networking capabilities from end to end. Begin by examining the building blocks used by Docker to implement fundamental containing networking before learning how to consume built-in networking constructs as well as custom networks you create on your own. Next, explore common third-party networking plugins, including detailed information on how these plugins inter-operate with the Docker engine. Consider available options for securing container networks, as well as a process for troubleshooting container connectivity. Finally, examine advanced Docker networking functions and their relevant use cases, tying together everything you need to succeed with your own projects. Style and approach This practical recipe-based book will take readers to next level of Docker networking. It covers relevant use cases and the advanced features of Docker


Python Network Programming Techniques

Python Network Programming Techniques

Author: Marcel Neidinger

Publisher: Packt Publishing Ltd

Published: 2021-10-08

Total Pages: 341

ISBN-13: 1838640479

DOWNLOAD EBOOK

Become well-versed with network programmability by solving the most commonly encountered problems using Python 3 and open-source packages Key FeaturesExplore different Python packages to automate your infrastructureLeverage AWS APIs and the Python library Boto3 to administer your public cloud network efficientlyGet started with infrastructure automation by enhancing your network programming knowledgeBook Description Network automation offers a powerful new way of changing your infrastructure network. Gone are the days of manually logging on to different devices to type the same configuration commands over and over again. With this book, you'll find out how you can automate your network infrastructure using Python. You'll get started on your network automation journey with a hands-on introduction to the network programming basics to complement your infrastructure knowledge. You'll learn how to tackle different aspects of network automation using Python programming and a variety of open source libraries. In the book, you'll learn everything from templating, testing, and deploying your configuration on a device-by-device basis to using high-level REST APIs to manage your cloud-based infrastructure. Finally, you'll see how to automate network security with Cisco's Firepower APIs. By the end of this Python network programming book, you'll have not only gained a holistic overview of the different methods to automate the configuration and maintenance of network devices, but also learned how to automate simple to complex networking tasks and overcome common network programming challenges. What you will learnProgrammatically connect to network devices using SSH (secure shell) to execute commandsCreate complex configuration templates using PythonManage multi-vendor or multi-device environments using network controller APIs or unified interfacesUse model-driven programmability to retrieve and change device configurationsDiscover how to automate post modification network infrastructure testsAutomate your network security using Python and Firepower APIsWho this book is for This book is for network engineers who want to make the most of Python to automate their infrastructure. A basic understanding of Python programming and common networking principles is necessary.


Python Network Programming Cookbook

Python Network Programming Cookbook

Author: Pradeeban Kathiravelu

Publisher: Packt Publishing Ltd

Published: 2017-08-09

Total Pages: 442

ISBN-13: 1786468476

DOWNLOAD EBOOK

Discover practical solutions for a wide range of real-world network programming tasks About This Book Solve real-world tasks in the area of network programming, system/networking administration, network monitoring, and more. Familiarize yourself with the fundamentals and functionalities of SDN Improve your skills to become the next-gen network engineer by learning the various facets of Python programming Who This Book Is For This book is for network engineers, system/network administrators, network programmers, and even web application developers who want to solve everyday network-related problems. If you are a novice, you will develop an understanding of the concepts as you progress with this book. What You Will Learn Develop TCP/IP networking client/server applications Administer local machines' IPv4/IPv6 network interfaces Write multi-purpose efficient web clients for HTTP and HTTPS protocols Perform remote system administration tasks over Telnet and SSH connections Interact with popular websites via web services such as XML-RPC, SOAP, and REST APIs Monitor and analyze major common network security vulnerabilities Develop Software-Defined Networks with Ryu, OpenDaylight, Floodlight, ONOS, and POX Controllers Emulate simple and complex networks with Mininet and its extensions for network and systems emulations Learn to configure and build network systems and Virtual Network Functions (VNF) in heterogeneous deployment environments Explore various Python modules to program the Internet In Detail Python Network Programming Cookbook - Second Edition highlights the major aspects of network programming in Python, starting from writing simple networking clients to developing and deploying complex Software-Defined Networking (SDN) and Network Functions Virtualization (NFV) systems. It creates the building blocks for many practical web and networking applications that rely on various networking protocols. It presents the power and beauty of Python to solve numerous real-world tasks in the area of network programming, network and system administration, network monitoring, and web-application development. In this edition, you will also be introduced to network modelling to build your own cloud network. You will learn about the concepts and fundamentals of SDN and then extend your network with Mininet. Next, you'll find recipes on Authentication, Authorization, and Accounting (AAA) and open and proprietary SDN approaches and frameworks. You will also learn to configure the Linux Foundation networking ecosystem and deploy and automate your networks with Python in the cloud and the Internet scale. By the end of this book, you will be able to analyze your network security vulnerabilities using advanced network packet capture and analysis techniques. Style and approach This book follows a practical approach and covers major aspects of network programming in Python. It provides hands-on recipes combined with short and concise explanations on code snippets. This book will serve as a supplementary material to develop hands-on skills in any academic course on network programming. This book further elaborates network softwarization, including Software-Defined Networking (SDN), Network Functions Virtualization (NFV), and orchestration. We learn to configure and deploy enterprise network platforms, develop applications on top of them with Python.


AWS Networking Cookbook

AWS Networking Cookbook

Author: Satyajit Das

Publisher: Packt Publishing Ltd

Published: 2017-08-24

Total Pages: 361

ISBN-13: 178728624X

DOWNLOAD EBOOK

Over 50 recipes covering all you need to know about AWS networking About This Book Master AWS networking concepts with AWS Networking Cookbook. Design and implement highly available connectivity and multi-regioned AWS solutions A recipe-based guide that will eliminate the complications of AWS networking. A guide to automate networking services and features Who This Book Is For This book targets administrators, network engineers, and solution architects who are looking at optimizing their cloud platform's connectivity. Some basic understanding of AWS would be beneficial. What You Will Learn Create basic network in AWS Create production grade network in AWS Create global scale network in AWS Security and Compliance with AWS Network Troubleshooting, best practices and limitations of AWS network Pricing model of AWS network components Route 53 and Cloudfront concepts and routing policies VPC Automation using Ansible and CloudFormation In Detail This book starts with practical recipes on the fundamentals of cloud networking and gradually moves on to configuring networks and implementing infrastructure automation. This book then supplies in-depth recipes on networking components like Network Interface, Internet Gateways, DNS, Elastic IP addresses, and VPN CloudHub. Later, this book also delves into designing, implementing, and optimizing static and dynamic routing architectures, multi-region solutions, and highly available connectivity for your enterprise. Finally, this book will teach you to troubleshoot your VPC's network, increasing your VPC's efficiency. By the end of this book, you will have advanced knowledge of AWS networking concepts and technologies and will have mastered implementing infrastructure automation and optimizing your VPC. Style and approach A set of exciting recipes on using AWS Networking services more effectively.