Create a new application image
This page explains how to create a custom application image template from an existing virtual machine (instance).
In CubeCMP, application images are custom containers generated from an instance template. To make an application image available to users, you first create an instance, install the required packages and applications, and then commit the instance as an application image.
Prerequisiteβ
- A cloud-init enabled instance with the required applications preinstalled. For instructions on creating an instance, see Create an instance (virtual machine).
Create a new custom application image templateβ
- In the CubeCMP management console, go to the
Instancespage. - Locate the template instance that you want to turn into an application image. Click the More options (three dots) menu, and select Commit to app image.
- Configure the application image settings.
- Enter a name in the Image Name field.
- Specify a Tag to identify the image version.
- (Optional) Enter a Description.
- Configure Export Ports to allow users access to the application after it is deployed as a container.
- Enable SSH if you want to allow SSH access for a specified user.
- Select a Container Runtime and provide a container name.
- Choose an Image Icon.
- To enable GPU resources on platforms with supported hardware, select the GPU Enabled option.
- To save and create the application image, click Commit.
- To monitor the creation status, go to Applications > Images.
- When the iamge creation is complete, the Status changes to Available. Users can then launch new applications from this image template.
To learn how to create an application instance from the template, refer to Launch a new application image.