How can I create my own image flavor in OpenStack?

0 votes

Hi everyone,

I launched one instance in OpenStack. For that I used one flavor that have 4 GB of RAM, but for performing my job I need only 2GB of RAM. Can I create my own image flavor as per my requirement?

Thank You

Mar 20 in OpenStack by akhtar
• 4,500 points
23 views

1 answer to this question.

0 votes

Hi@akhtar,

To create image flavor in OpenStack, follow the below given steps.

  1. List flavors to show the ID and name, the amount of memory, the amount of disk space for the root partition and for the ephemeral partition, the swap, and the number of virtual CPUs for each flavor.

    $ openstack flavor list
    
  2. To create a flavor, specify a name, ID, RAM size, disk size, and the number of VCPUs for the flavor, as follows:

    $ openstack flavor create FLAVOR_NAME --id FLAVOR_ID --ram RAM_IN_MB --disk ROOT_DISK_IN_GB --vcpus NUMBER_OF_VCPUS

Hope this will help You.

Thank You

answered Mar 20 by MD
• 8,870 points

Related Questions In OpenStack

0 votes
1 answer

How can I create a public network in OpenStack?

Hi@akhtar,  In OpenStack you are the admin of ...READ MORE

answered Mar 18 in OpenStack by MD
• 8,870 points
18 views
0 votes
1 answer

How can I create one private subnet in OpenStack?

Hi@Hasid, If you launched all the instances within ...READ MORE

answered Mar 19 in OpenStack by MD
• 8,870 points
20 views
0 votes
1 answer

How can I create one container in OpenStack?

Hi@Hasid, In OpenStack, Swift provides container service. Follow ...READ MORE

answered Mar 19 in OpenStack by MD
• 8,870 points
28 views
0 votes
1 answer

How can I create an Alarm in OpenStack?

Hi@akhtar, An example of creating a Gnocchi threshold-oriented ...READ MORE

answered Mar 20 in OpenStack by MD
• 8,870 points
49 views
0 votes
1 answer

Can anyone explain, how nova works internally?

Hi@akhtar, Nova is comprised of multiple server process, ...READ MORE

answered Mar 17 in OpenStack by MD
• 8,870 points
24 views
0 votes
1 answer

How to create an instance in OpenStack?

Hi@akhtar, When we try to launch an instance ...READ MORE

answered Mar 17 in OpenStack by anonymous
• 8,870 points
31 views
0 votes
1 answer

Instance is not pingable from outside in OpenStack!

Ho@akhtar, There is nothing wrong. But when you ...READ MORE

answered Mar 17 in OpenStack by MD
• 8,870 points
50 views
0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17 in OpenStack by MD
• 8,870 points
32 views
0 votes
1 answer

How can I do SSH inside my instance in OpenStack?

Hi@akhtar, Yes, there is nothing wrong with your ...READ MORE

answered Mar 17 in OpenStack by MD
• 8,870 points
26 views
0 votes
1 answer

How can I create a network in OpenStack automatically?

Hi@akhtar, To create the router automatically, provide the ...READ MORE

answered Mar 18 in OpenStack by MD
• 8,870 points
20 views