Image Operations
In this guide, you will learn how to perform various operations for images on SkyAtlas Cloud.
Prerequisites
Before you begin, make sure you have:
- Access to SkyAtlas Cloud.
- Choose an image for operations.
- If you don't have an image, follow the image operations.
Launch Instance
Once the image is selected, you can manage it under action menu by Launch Instance, Create Volume or Deleting it when it is no longer needed.
To create instance from Image follow steps below.
- Click "Launch" button.
- The Launch Instance pop-up will open with image will be selected under the source tab.
- Instance creation is completed by following the steps on the instance creation page and then click Launch Instance.
To create instance from Image
$ openstack server create --key-name <keypair_name> --flavor <flavor_name> --image <image_name> <VM-Name>
Create Volume from Image
To create volume from Image follow steps below.
- Click "Create Volume" under action button
- The Create Volume pop-up will open with image will be selected under the "use image as a source" tab.
- After the desired changes are made click "Create Volume".
-
Volume Name: Provide a meaningful name for Volume. Avoid special characters
-
Type: "fast" indicates that an SSD disk is used and is the only selectable option.
-
Size: The desired volume size is specified.
-
Availability Zone: Choose one from the availability zones if desired.
To create volume from Image
$ openstack volume create --image <image_id> --size 5 <volume_name>
Deleting Custom Images
Info
Images should only be deleted if no VM is running which was booted from that image.
Images can be deleted by checking select box the images you want to delete and clicking on the "Delete Images" button, or by clicking on the "Delete Image" under the action button of the image you want to delete.
Images can be deleted using the openstack image delete command.
$ openstack image delete <image_id>