Book Image

OpenStack Networking Cookbook

Book Image

OpenStack Networking Cookbook

Overview of this book

Table of Contents (19 chapters)
OpenStack Networking Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Providing access to a Virtual Machine from an external Network or the Internet using Horizon


As mentioned in the previous recipe, Routers along with an external network can be used to provide VMs with access to the Internet. With the External Network set as a gateway on the Router, the VMs can access the Internet from their private IP address. However, the VM cannot be reached from the Internet using the private IP address.

What happens if you are running a web server in your VM? It may be important to allow the users to access the web server from the Internet. OpenStack extends the concept of the Router and external Network and supports the floating IP addresses that can be used to connect to a VM from the Internet.

Getting ready

Similar to the previous recipe, we will need two Networks and a Router to enable Internet access to the VM. This recipe also assumes that the OpenStack administrator has followed the steps mentioned in the recipe titled Creating an External Networks using Horizon...