Common OpenStack server (instances) tasks
This section outlines a number of common commands that can be run when operating with instances (for example, virtual machines). For more detailed information and explanation of each task, refer to Chapter 5, Nova – OpenStack Compute.
Getting ready
Ensure that you have the OpenStack clients installed as described in the first recipes of this chapter.
How to do it…
Carry out the following to launch and manipulate running instances:
Launching an instance
To launch in an instance from the command line, you need the following information:
An image
A network
A flavor
An optional security group (default is used otherwise)
An optional key (if you intend to access the instance)
Carry out the following steps to launch an instance from the command line:
First, list the images available:
openstack image list
Now we list the networks available (it will be the UUID of the Network we will use):
openstack network list
We need a flavor, if you need reminding of them, list them...