Example of Creating an ECS Using the Individual CLI
Creating a Port
Run the following command to create a port:
neutron port-create d5d7e451-cc4a-4c26-a4cf-6e94d56cbabd --name port_test
Information similar to the following is displayed.

Creating a Mirrored Disk
Run the following command to create a mirrored disk:
cinder create --image-id f6784132-2951-4d1c-82b1-68c540f9fdd6 --volume-type SATA --availability-zone aaa --name volume_test 10
In the command, aaa indicates the name of an AZ.
Information similar to the following is displayed.

Creating an ECS
Run the following command to create an ECS:
nova boot --boot-volume 09a0281f-9cc1-4735-8d61-bdba6abe82a7 --availability-zone aaa --flavor normal1 --nic port-id=c2f6726d-99aa-4719-a63d-6dd72a627134 server_test
In the command, aaa indicates the name of an AZ.
Information similar to the following is displayed.

Last Article: Creating an ECS Using the Individual CLI
Next Article: Creating an ECS Using the Unified CLI
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.