Getting Cloud Images

 

The most basic resource for each user in cloud is an image. Images contain image of whole hard drive, including all filesystems and partition table. This guide will lead you through all steps necessary to create set of basic images and manage them.

Upload cloud images

Most of Linux distributions have versions dedicated for cloud. This special releases are preinstalled disk images with basic operating system. The most important difference is configuration of such image. You can define new users, install packages or even call commands with special mechanism, called Cloud Init.

In CoreCluster cloud this mechanism is provided by CoreTalk extension

Go to the images section and select Upload. Fill all necessary fields of form and click upload button:

Mind the format of each image. Most of Linux cloud images have qcow2 format. If not sure, check it with file command.

Cirros test image
The Cirros image is very small cloud image for test purposes. You can download it for network or CloudInit tests from url: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
Popular Linux distributions with cloud versions

You should set image name, short description, url and format. Go to Advanced tab to set additional parameters:

Additional settings

You can define access and image type. Images with type transient are used as base all instances. Each new instance in cloud created with such image creates a copy of it to boot. When instance is destroyed, the clone is usually removed together, with instance, however there is option to save it on demand. Images with type permanent could be used as external drive, which doesn't disapear after removing instance. Use this kind of disks to store your important data, like databases or logs. Other two image types are user rarely in default CoreCluster installations

Hardware

In Advanced tab you will also find some settings related to disk controller, video, and network cards. This settings are important for transient images. With this setting you can define how to emulate hardware (disk controller, network and video card) for each machine booted from this image. It may be important with Windows operating systems.

As the Administrator you can adjust list of emulated hardware. Check it in /etc/corecluster/hardware.py

Uploading image

To upload image, click green Upload button at the bottom of the page. You image should appear in the Image list and be in waiting state for short moment. After few seconds your image will change state to downloading.

Sometimes image may fail, which is notified by failed state. Contact your administrator, or check your task queue if you are administrator by command:

sudo cc-manage task list

Creating empty images

Alternatively you can create empty images. This is useful to create permanent images for data. Click in the side menu Create instead Upload in Images section. Procedure is the same as with uploading images. The only difference is that you have to set image size instead of url

< Go back     Author: Maciej Nabozny Published: Oct. 14, 2016, 8:21 p.m.