Difference between revisions of "Images"
(Wrote intro) |
(→Upload an Image: filled in steps) |
||
Line 22: | Line 22: | ||
== Upload an Image == | == Upload an Image == | ||
+ | Images can be uploaded if you already have an image file that you would like to use. For example, if you are unsatisfied with the stock image options available on [[Red Cloud]], you can [https://docs.openstack.org/image-guide/obtain-images.html Get Images] from elsewhere. Images can be uploaded via the [[OpenStack#Using_the_OpenStack_Web_Interface_.28Horizon.29| Web Interface]]: | ||
+ | # Go to the [https://redcloud.cac.cornell.edu/dashboard/project/images <tt>Images</tt> tab] | ||
+ | # Select the "<tt>Create Image</tt>" option | ||
+ | # Give the image a name | ||
+ | # Select the file of the source image to upload | ||
+ | # Select "<tt>Raw</tt>" for the Format | ||
+ | # '''Optional:''' Select "<tt>Yes</tt>" under Protected to ensure that the image cannot be changed or deleted accidentally (this setting can be changed later) | ||
+ | # Select "<tt>Create Image</tt>" | ||
== Share an Image == | == Share an Image == | ||
If you are interested in sharing an image, please see the documentation on how to [[Share An Image In Openstack]]. | If you are interested in sharing an image, please see the documentation on how to [[Share An Image In Openstack]]. |
Revision as of 13:15, 29 January 2019
Warning: This page is currently under construction. Information may not be ready for users.
OpenStack Images can take several forms, but generally an image consists of a static copy of a virtual machine with an operating system with some amount of storage. Each project starts out with a few base Linux and Windows images from which instances can be created. Images can also be created or uploaded to OpenStack, and then used to launch instances.
Creating an Image
Note: You should not take a snapshot of a file system that's mounted. You will lose all the info that's still in Linux's write cache. So if you want to take a snapshot of the root file system, the OS cannot be running.
From an Instance Snapshot
From a Volume
From a Volume Snapshot
Upload an Image
Images can be uploaded if you already have an image file that you would like to use. For example, if you are unsatisfied with the stock image options available on Red Cloud, you can Get Images from elsewhere. Images can be uploaded via the Web Interface:
- Go to the Images tab
- Select the "Create Image" option
- Give the image a name
- Select the file of the source image to upload
- Select "Raw" for the Format
- Optional: Select "Yes" under Protected to ensure that the image cannot be changed or deleted accidentally (this setting can be changed later)
- Select "Create Image"
If you are interested in sharing an image, please see the documentation on how to Share An Image In Openstack.