Book description
Wield the power of OpenStack Neutron networking to bring network infrastructure and capabilities to your cloud
About 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 organizations
Who This Book Is For
If 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 methods
In Detail
OpenStack 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 approach
This 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.
Table of contents
-
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
- Preface
- 1. Preparing the Network for OpenStack
-
2. Installing OpenStack
- System requirements
- Initial network configuration
- Initial steps
- Installing OpenStack
- Summary
- 3. Installing Neutron
-
4. Building a Virtual Switching Infrastructure
- Virtual network devices
- Network types supported by Neutron
- Choosing a plugin and driver
- Visualizing traffic flow when using LinuxBridge
- Visualizing the traffic flow when using Open vSwitch
- Configuring the ML2 networking plugin
- Configuring the LinuxBridge driver and agent
- Configuring the Open vSwitch driver and agent
- Summary
-
5. Creating Networks with Neutron
- Network management
- Neutron ports
- Attaching instances to networks
- Exploring how instances get their addresses
- Exploring how instances retrieve their metadata
- Summary
-
6. Managing Security Groups
- Security groups in OpenStack
- An introduction to iptables
-
Working with security groups
-
Managing security groups in the CLI
- Creating security groups in the CLI
- Deleting security groups in the CLI
- Listing security groups in the CLI
- Showing the details of a security group in the CLI
- Updating security groups in the CLI
- Creating security group rules in the CLI
- Deleting security group rules in the CLI
- Listing security group rules in the CLI
- Showing the details of a security group rule in the CLI
- Applying security groups to instances and ports in the CLI
- Removing security groups from instances and ports in the CLI
-
Managing security groups in the CLI
- Implementing security group rules
- Working with security groups in the dashboard
- Disabling port security
- Summary
-
7. Creating Standalone Routers with Neutron
- Routing traffic in a cloud
- Installing and configuring the Neutron L3 agent
-
Router management in the CLI
- Creating routers in the CLI
- Working with router interfaces in the CLI
- Listing the interfaces attached to routers
- Deleting internal interfaces
- Clearing the gateway interface
- Listing routers in the CLI
- Displaying router attributes in the CLI
- Updating router attributes in the CLI
- Deleting routers in the CLI
- Network address translation
- Floating IP management
-
Demonstrating traffic flow from an instance to the Internet
- Setting the foundation
- Creating an external provider network
- Creating a Neutron router
- Attaching the router to the external network
- Testing gateway connectivity
- Creating an internal network
- Attaching the router to the internal network
- Creating instances
- Verifying instance connectivity
- Observing default NAT behavior
- Assigning floating IPs
- Reassigning floating IPs
- Router management in the dashboard
- Summary
- 8. Router Redundancy Using VRRP
-
9. Distributed Virtual Routers
- Distributing routers across the cloud
- Installing and configuring Neutron components
- Routing east-west traffic between instances
- Centralized SNAT
- Floating IPs through distributed virtual routers
- Summary
-
10. Load Balancing Traffic to Instances
- Fundamentals of load balancing
- Integrating load balancers into the network
- Installing LBaaS
- Load balancer management in the CLI
- Building a load balancer
- Load balancer management in the dashboard
- Summary
-
11. Firewall as a Service
- Enabling FWaaS
-
Firewall Management in the CLI
- Managing firewall rules
-
Managing firewall policies
- Creating a firewall policy in the CLI
- Deleting a firewall policy in the CLI
- Listing firewall policies in the CLI
- Showing the details of a firewall policy in the CLI
- Updating a firewall policy in the CLI
- Inserting rules into firewall policies in the CLI
- Removing rules from firewall policies in the CLI
- Managing firewalls
- Creating a firewall rule
- Creating a firewall policy
- Creating a firewall
- Demonstrating traffic flow through a firewall
- Summary
- 12. Virtual Private Network as a Service
- A. Additional Neutron Commands
- B. Virtualizing the Environment
- Index
Product information
- Title: Learning OpenStack Networking (Neutron) - Second Edition
- Author(s):
- Release date: November 2015
- Publisher(s): Packt Publishing
- ISBN: 9781785287725
You might also like
book
Learning OpenStack Networking (Neutron)
Architect and build a network infrastructure for your cloud using OpenStack Neutron networking In Detail OpenStack …
book
OpenStack Networking Essentials
Build and manage networks in OpenStack using Neutron About This Book Deploy an all-in-one cloud based …
book
OpenStack Networking Cookbook
Harness the power of OpenStack Networking for public and private clouds using 90 hands-on recipes About …
book
Troubleshooting OpenStack
Get unstuck and start stacking! About This Book Easily fix the nagging problems that commonly plague …