Learning OpenStack Networking (Neutron) - Second Edition
eBook - ePub

Learning OpenStack Networking (Neutron) - Second Edition

  1. 462 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learning OpenStack Networking (Neutron) - Second Edition

About this book

Wield the power of OpenStack Neutron networking to bring network infrastructure and capabilities to your cloudAbout This Book• This completely up-to-date edition will show you how to deploy a cloud on OpenStack using community-driven processes. It includes rich examples that will help you understand complex networking topics with ease• Understand every aspect of designing, creating, customizing, and maintaining the core network foundation of an OpenStack cloud using OpenStack Neutron all in one book• Written by best-selling author James Denton, who has more than 15 years of experience in system administration and networking. James has experience of deploying, operating, and maintaining OpenStack clouds and has worked with top enterprises and organizationsWho This Book Is ForIf you are an OpenStack-based cloud operator and administrator who is new to Neutron networking and wants to build your very own OpenStack cloud, then this book is for you.Prior networking experience and a physical server and network infrastructure is recommended to follow along with concepts demonstrated in the book.What You Will Learn• Architect and install the latest release of OpenStack on Ubuntu Linux 14.04 LTS• Review the components of OpenStack networking, including plugins, agents, and services, and learn how they work together to coordinate network operations• Build a virtual switching infrastructure using reference architectures based on ML2 + Open vSwitch or ML2 + LinuxBridge• Create networks, subnets, and routers that connect virtual machine instances to the network• Deploy highly available routers using DVR or VRRP-based methods• Scale your application with haproxy and Load Balancing as-a-Service• Implement port and router-level security using Security Groups and Firewall as-a-Service• Provide connectivity to tenant networks with Virtual Private Networking as-a-Service (VPNaaS)• Find out how to manage OpenStack networking resources using CLI and GUI-driven methodsIn DetailOpenStack Neutron is an OpenStack component that provides networking as a service for other OpenStack services to architect networks and create virtual machines through its API. This API lets you define network connectivity in order to leverage network capabilities to cloud deployments.Through this practical book, you will build a strong foundational knowledge of Neutron, and will architect and build an OpenStack cloud using advanced networking features.We start with an introduction to OpenStack Neutron and its various components, including virtual switching, routing, FWaaS, VPNaaS, and LBaaS. You'll also get hands-on by installing OpenStack and Neutron and its components, and use agents and plugins to orchestrate network connectivity and build a virtual switching infrastructure.Moving on, you'll get to grips with the HA routing capabilities utilizing VRRP and distributed virtual routers in Neutron. You'll also discover load balancing fundamentals, including the difference between nodes, pools, pool members, and virtual IPs. You'll discover the purpose of security groups and learn how to apply the security concept to your cloud/tenant/instance.Finally, you'll configure virtual private networks that will allow you to avoid the use of SNAT and floating IPs when connecting to remote networks.Style and approachThis easy-to-follow guide on networking in OpenStack follows a step-by-step process to installing OpenStack and configuring the base networking components. Each major networking component has a dedicated chapter that will build on your experience gained from prior chapters.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

Learning OpenStack Networking (Neutron) Second Edition


Table of Contents

Learning OpenStack Networking (Neutron) Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Preparing the Network for OpenStack
What is OpenStack Networking?
Features of OpenStack Networking
Switching
Routing
Load balancing
Firewalling
Virtual private networks
Network functions virtualization
Preparing the physical infrastructure
Types of network traffic
Management network
API network
External network
Guest network
Physical server connections
Single interface
Multiple interfaces
Bonding
Separating services across nodes
Using a single controller node
Using a dedicated network node
Summary
2. Installing OpenStack
System requirements
Operating system requirements
Initial network configuration
Example networks
Interface configuration
Initial steps
Updating the system
Permissions
Configuring the OpenStack repository
Installing OpenStack utilities
Setting the hostnames
Installing and configuring Network Time Protocol
Upgrading the system
Installing OpenStack
Installing and configuring the MySQL database server
Installing and configuring the messaging server
Installing and configuring the identity service
Installing Keystone
Configuring the database
Configuring tokens and drivers
Configuring the Apache HTTP server
Download WSGI components
Define services and API endpoints in Keystone
Defining users, tenants, and roles in Keystone
Verifying the Keystone installation
Setting environment variables
Installing and configuring the image service
Configuring the database
Configuring authentication settings
Configuring additional settings
Defining the Glance service and API endpoints in Keystone
Verifying the Glance image service installation
Installing additional images
Installing and configuring the Compute service
Installing and configuring controller node components
Configuring the database
Configuring authentication settings
Additional controller tasks
Installing and configuring compute node components
Additional compute tasks
Verifying communication between services
Installing the OpenStack dashboard
Identifying the Keystone server
Configuring a default role
Reload Apache
Uninstalling the default Ubuntu theme (optional)
Testing connectivity to the dashboard
Summary
3. Installing Neutron
Basic networking elements in Neutron
Extending functionality with plugins
Modular Layer 2 plugin
Drivers
Type drivers
Mechanism drivers
ML2 architecture
Third-party support
Network namespaces
Installing and configuring Neutron services
Creating the Neutron database
Configuring the Neutron user, role, and endpoint in Keystone
Enabling packet forwarding
Configuring Neutron to use Keystone
Configuring Neutron to use a messaging service
Configuring Nova to utilize Neutron networking
Configuring Neutron to notify Nova
Configuring Neutron services
Starting neutron-server
Configuring the Neutron DHCP agent
Restarting the Neutron DHCP agent
Configuring the Neutron metadata agent
Restarting the Neutron metadata agent
Configuring the Neutron L3 agent
Configuring the Neutron LBaaS agent
Using the Neutron command-line interface
Summary
4. Building a Virtual Switching Infrastructure
Virtual network devices
Virtual network interfaces
Virtual network switches
Configuring the bridge interface
Overlay networks
Connectivity issues when using overlay networks
Network types supported by Neutron
Choosing a plugin and driver
Using the LinuxBridge driver
Using the Open vSwitch driver
Using the L2 population driver
Visualizing traffic flow when using LinuxBridge
VLAN
Flat
VXLAN
Local
Visualizing the traffic flow when using Open vSwitch
Identifying ports on the virtual switch
Identifying the VLANs associated with ports
Programming flow rules
Flow rules for VLANs
...

Table of contents

  1. Learning OpenStack Networking (Neutron) Second Edition

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Learning OpenStack Networking (Neutron) - Second Edition by James Denton in PDF and/or ePUB format, as well as other popular books in Computer Science & Cloud Computing. We have over one million books available in our catalogue for you to explore.