Managing images

Image management in an OpenStack environment can be achieved using the openstack command-line tool, the Horizon dashboard, or directly via the Glance REST-based API. Images can be sourced directly from the internet or created and manipulated with tools such as virsh, virt-manager, growpart, and cloud-init. Custom image creation will be covered later in this chapter.

Uploading images

When creating an image in OpenStack, one must provide attributes that describe the image. These attributes include the image name, the disk format, and the container format. Images can be public, private, or shared among multiple projects.

Getting ready

Images for the following examples can be downloaded from the following locations:

Get OpenStack Cloud Computing Cookbook - Fourth Edition 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.