Book description
Harness the power of OpenStack Networking for public and private clouds using 90 hands-on recipes
About This Book
- Build and manage virtual switching, routing, and firewall-based networks in OpenStack using Neutron
- Develop plugins and drivers for Neutron to enhance the built-in networking capabilities
- Monitor and automate OpenStack networks using tools like Ceilometer and Heat
In Detail
Networking in OpenStack has evolved from Nova Network to Neutron. This has resulted in a rich suite of networking services available to OpenStack users and administrators. Advanced services such as routers, firewall, and load balancers use building blocks such as network and subnets. Recent improvements support powerful customization using plugins. The evolution of Neutron continues as it integrates with tools like Ceilometer and Heat.
This book will explore the built-in capabilities of Neutron to effectively deploy cloud solutions. You will begin with the most fundamental constructs of OpenStack Networking for switching and routing. You will then learn how to provide your tenants with services like firewalls and load-balancers. The step-by-step recipes will help you configure and troubleshoot networking problems in your cloud. This book will also introduce you to advanced topics like Ceilometer, Heat, and other upcoming tools in OpenStack
What You Will Learn
- Operate OpenStack Networking for public and private clouds
- Configure advanced routing services for your workloads
- Secure data traffic using firewall-as-a-service capabilities of OpenStack
- Discover how to leverage VXLAN to implement SDN in your OpenStack cloud
- Monitor the virtual networks using Ceilometer
- Develop plugins to enhance and customize OpenStack Networking
- Provide HA and VPN connectivity for your virtual machines
- Troubleshoot and solve common problems with OpenStack Networking
Who This Book Is For
This book is aimed at network and system administrators who want to deploy and manage OpenStack-based cloud and IT infrastructure. If you have basic knowledge of OpenStack and virtualization, this book will help you leverage the rich functionality of OpenStack Networking in your cloud deployments.
Style and approach
The book is full of step-by-step recipes to configure and manage the networking aspects of your OpenStack cloud. In addition to covering basic configuration involved in OpenStack Networking, the books also shares various troubleshooting tips and techniques. As much as possible the book uses OpenStack dashboard (Horizon) to help the user get a feel of real OpenStack Networking.
Table of contents
-
OpenStack Networking Cookbook
- Table of Contents
- OpenStack Networking Cookbook
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Getting Started with OpenStack Networking
- Introduction
- Creating a Subnet and Network using Horizon
- Viewing the details of a Network using Horizon
- Associating a Network to an instance using Horizon
- Creating a Network using OpenStack CLI
- Creating a Subnet using OpenStack CLI
- Creating a Port without an associated instance using the OpenStack CLI
- Associating a Port to an instance using OpenStack CLI
- Configuring the networking quota in OpenStack
-
2. Using Open vSwitch for VLAN-Based Networks
- Introduction
- Configuring Neutron to use the Open vSwitch mechanism driver
- Configuring Neutron to use the VLAN type driver
- Configuring the VLAN range to be used for the networks
- Viewing the VLAN allotted for a Network
- Creating a Network with a specific VLAN
- Viewing the virtual interface information on the compute node
- Viewing the virtual interface information on the Network node
-
3. Exploring Other Network Types in Neutron
- Introduction
- Configuring Neutron to use the Linux bridge mechanism driver
- Viewing the virtual interface information for Linux bridge on the compute node
- Configuring Neutron to use a Flat network type
- Creating a Flat Network using Horizon
- Creating a Shared Network using Horizon
- Creating an External Network using Horizon
- Setting up a simple web application – an introduction
- Setting up a simple web application – setting up OpenStack Networks
- Setting up a simple web application – creating instances
-
4. Exploring Overlay Networks with Neutron
- Introduction
- Configuring Neutron to use a VXLAN type driver
- Configuring a VNI Range for VXLAN Networks
- Viewing a VNI assigned to a Neutron Network
- Creating a Network with a specific VNI
- Viewing the virtual interface information on the compute node for VXLAN tunnels
- Viewing the virtual interface information on the network node for VXLAN tunnels
- Configuring Neutron to use a GRE type driver
- Viewing a virtual interface on the compute node for GRE tunnels
-
5. Managing IP Addresses in Neutron
- Introduction
- Creating an instance with a specific IP address
- Configuring multiple IP addresses for a virtual interface
- Creating a redundant DHCP server per OpenStack Network
- Starting the DHCP server on a specific network node
- Increasing the number of IP addresses in a Network using the Horizon dashboard
-
6. Using Routing Services in Neutron
- Introduction
- Configuring Neutron for Routing services
- Creating a Router using the Horizon dashboard and Neutron CLI
- Enabling instances on different Networks to communicate
- Allowing the Virtual Machine instances to access the Internet
- Providing access to a Virtual Machine from an external Network or the Internet using Horizon
- Creating and deleting a floating IP address using the Neutron CLI
- Associating a floating IP address to a virtual machine using the Neutron CLI
-
7. Using Neutron Security and Firewall Services
- Introduction
- Creating a security group using Horizon
- Configuring the security group rules using Horizon
- Creating a security group using CLI
- Configuring the security group rules using CLI
- Securing the traffic between instances on the same Network
- Creating the security group rules to allow web traffic
- Configuring Neutron for the Firewall service
- Creating the Firewall rules
- Creating the Firewall policies
- Creating a Firewall
- Viewing and verifying the Firewall rules on the Network node
-
8. Using HAProxy for Load Balancing
- Introduction
- Installing and configuring the Neutron load balancer service plugin
- Creating a load balancer pool using Horizon
- Creating a load balancer pool using CLI
- Adding a load balancer member using Horizon
- Adding a load balancer member using CLI
- Adding a load balancer health monitor using Horizon
- Adding a load balancer health monitor using CLI
- Creating a Virtual IP using Horizon
- Creating a Virtual IP using CLI
- Making the load balancer accessible to the Internet
- Testing the load balancer
- Viewing the load balancer on the network node
- 9. Monitoring OpenStack Networks
- 10. Writing Your Own Neutron ML2 Mechanism Driver
-
11. Troubleshooting Tips for Neutron
- Introduction
- Troubleshooting a VM that does not get a DHCP IP address
- Troubleshooting a VM that does not get an initial configuration
- Troubleshooting a VM that does not get external Network access
- Troubleshooting a VM not reachable from external Networks
- Checking the status of the Neutron service
- Checking the MAC address table on a virtual switch
- 12. Advanced Topics
- Index
Product information
- Title: OpenStack Networking Cookbook
- Author(s):
- Release date: October 2015
- Publisher(s): Packt Publishing
- ISBN: 9781785286100
You might also like
book
OpenStack Networking Essentials
Build and manage networks in OpenStack using Neutron About This Book Deploy an all-in-one cloud based …
book
Troubleshooting OpenStack
Get unstuck and start stacking! About This Book Easily fix the nagging problems that commonly plague …
book
OpenStack Essentials
Demystify the cloud by building your own private OpenStack cloud In Detail An OpenStack cloud is …
book
Learning OpenStack Networking (Neutron) - Second Edition
Wield the power of OpenStack Neutron networking to bring network infrastructure and capabilities to your cloud …