How to create an image in OpenStack?

0 votes

Hi everyone,

OpenStack is a platform where we can develop our own cloud platform. So can we create our own image in OpenStack?

Thank You

Mar 16 in OpenStack by akhtar
• 4,500 points
24 views

1 answer to this question.

0 votes

Hi@akhtar,

Actually this is the fun in OpenStack. You can create your image, delete or update. In Openstack we are the admin of our cloud so we can do anything whatever we want to do. Now come to the answer

There are two ways to create image. One way from CLI and another way from WEB UI. Let's discuss one by one.

Create image from CLI

$ openstack image create --public --disk-format qcow2 --container-format bare --file <IMAGE_FILE> --property <IMAGE_METADATA> <NAME>
  • Replace <IMAGE_FILE> with the local path to the image file to upload. E.g. ws-2012-std.qcow2.

  • Replace <IMAGE_METADATA> with the following property string. E.g. murano_image_info='{"title": "Windows 2012 Standard Edition", "type": "windows.2012"}'

  • Replace <NAME> with the name that users will refer to the disk image by. E.g. ws-2012-std

Create image from WEB UI

Follow this procedure to upload an image to a project:

  1. Log in to the dashboard.

  1. Select the appropriate project from the drop down menu at the top left.

  2. On the Project tab, open the Compute tab and click Images category.

  3. Click Create Image.

    The Create An Image dialog box appears.

../_images/create_image1.png
Enter the details in this page and create your image.
answered Mar 16 by MD
• 8,870 points

Related Questions In OpenStack

0 votes
1 answer
0 votes
1 answer

How can I create my own image flavor in OpenStack?

Hi@akhtar, To create image flavor in OpenStack, follow ...READ MORE

answered Mar 20 in OpenStack by MD
• 8,870 points
23 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

How to execute command inside network namespace in OpenStack?

Hi@akhtar, Let’s assume you want to execute “ifconfig” command ...READ MORE

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

What is the meaning of term “Glance” in OpenStack service?

Hi@akhtar, Glance is image service in OpenStack. The ...READ MORE

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

Can anyone explain me the Architecture of Glance service in OpenStack?

Hi, OpenStack Glance has a client-server architecture that ...READ MORE

answered Mar 16 in OpenStack by akhtar
• 4,500 points
23 views
0 votes
1 answer

What is basic OpenStack Architecture?

Hi@akhtar, Basic Architecture of OpenStack is given below. OpenStack ...READ MORE

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

How to delete image in OpenStack?

Hi@akhtar, There are two ways to delete an ...READ MORE

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

How to update an image properties in OpenStack?

Hi@akhtar, You can update your image properties. Follow ...READ MORE

answered Mar 16 in OpenStack by MD
• 8,870 points
22 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