...
Add a rule to the default security group
This procedure enables SSH and ICMP (ping) access to instances. The rules apply to all instances within a given project, and should be set for every project unless there is a reason to prohibit SSH or ICMP access to the instances. This procedure can be adjusted as necessary to add additional security group rules to a project, if your cloud requires them.
Note: When adding a rule, you must specify the protocol used with the destination port or source port.
Log in to the dashboard.
Select the appropriate project from the drop down menu at the top left.
On the the Project tab tab, open the the Network tab tab. The The Security Groups tab tab shows the security groups that are available for this project.
Select the default security group and click click Manage Rules.
To allow SSH access, click click Add Rule.
In the the Add Rule dialog dialog box, enter the following values:
Rule:
SSH
Remote:
CIDR
CIDR:
0.0.0.0/0
Click Click Add.
Instances will now have SSH port 22 open for requests from any IP address.
To add an ICMP rule, click click Add Rule.
In the the Add Rule dialog dialog box, enter the following values:
Rule:
All ICMP
Direction:
Ingress
Remote:
CIDR
CIDR:
0.0.0.0/0
Click Click Add.
Instances will now accept all incoming ICMP packets.
Add a key pair
Create at least one key pair for each project.
Log in to the dashboard.
Select the appropriate project from the drop down menu at the top left.
On the the Project tab tab, open the the Compute tab tab.
Click the the Key Pairs tab tab, which shows the key pairs that are available for this project.
Click Click Create Key Pair.
In the the Create Key Pair dialog dialog box, enter a name for your key pair, and click click Create Key Pair.
The private key will be downloaded automatically.
Import a key pair
Log in to the dashboard.
Select the appropriate project from the drop down menu at the top left.
On the the Project tab tab, open the the Compute tab tab.
Click the the Key Pairs tab tab, which shows the key pairs that are available for this project.
Click Click Import Key Pair.
In the the Import Key Pair dialog dialog box, enter the name of your key pair, copy the public key into the the Public Key box box, and then click click Import Key Pair.
The Compute database registers the public key of the key pair and the Dashboard lists the key pair on the Key Pairs tabthe Key Pairs tab.
Allocate a floating IP address to an instance
When an instance is created in OpenStack, it is automatically assigned a fixed IP address in the network to which the instance is assigned. This IP address is permanently associated with the instance until the instance is terminated. However, in addition to the fixed IP address, a floating IP address can also be attached to an instance. Unlike fixed IP addresses, floating IP addresses can have their associations modified at any time, regardless of the state of the instances involved. This procedure details the reservation of a floating IP address from an existing pool of addresses and the association of that address with a specific instance.
Log in to the dashboard.
Select the appropriate project from the drop down menu at the top left.
On the the Project tab tab, open the the Network tab tab.
Click the the Floating IPs tab tab, which shows the floating IP addresses allocated to instances.
Click Click Allocate IP To Project.
Choose the pool from which to pick the IP address.
Click Click Allocate IP.
In the the Floating IPs list list, click click Associate.
In the the Manage Floating IP Associations dialog dialog box, choose the following options:
The The IP Address field field is filled automatically, but you can add a new IP address by clicking the the + button button.
In the the Port to be associated field field, select a port from the list.
The list shows all the instances with their fixed IP addresses.
Click Click Associate.
Note: To disassociate an IP address from an instance, click the the Disassociate button button.
To release the floating IP address back into the floating IP pool, click the Release the Release Floating IP option in the Actions columnIP option in the Actions column.