Accessing cloud images

For both Fedora and Ubuntu cloud images we can access them using ssh public key generated during bootup.

Key can be obtained from a console log:

sudo vim /var/lib/nova/instances/<instance_id>/console.log

Use the key found:

ssh -i <ssh_rsa_dsa_key> <fedora|ubuntu>@<ip_address>

SSH can be done from from a proper ip namespace on compute nodes:

ip netns exec <netns_uiid> ssh....

Or from any different host if Public IP is associated with the instance.