Accessing Instances

With network access completely configured, we are finally able to log in to our instance. Our image has been set up with SSH access secured with our keypair. Use SSH with our keypair filename (ken.pem), along with our username (which is “ubuntu” for this image) and the public IP address from our last step (192.168.1.128 in this example):

# ssh -i ken.pem ubuntu@192.168.1.128
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-8-virtual x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Tue Jul  5 04:12:18 UTC 2011

  System load:  0.0               Processes:           61
  Usage of /:   41.5% of 1.35GB   Users logged in:     0
  Memory usage: 19%               IP address for eth0: 10.0.0.2
  Swap usage:   0%

  Graph this data and manage this system at https://landscape.canonical.com/
---------------------------------------------------------------------
At the moment, only the core of the system is installed. To tune the
system to your needs, you can choose to install one or more
predefined collections of software by running the following
command:

   sudo tasksel --section server
---------------------------------------------------------------------
Last login: Mon Jul  4 23:50:50 2011 from 192.168.1.67
ubuntu@i-00000001:~$

Congratulations! You have installed your cloud, configured it for use, and launched your first virtual machine.

At this point, you can deploy your applications and use it as any other server. But before we finish, let’s do a few more things.

Get Deploying OpenStack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.