Create an Image from an Instance

A step-by-step guide for creating an image from a volume

Shameel Ahmed

Last Update há 2 meses

What is an Image?

An image provides information that is required to create a Virtual Machine instance, like the underlying hardware configuration, the root and other volumes, operating system, applications installed and configured, etc. An image can be a default image or a custom image and must be specified while creating an instance. An image is useful when you want to launch multiple instances with the came configuration. 

For example, if you have to set up a load balancer with multiple instances serving a particular web application, you create an image from a volume where the application is installed, configured, tested and certified, and then create new instances from the image and attach it to the load balancer.

Steps to create a Custom Image

1. Create an instance with the required default image

2. Configure the instance as required

3. Install the necessary software, e.g., MySQL, Apache, etc. and configure them

4. Validate the instance by logging in to the instance

5. Create a Volume snapshot from the instance. An image is automatically created from the snapshot

You can then go ahead and create new instances based off this image. 

Step 1: Create an instance with the required configuration

The first step is to create an instance with the required configuration. Refer to Create an Instance article on how to do this. It is important to choose the right hardware configuration and base image at this stage.

Step 2: Configure the instance

The next step is to configure the instance as required. Configuring an instance may involve (but not limited to):

1. Configuring/tweaking the performance and security parameters of the underlying operating system

2. Installing SSL certificates

3. Installing license files

Step 3: Install custom software

The next step is to configure the instance as required. Configuring an instance may involve (but not limited to):

1. Installing and configuring web servers (IIS, Apache, JBoss, etc.)

2. Installing and configuring database servers (MySQL, PostgreSQL. etc.)

3. Installing and configuring custom application code

4. Installing and configuring database(s)


If you are setting up a Web server, refer to Install and configure Apache on an Instance.

Step 4: Validate the instance

Once the hardware and OS configuration is complete and the required custom software have been installed and configured, the next step is to login to the instance through the console and make sure everything is working correctly. 


For example, if you are setting up a web server, you can try hitting the IP address of the instance and check if the web site is up and running correctly. If you are setting up a database server, you can try connecting to the database IP and ensure that you are able to browse the database catalog.


Refer to Connect to an Instance from your computer.

Step 5: Create a Volume snapshot

A snapshot is a backup of a persistent volume in a concrete point of time. An image is a snapshot + the operating system and the boot loader. An image can be used to create new instances. In the IdeaDC portal, when you create a snapshot, an image is automatically created.

Go to Cloud -> Instances and click on the instance for which you wish to create an Image.

Click on the Snapshots tab and click the CREATE SNAPSHOT button.

In the Create Snapshot Popup, provide a name for the Image and click the CREATE button

Note the Warning message, the instance will not be available while the snapshot is being processed.

You will now see the created Image in the list. You can create any number of snapshots/images at different points of time.

The Edit Image button allows you to view and update the Image properties.

You can verify the Snapshot and Image from the Cloud -> Volume Snapshots and Cloud -> My Images sections respectively

Volume snapshots

Click on the widget to see the expanded view

My Images

The Edit Image icon opens the Edit Image popup. The Popup has two tabs. You can make changes to the Image as needed and then save it.

Note that when an Image is created, it is visible only to you until an Administrator makes it public, after which other users will also be able to view and use it to launch instances.

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us