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 customize image in OpenStack?

Thank You

Mar 16 in OpenStack by akhtar
• 33,120 points
567 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
• 78,020 points

Related Questions In OpenStack

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
• 78,020 points
239 views
0 votes
1 answer

How to create a network in OpenStack automatically?

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

answered Mar 18 in OpenStack by MD
• 78,020 points
107 views
0 votes
1 answer

How to create a public network in OpenStack?

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

answered Mar 18 in OpenStack by MD
• 78,020 points
708 views
0 votes
1 answer

How to create new router in OpenStack?

Hi@akhtar, You can create a router in OpenStack. ...READ MORE

answered Mar 18 in OpenStack by MD
• 78,020 points
91 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
• 78,020 points
120 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
• 33,120 points
244 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
• 78,020 points
142 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
• 78,020 points
297 views
0 votes
1 answer

How to create an image in OpenStack from CLI?

Hi@akhtar, You have to first download one preinstalled ...READ MORE

answered Jul 6 in OpenStack by MD
• 78,020 points
150 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
• 78,020 points
89 views