Knowledge Base
Compute
Compute
  • How to Manage a compute instance?
  • What is the difference between pausing and suspending an instance?
  • How to Manage an Autoscaling Template?
  • How to Manage Autoscaling Deployments?
    • How to create a snapshot of an Instance?
  • How to View Nodes/Events/Graph in Autoscaling Deployment?
  • How to change a security group of an instance?
  • How do you associate/disassociate floating IP in an instance?
  • How to attach/detach an interface on an Instance?
  • How do I attach/detach a volume to an instance?
  • How to create an instance with the snapshot image?
  • How to create a GPU instance?
  • How to rebuild an instance?
  • How to make your Block Storage volume available for use on Windows?
  • How to resize an Instance?
  • Where can I see the action log for my instance?
  • Why should I lock an instance, and how can I do it?
  • Will I be billed for the instances that are shut off, and how can I shut them off?
  • How to access Windows through the console and RDP?
  • How to Download an Image from Ace Cloud?
  • How to Migrate a Server from Ace Cloud to AWS?
Powered by GitBook
On this page
  • Overview
  • Prerequisites
  • Process
  • Conclusion

Was this helpful?

How to Download an Image from Ace Cloud?

PreviousHow to access Windows through the console and RDP?NextHow to Migrate a Server from Ace Cloud to AWS?

Last updated 9 days ago

Was this helpful?

Overview

This document provides step-by-step instructions on how to download an image from Ace Cloud. The process involves creating a snapshot of a volume, uploading it to the image service, and then downloading the image using the OpenStack Command-Line Interface (CLI).

Prerequisites

  • Access to an OpenStack project with the necessary permissions to create snapshots, manage volumes, and download images.

  • OpenStack CLI is installed on your machine.

  • Python3-glanceclient installed on your machine.

Process

Step 1: Create a Snapshot

To create a snapshot, follow the below steps:

a. to your account.

b. Navigate to Compute and then click on Instances.

c. Select the Instance from the list and click on the action icon.

d. Choose Create Snapshot.

e. Enter the Snapshot Name and hit Submit.

Step 2: Upload the Volume to an Image

Follow the steps below to learn how to upload the volume to an image:

a. Navigate to Storage, then click on Volumes, and locate the volume created from the snapshot.

b. Click the actions icon next to the volume and select Upload to Image.

c. Enter the Image Name, select the Disk Format (e.g., QCOW2, VDI), and click on Upload.

Step 3: Locate Your Image in the Image Section

a. Navigate to Storage and then click on Images.

b. Find the image you just uploaded and note the image name for use in the following steps.

Step 4: Access the OpenStack CLI

a. Open a terminal on your local machine.

b. Ensure you have the OpenStack CLI installed and configured with your OpenStack credentials.

Step 5: List Available Images

a. Run the following command to list all images and filter for your specific image:

OpenStack image list | grep -i "your-image"

Note:

  • Enter your image name in place of "your-image".

  • Note the Image ID associated with your image, which you will need in the below step.

Step 6: Install the Python3 Glance Client

Run the below command to install the Glance client:

sudo apt install python3-glanceclient -y

This client is necessary to interact with the OpenStack Image service.

Step 7: Download the Image

a. Use the following command to download the image:

glance image-download --file 'your-image-name' <image-id> --progress

Note: Replace 'your-image-name' with the name you want for the downloaded file and <image-id> with the ID of the image you fetched in the above step.

b. The image will be downloaded to the current directory with the specified file name.

Conclusion

Following these steps, you can successfully create a snapshot of an instance, upload it to the Ace Cloud Image service, and download it to your local machine using the OpenStack CLI. This process helps back up instances, migrating them between environments, or obtaining a copy of an instance's image.

Login