Cloud Quick Start: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 76: Line 76:


==Network== <!--T:10-->
==Network== <!--T:10-->
On the ''Instances'' page is a list VMs with their IP address(es) displayed in the ''IP Address'' column. Each VM will have at least one private IP address, but some may also have a second public IP assigned to it.


===Private IP=== <!--T:11-->
===Private IP=== <!--T:11-->
On the ''Instances'' list are the IP addresses to which your virtual machine is linked. By default, a network on <code>192.168.X.0</code> is created for your tenant (also referred to as a ''project'' on the OpenStack dashboard).
When your OpenStack project is created a local network is also created for you. This local network is used to connect VMs within that project allowing them communicate with each other and also out to the outside world. Any VM created in your project will have a private IP address assigned to it from this network. The IP will usually have the form <code>192.168.X.Y</code>.
The list shows your virtual machine's private IP. You can use this IP to communicate with other virtual machines running on the same cloud project.


===Public IP=== <!--T:12-->
===Public IP=== <!--T:12-->
[[File:Manage-Floating-IP-Associations-Form.png|400px|thumb| Manage Floating IP (Click for larger image)]]
[[File:Manage-Floating-IP-Associations-Form.png|400px|thumb| Manage Floating IP (Click for larger image)]]
To assign a public IP, you need to select ''Associate Floating IP'' from the drop-down menu button (indicated by &#x25BC;) of the ''Actions'' column in the ''Instances'' list. If this is your first time associating a floating IP, your project hasn't been assigned an external IP address yet. You need to click on the “+” sign to bring up the ''Allocate Floating IP'' dialog box. There is only one pool of public addresses, so the correct pool will already be selected; simply click on the ''Allocate IP'' button.
Public IPs allow outside services or tools to contact or reference your VM, such as allowing you to connecting to it to perform administrative tasks or having a domain name point to that IP address to serve up web content.
The ''Manage Floating IP Associations'' screen is displayed again, indicating the IP address and the port (or VM) to which it will be associated or [https://en.wikipedia.org/wiki/Network_address_translation NATted]; click on the ''Associate'' button.
 
To assign a public IP to a VM, you need to select ''Associate Floating IP'' from the drop-down menu button (indicated by &#x25BC;) of the ''Actions'' column in the ''Instances'' list. If this is your first time associating a floating IP, your project hasn't been assigned an external IP address yet. You need to click on the “+” sign to bring up the ''Allocate Floating IP'' dialog box. There is only one pool of public addresses, so the correct pool will already be selected; click on the ''Allocate IP'' button.
The ''Manage Floating IP Associations'' screen is displayed again, indicating the IP address and the port (or VM) to which it will be associated (or more specifically [https://en.wikipedia.org/wiki/Network_address_translation NATted]); click on the ''Associate'' button.


===Firewall, add rules to allow SSH=== <!--T:14-->
===Firewall, add rules to allow SSH=== <!--T:14-->
cc_staff
1,486

edits

Navigation menu