Book Image

Learning OpenStack Networking (Neutron)

By : James Denton
Book Image

Learning OpenStack Networking (Neutron)

By: James Denton

Overview of this book

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.
Table of Contents (21 chapters)
Learning OpenStack Networking (Neutron) Second Edition
About the Author
About the Reviewers

Creating a virtual machine

To create a virtual machine, perform the following steps:

  1. Click on the New icon in VirtualBox Manager:

    Figure B.7

  2. In the wizard, name the virtual machine and specify the operating system version; then, click on Continue:

    Figure B.8

  3. In the next window, specify the amount of memory to be allocated to the virtual machine and click on Continue. A minimum of 4096 MB of RAM is recommended:

    Figure B.9

  4. In the next window, click on Continue to create a virtual hard disk:

    Figure B.10

  5. A hard disk wizard will appear that allows you to specify the virtual hard disk type. Choose the default VDI image type and click on Continue:

    Figure B.11

  6. The next step of the wizard allows you to specify whether the disk should grow dynamically as data is added up to the maximum size or be fully allocated at creation. Choose your preference and click on Continue:

    Figure B.12

  7. Lastly, provide a name for the virtual hard disk file and the size of the disk to be created. For this book, a minimum of 8 GB is recommended:

    Figure B.13

  8. Click on the Create button to complete the creation of the virtual machine. The virtual machine will be listed in VirtualBox Manager:

    Figure B.14

Repeat these steps as necessary to create additional virtual machines that will serve as compute01 and compute02.