OpenStack CLIs

This tutorial is part of the Cloud Two Series.

Back to Cloud Two

Category: Intermediate

Difficulty: 3 out of 5

Duration: 27 minutes

Find a mistake? Let us know the issue here.

Building Australia's Research Data Structure

Using the CLI tools

In this section, we are going to introduce some basic commands and usage of OpenStack client.

Commands

To list all available commands:

openstack --help

To get a description of a specific command:

openstack help <command>

Examples

List all available servers in your project:

openstack server list

Show the detailed information for server test01:

openstack server show test01

Create a new image:

openstack image create --disk-format=qcow2 --container-format=bare --public --file your-disk-image.img test

List available volumes:

openstack volume list

To get a complete list of all available options, please visit the OpenStack Client website.

Up Next:

6. Next Steps