Issue link: https://read.uberflip.com/i/1334488
Administering OpenStack Compute 40 Using public cloud images Images are the templates that get copied and spawned in our OpenStack Compute environment. There are a small handful of places where we can get ready-made images for our use. With these images, we are able to get off the ground very quickly, knowing that the community has tested the images. For Ubuntu, download any of the releases at http:// cloud-images.ubuntu.com/releases/. For CentOS and Fedora images, download them at http://open.eucalyptus.com/wiki/ EucalyptusUserImageCreatorGuide_v2.0. We have already used a public Ubuntu image in Chapter 1, Starting OpenStack Compute, where we used the tool cloud-publish-tarball to upload this image to our cloud environment. We will recap that and look at an alternative method for images that aren't in the same format. Getting ready To begin with, ensure you're logged into your Ubuntu client and have your cloud credentials sourced into your environment. The cloud-publish-tarball tool is provided by the cloud-utils package. This can be installed as follows: sudo apt-get update sudo apt-get -y install cloud-utils How to do it... There are a few locations from where images can be downloaded for use in our OpenStack environment. These images are usually packaged as tarballs, which allows us to use a convenient tool called cloud-publish-tarball, from the cloud-utils package, to upload them into our environment. Ubuntu Cloud Images from ubuntu.com 1. First, we'll download a new Ubuntu image from http://cloud-images.ubuntu. com/releases/, as follows: wget http://cloud-images.ubuntu.com/precise/current/ precise-server-cloudimg-i386.tar.gz www.it-ebooks.info

