Product SiteDocumentation Site

6.8. On Your Own

This final exercise is designed as something that you should try to do on your own using what you have learned up to this point. Try to use your OpenStack setup to complete the following steps:
  1. Create a new tenant named novausers with a single user named greg.
  2. Give this new user the user role in the novausers tenant.
  3. Start an instance as the new user, greg.
  4. Log in to the instance and apply some customizations. Specifically, install httpd and set it to start at boot time. You can use the following commands to perform these customizations:
    $ scp -r -i <keyname>.priv /srv/rhsummit/httpd root@<ipaddr>:
    vm$ yum install httpd/*rpm
    vm$ service httpd start
    vm$ chkconfig httpd on
    vm$ lokkit --disabled # we're using nova's securty
  5. Create a snapshot of this instance.
  6. Create a new security group to allow tcp access on port 80 for HTTP, as well as port 22 for SSH.
  7. Start another instance from the snapshot within the security group that was just created.
  8. Assign the new instance a floating IP address.
  9. Test access to the HTTP server in the new instance over the floating IP address.
  10. Delete any VM's that were started by the user greg