Use Case for ECS Creation Using Unified CLI
Creating a Port
Run the following command to create a port:
openstack port create port_test --network d5d7e451-cc4a-4c26-a4cf-6e94d56cbabd

Creating an ECS
Run the following command to create an ECS:
openstack server create --image f6784132-2951-4d1c-82b1-68c540f9fdd6 --flavor normal1 --availability-zone aaa --nic port-id=06137bc8-bf2a-47cf-8f0a-86ff43581cbf myserver
In the command, aaa indicates the name of an AZ.
The command output is as follows.

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