This page describes the steps to to create a VM using the Openstack CLI.
There is a set of mandatory inputs required to create a new VM which are:
The available selectable options could also be checked using the Opnstack CLI commands:
Create a new Virtual MachineOnce known all mandatory inputs listed in the pre-requisites, a new virtual machine can be created with the following command:
Example:
Once created the VM details can be reviewed with the command:
Attach a Floating-IP to the VMIf a VM is attached only to the "private" network, if required a floating-ip can be attached to the VM to provide also a public IP. First create a new Floating IP :
where "external network" is the external network that grants access to internet (e.g. external-internet for ECMWF ) Then it is possible to attach the created floating IP to the VM with :
|