Securing the traffic between instances on the same Network

In this recipe, we will see how to use security groups to secure the instances on the same Network. We will create a Network and launch two instances connected to the Network. We will then use security groups in order to restrict the traffic between VMs.

Getting ready

For this recipe, you will need the following information:

  • The name for the Network
  • The name for the security group

How to do it…

  1. Log in to Horizon with the appropriate credentials.
  2. Follow the recipe titled Creating a Subnet and Network using Horizon in Chapter 1, Getting Started with OpenStack Networking to create a Network and its Subnet. For this recipe, we will create a Network called Chapter7_Network1 with a Subnet IP range ...

Get OpenStack Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.