Book description
Architect and build a network infrastructure for your cloud using OpenStack Neutron networking
In Detail
OpenStack provides a rich API that enables users to architect networks, create virtual machines, and scale their application as they see fit. However, it suffered limited network implementations, providing only basic networking through Linux VLANs and iptables. With the arrival of Neutron, you can achieve so much more with OpenStack. Whether you are new to OpenStack Networking (Neutron) or have experience, this book will provide you with the skills needed to successfully design, create, customize, and maintain the core network foundation of an OpenStack cloud using the Neutron networking API.
From start to finish, this tutorial will educate you on the various network features of OpenStack in the Havana release and how they work together. With ample screenshots, examples, and command-line output that provide a consistent experience, this book will give you a foundation from which you can build your very own OpenStack cloud with advanced networking services.
What You Will Learn
- Architect and install the latest Havana release of OpenStack on CentOS
- Review the components of OpenStack networking and see how they work together to coordinate network operations
- Build a virtual switching infrastructure using Open vSwitch or LinuxBridge to provide Layer 2 connectivity to instances and other network resources
- Create physical and virtual overlay networks and software routers to provide layer 3 connectivity to instances and other network resources
- Scale your application using OpenStack Networking's LBaaS solution with the haproxy plugin
- Secure your cloud using security groups and OpenStack Networking's FWaaS solution based on iptables
- Navigate various OpenStack Networking features using the Horizon dashboard or the command-line interface
Table of contents
-
Learning OpenStack Networking (Neutron)
- Table of Contents
- Learning OpenStack Networking (Neutron)
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Preparing the Network for OpenStack
-
2. Installing OpenStack
- System requirements
- Before you begin
-
Installation of OpenStack
- Installing and configuring the MySQL database server
- Installing the MySQL database client
- Installing and configuring the messaging server
- Installing and configuring the Identity service
- Installing and configuring the image service
- Installing and configuring the Compute service
- Installing the OpenStack dashboard
- Summary
- 3. Installing Neutron
-
4. Building a Virtual Switching Infrastructure
- Providing layer 2 connectivity to instances
- Types of networks in Neutron
- Choosing a networking plugin
-
Configuring a layer 2 networking plugin
- Configuring the LinuxBridge plugin
- Configuring the DHCP agent to use LinuxBridge
- LinuxBridge plugin configuration options
-
Configuring the Open vSwitch plugin
- Configuring Neutron to use Open vSwitch
- Configuring Nova to use Open vSwitch
- Configuring the DHCP agent to use Open vSwitch
- Open vSwitch plugin configuration options
- Summary
- 5. Creating Networks with Neutron
-
6. Creating Routers with Neutron
- Configuring the Neutron L3 agent
-
Router management in the CLI
- Creating routers in the CLI
- Working with router interfaces in the CLI
- Attaching internal interfaces to routers
- Attaching a gateway interface to a router
- Listing 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
- Network Address Translation
- Floating IP Management
-
Demonstrating traffic flow from instance to 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
-
7. Load Balancing Traffic in Neutron
- 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
-
8. Protecting Instances on the Network
- Security groups in OpenStack
- Firewall-as-a-service
- Introducing 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 in the CLI
- Implementing security group rules
- Working with security groups in the dashboard
-
Managing security groups in the CLI
-
Working with FWaaS
- Preparing Neutron for FWaaS
-
Working with firewalls in the CLI
- Creating a firewall rule in the CLI
- Deleting a firewall rule in the CLI
- Listing firewall rules in the CLI
- Showing the details of a firewall rule in the CLI
- Updating a firewall rule in the CLI
- 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
- Creating a firewall in the CLI
- Deleting a firewall in the CLI
- Listing firewalls in the CLI
- Showing the details of a firewall in the CLI
- Updating a firewall in the CLI
- Working with firewalls in the dashboard
- Firewall rules – behind the scenes
- Summary
- A. Additional Neutron Commands
- B. ML2 Configuration
- Index
Product information
- Title: Learning OpenStack Networking (Neutron)
- Author(s):
- Release date: October 2014
- Publisher(s): Packt Publishing
- ISBN: 9781783983308
You might also like
book
Learning OpenStack Networking (Neutron) - Second Edition
Wield the power of OpenStack Neutron networking to bring network infrastructure and capabilities to your cloud …
book
Containers in OpenStack
A practical book which will help the readers understand how the container ecosystem and OpenStack work …
book
Troubleshooting OpenStack
Get unstuck and start stacking! About This Book Easily fix the nagging problems that commonly plague …
book
Deploying OpenStack
OpenStack was created with the audacious goal of being the ubiquitous software choice for building public …