O'Reilly logo

OpenStack Cloud Computing Cookbook by Kevin Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing security groups

Security groups are firewalls for your instances, and they're mandatory in our cloud environment. The firewall actually exists on the nova-compute host that is running the instance and not in the instance itself. They allow us to protect our hosts by restricting and allowing access and also protect our instances from other users' instances running on the same hosts.

Getting ready

To begin with, ensure you're logged in to your Ubuntu client that has access to the euca2ools or Nova Client tools. These packages can be installed using the following commands:

sudo apt-get update
sudo apt-get install euca2ools python-novaclient

How to do it...

The following sections describe how to create and modify security groups in our OpenStack ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required