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, 2020 in OpenStack by akhtar
• 38,240 points
1,000 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, 2020 by MD
• 95,440 points

Related Questions In OpenStack

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, 2020 in OpenStack by MD
• 95,440 points
894 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, 2020 in OpenStack by MD
• 95,440 points
844 views
0 votes
1 answer

How to create an image in OpenStack?

Hi@akhtar, Actually this is the fun in OpenStack. ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,440 points
2,737 views
0 votes
1 answer

How can I upload an Object in OpenStack?

Hi@Hasid, You can upload your files inside your container. ...READ MORE

answered Mar 19, 2020 in OpenStack by MD
• 95,440 points
671 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, 2020 in OpenStack by MD
• 95,440 points
1,500 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, 2020 in OpenStack by anonymous
• 95,440 points
2,394 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, 2020 in OpenStack by MD
• 95,440 points
6,063 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, 2020 in OpenStack by MD
• 95,440 points
9,118 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, 2020 in OpenStack by MD
• 95,440 points
2,253 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, 2020 in OpenStack by MD
• 95,440 points
552 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP