Ma Network Automation Guide Ebook
Ma Network Automation Guide Ebook
Chapter 1
Think big 11
Chapter 4
Chapter 5
Infrastructure as code 19
Policy as code 19
Chapter 7
And although vital, the network but often implemented with a wide
was rarely viewed as a strategic assortment of automation tools, each
EMA research found that
investment as long as everything with a singular management function.
continued to run smoothly. Even 86%
as underlying technologies have Enterprises and communications of organizations will increase
evolved, network management service providers are investing their budget for datacenter
has remained largely the same for heavily in network automation to network automation solutions
decades. Networks are typically ensure their networks can support over the next two years.1
built, operated, and maintained by the demands of modern digital
hand—but that’s all changing. infrastructure. Modern networks
need remediation more rapidly than
To remain relevant in a hybrid cloud can be manually applied, regardless
world, organizations know they of the size of your organization.
must modernize. Traditional, manual
approaches to network configuration This guide provides network
and updates are too slow and error- managers, architects and operators
prone to effectively support the with some best practices for an
needs of rapidly shifting workload operational framework that supports
requirements. Not to mention, there next-generation network operations,
is added pressure that these tasks managing network infrastructure-
place on the people responsible for as-code, and connecting teams
maintaining your network. Network across your IT organization, including
automation is growing in popularity network and cloud experts.
1
McGillicuddy, Shamus. “The Future of Data Center Network Automation.” EMA, sponsored by Red Hat, Feb. 2022. 3
Chapter 1
• A remote workforce that is here to stay, often bringing multiple devices and
72% needing connectivity from just about anywhere.
of organizations require
their tools to orchestrate • A sudden need for digital experiences to get and stay connected to
network automation across customers, suppliers, partners, and teams.
multiple, geographically
dispersed datacenters.1 • The growing shift toward edge and internet of things (IoT) devices that
require a managed and secure network.
• The importance of reliability, which is essential for the network and more.
1
McGillicuddy, Shamus. “The Future of Data Center Network Automation.” EMA, sponsored by Red Hat, Feb. 2022. 4
In addition to shifting global conditions, the structure and practices of network
operations teams had simply not changed over a long period of time, exposing
inefficiencies in many organizations, including:
Together these factors have increased the importance of the corporate network
as well as its scope, scale, and complexity. But in the race to meet these shifting
conditions in recent years, many organizations and service providers have
addressed each factor individually, on an as-needed-basis. This resulted in islands
of automation driven by narrowly focused management tools from a variety of
network solutions vendors. In fact in a recent study, EMA found that more than
48% of participants use two tools to automate various aspects of their network
and 34% use three.1
1
McGillicuddy, Shamus. “The Future of Data Center Network Automation.” 5
EMA, sponsored by Red Hat, Feb. 2022.
Benefits of a single automation platform
As hybrid cloud environments integration such as ServiceNow® No matter where your organization
expand in purpose and complexity, service ticketing and configuration is in its automation journey, a single
it’s neither sustainable nor feasible management information can platform can help open up unlimited
to find a different solution for every help set up systems that define, possibilities. So, what should your
automation challenge that comes manage, automate, and structure organization automate? What does
along. This is where the benefits of services, while providing an easily your NetOps team need to succeed?
a single automation platform can maintained “single source of truth.” And where do you need to run
move your organization beyond your automation to be successful?
ad-hoc incremental efficiencies, • Boost security and risk Red Hat® Ansible® Automation
and truly accelerate business management. Give network Platform is a great place to start.
outcomes across your organization. operations (NetOps) teams
the ability to quickly respond
A single automation platform to dynamic needs for capacity,
can provide many benefits that application security, load balancing,
multiple, disconnected tools and multicloud integrations.
cannot, which help you:
• Embrace a culture of automation.
• Manage growing complexity. Break down barriers between
A single platform can help teams and standalone automation
maintain consistency as you tools and initiatives in your
incorporate new technologies organization, to adopt a culture
such as edge devices into your of automation with a single
Setting an effective network
network environment and mitigate platform as the foundation.
automation strategy starts with
configuration drift with automated
a single platform. With a solid
configuration and maintenance. • Focus on network reliability.
foundation for automation,
Gain consistent ways to change
you can unify within and across
• Enhance communication across the network that help with
networking domains.
teams. Bring teams together under governance and control—all
one view of automation with a at a time when the network is
single platform deployed across essential to hybrid cloud, remote
your organization. IT process workforces, and digital business.
6
Chapter 2
The key to successful As networks expand and become (RBAC), identity and access
7
Look at automation differently
• Enforce adherence to
configurations and standards
for governance including GitOps
“single source of truth” processes.
• Maintain configuration
standards across disparate
network platforms.
2
A commissioned study conducted by 451 Research on behalf of Red Hat. 8
“Using Network Automation to Power Modern Applications,” 2021.
Plan automation for today and tomorrow
Automation is the key to next generation networking. Figure 1 can help you
visualize how automation can help your network for today and into the future.
Today Tomorrow
Accelerate digital transformation Next-gen digital transformation
• Provisioning and delivery speed • Growing Edge containers and IoT devices
• Security and resilience • More compute outside datacenter
• Remote workforce connectivity • Event-driven automation approaches
• Connectivity across the hybrid cloud • AI/Machine learning data-intensive,
connected applications
Figure 1. How automation can advance your network today and tomorrow.
Using a common, human readable language, Red Hat Ansible Automation Platform
Want to see Ansible
makes everyday tasks repeatable and scalable using YAML-based playbooks and
in action?
roles. Its flexible framework lets you choose where you automate first, so you can
Watch Five great use
embrace incremental change helping you to start small and expand over time.
cases for Ansible
Network Automation Red Hat Ansible Automation Platform workflows let you create simple, effective
automation sequences using a visual user interface. No special programming
skills are required, so NetOps engineers can use their networking expertise
and start implementing Red Hat Ansible Automation Platform immediately.
9
What is a Certified Content Collection?
Ansible Certified Content Collections are certified by Red Hat and supported by
Red Hat and Red Hat’s partners to make it easier for Red Hat Ansible Automation
Platform users to get up and running with precomposed content. This helps you
jumpstart new automation projects with trusted content so your organization can
gain the benefits of automation more quickly.
Ansible Content Collections are a distribution format for Red Hat Ansible
Automation Platform content that can include playbooks, roles, modules, and
plug-ins around specific solutions or topic areas. This type of content is not
certified or supported.
To help you get the most value out of your automation the latest reference
architecture is available to subscribers. It incorporates key building blocks to
optimize your Red Hat Ansible Automation Platform environments, including:
10
Chapter 3
While every organization may As you assess where your organization Start small
be at a different stage in their is on its path to NetOps, it’s helpful to
think of that journey as a spectrum. Where to start is a common question
network automation journey,
with IT automation. Red Hat suggests
the desire to manage the At one end of the spectrum are taking a “start small, think big”
network more efficiently and traditional network operating systems approach. The key to getting up
effectively is common to all. that often don’t have the ability to and running quickly with automation
install software, so they cannot run is to start with processes that are
an automation agent that may be most repetitive and time consuming
required by some automation tools. to manage.
At the other end is a fully automated
NetOps design. No matter if you Starting small with something like
are just starting out or running fully configuration backup and restore,
automated NetOps, Red Hat Ansible dynamic documentation and scoped
Automation Platform can help. configuration management, can
build confidence in using automation
One of the most powerful and and begin steps toward more
unique features of Red Hat Ansible complex projects.
Automation Platform is that it’s
agentless, so you don’t need to install
an agent on any of the devices in your Think big
network. This feature makes Red Hat
Ansible Automation Platform ideally After a few smaller victories with
suited for network automation and it automation, you will be ready to think
is also extremely scalable to help you bigger, institutionalizing automation
rapidly manage broad, global network across your organization. With greater
implementations simultaneously. confidence in automation you might
tackle network compliance, operation
state validation or automated
NetOps. In chapter 6, we take a closer
Learn how to use
look at these automation use cases
Red Hat Ansible
to illustrate the start small, think big
Automation Platform. approach in action.
Experience Ansible Network
Automation self-paced labs
11
Chapter 4
Your network ecosystem is Tools that automate within an area Access Red Hat’s extensive
varied and as it grows with help at the task level but can increase ecosystem of trusted partners to
security vulnerabilities. help you:
new technologies that need
to be hosted and managed on However, automation can help • Manage multi-vendor network
your network, complexity can at a broader level across these solutions with a single
escalate quickly. domains to improve communication, automation tool.
collaboration, and make processes
consistent and repeatable—boosting • Set up and run IP address and
your security efforts. Certified identity management.
Content Collections are trusted
to help jumpstart new automation • Authenticate, authorize,
12
Chapter 5
A robust ecosystem of technology partners contribute to the Red Hat Ansible Automation
Platform Certified Content Collections, to help you to get up and running as we have described
and to help you manage across your multivendor network environment with a single platform.
13
A single source of truth in IT Service Management
14
Chapter 6
The growing shift to hybrid cloud environments and the business opportunity
of new applications, data-intensive computing, and new technologies such as
edge, and IoT devices and cloud networking provide the perfect opportunity for
automation across three key use cases as depicted in Figure 3.
These three use cases can be mapped to three broad stages of your automation
journey. Let’s take a look at each individually to help you assess and implement
automation across your network.
15
Configuration management
use case
- name: multi platform backup into action via a web user interface.
16
Infrastructure awareness
use case
Figure 5. Red Hat Ansible automation converts network information into usable
structured data.
17
Network validation use case
This use case focuses on the connectivity and protocols and Red Hat Ansible Automation Platform
question, “How do we orchestrate enhance operational workflows to help workflows also allow rollbacks which
our processes?” measure network intent. help make configuration changes
simple. For example, if you made
In this example, we’re doing more than The first step is to decide which show a configuration change such as
rebooting or backing up a switch. The commands you want to parse. Figure changing a VLAN, then you checked
goal is to look at the operation state, 6 demonstrates how, using Red Hat connectivity across your network and
meaning we want to look at show Ansible Automation Platform, you realize it’s down, execute a rollback
commands, put them into a structured can deploy parsing automation, action and create another job template
data scheme as we did in Figure 5 and understand your operational state and based on the previous template using
work with that data to examine the make changes across your network. the information about what worked
operational state to check network and what didn’t.
Network deploy
Figure 6. Deploying parsing automation using Red Hat Ansible Automation Platform.
18
Infrastructure as code By codifying and documenting your Automating infrastructure
configuration specifications, IaC as code and policy as code
Provisioning infrastructure has aids configuration management and
historically been a time consuming helps you to avoid undocumented, Automating infrastructure
and costly manual process. As ad-hoc configuration changes. provisioning with IaC means that
infrastructure management has developers don’t need to manually
predominantly moved away from provision and manage servers,
physical hardware in datacenters Policy as code operating systems, storage, and other
to virtualization, containers, and infrastructure components each time
It’s also important to make sure
cloud computing, the number of they develop or deploy an application.
that your IaC implementation is in
infrastructure components has Codifying your infrastructure
compliance with your organization’s
also grown. More applications gives you a template to follow for
standards and policies. While the
are being released to production provisioning, and although this can
code may work, it will likely also need
on a daily basis, which means still be accomplished manually, an
to conform to specific company
infrastructure needs to be able automation tool, such as Red Hat
naming conventions, labels, and
to be spun up, scaled, and taken Ansible Automation Platform, can
security requirements–a process
down more frequently. help save time and resources.
that can be time consuming
Infrastructure as code (IaC) practices for infrastructure teams. Red Hat Ansible Automation Platform
help organizations manage IT works with IaC solutions and includes
Policy as code aligns technical
infrastructure needs while also all the tools needed to implement
environments, processes, and
improving consistency and reducing enterprise-wide automation, including
resources to agreed standards.
errors and manual configurations. With playbooks, a visual dashboard,
For example, checking to make
IaC, configuration files are created and analytics.
sure that none of your computing
that contain your infrastructure
resources have a direct route to
specifications, which makes it easier
the Internet (potentially violating
to edit and distribute configurations.
security policy), or limiting the service
It also ensures that you provision
ports to just HTTPS and SSH.
the same environment every time.
19
A GitOps approach to automating NetOps
Stay up to date with Another way to implement NetOps or infrastructure as code is using GitOps.
This more prescriptive approach uses Git as a single source of truth instead of a
the latest tips and
configuration management database such as ServiceNow.
technical knowledge.
Read the Red Hat Network Red Hat Ansible Automation Platform provides great support for a GitOps
Automation blog approach by providing native integration with GitHub and GitLab via webhooks.
It also makes it easy to get started with brownfield projects, so automation
deployments don’t need to be an all-or-nothing approach. This helps you
take incremental steps toward automation and helps teams work in unison on
automation projects throughout the entire process.
Automated NetOps
Tying everything together
Examples:
4 Continuous
Github, GitLab
---
integration
and delivery
name: example
key: value Development
declarative: data 1 Modify declarative
data model
Production
Network 5 Approve for Red Hat Ansible
operator production Automation
Platform 6 Continuous
deployment
20
Chapter 7
Both Red Hat Consulting and Red Hat partners offer a range of
services to help get you started with network automation and
advance along your network automation journey.
21
Chapter 8
22
Extend automation to the edge
Automation helps improve response times, security, and control over the
infrastructure that supports data generation at the edge of the network. Across
every industry, edge and automation can place a business at the epicenter of
opportunity to help produce tangible business results.
23
Get started
24
About Red Hat
Red Hat is the world’s leading provider of enterprise open source software solutions, using
a community-powered approach to deliver reliable and high-performing Linux, hybrid cloud,
container, and Kubernetes technologies. Red Hat helps customers develop cloud-native
applications, integrate existing and new IT applications, and automate and manage complex
environments. A trusted adviser to the Fortune 500, Red Hat provides award-winning
support, training, and consulting services that bring the benefits of open innovation to
any industry. Red Hat is a connective hub in a global network of enterprises, partners, and
communities, helping organizations grow, transform, and prepare for the digital future.
facebook.com/redhatinc North America Europe, Middle East, Asia Pacific Latin America
1 888 REDHAT1 and Africa +65 6490 4200 +54 11 4329 7300
@redhat
www.redhat.com 00800 7334 2835 [email protected] [email protected]
linkedin.com/company/red-hat [email protected]
redhat.com Copyright © 2022 Red Hat, Inc. Red Hat, Red Hat logo, and Ansible are trademarks or registered trademarks of Red
F32023-0922 Hat, Inc. or its subsidiaries in the United States and other countries.