Rate This Document
Findability
Accuracy
Completeness
Readability

Creating an Instance Flavor

You can refer to this section to create different instance flavors as required.

  1. Import environment variables.
    source ~/.admin-openrc
  2. Create an instance flavor.
    openstack flavor create $flavor_name --ram $memory_size --vcpus $cpu_num --disk $disk_size --public

    Modify the following parameters as required:

    • Replace flavor_name with the name of the created flavor.
    • Replace memory_size with the specified memory size, in MB.
    • Replace cpu_num with the specified number of CPUs.
    • Replace disk_size with the specified drive size, in GB.