Skip to main content

Templates

⏱️ Estimated reading time: 2 minutes

Overview​

The Templates feature in the Cloud4India Cloud Portal allows users to upload and manage custom virtual machine images for quick and consistent deployment. Supported formats include:

  • QCOW2
  • RAW
  • VHD
  • VMDK

Templates enable you to launch pre-configured environments with your preferred software, configurations, and operating systems—saving time, improving consistency, and accelerating development and production workflows.


Uploading a Template​

To upload a new Template:

  1. Log in to the Cloud4India Cloud Portal.

  2. From the sidebar, navigate to Templates.

  3. Click the ➕ Create Template button at the top right to open the upload form.

  4. Fill in the following information:

    • Project: Choose the project to associate the Template with.
    • Datacenter Location: Select the zone where the template will be uploaded.
    • Template Name: Enter a descriptive name for the template.
    • Description: Provide a brief description of the template (e.g., base image with pre-installed software).
    • URL: Enter the direct download link of the image file (e.g., a QCOW2 or VMDK image).
    • Format: Select the format of the image (QCOW2, RAW, VHD, or VMDK).
    • Root Disk Controller: Choose the disk driver/controller to be used (e.g., virtio, scsi, etc.).
    • Template Type: Specify whether this is a User Template, System Template, or for other use cases.
    • Select Image: Choose the base image category that matches the uploaded template.
    • Select OS: Choose the operating system corresponding to the uploaded template.
  5. Click Review & Create to begin the upload process.

Once the image is validated and downloaded, it becomes available for use during instance deployment.


Using Templates​

Once uploaded, your custom templates can be selected during instance creation:

  • Navigate to the My Templates tab in the OS selection step.
  • Choose your template to launch a VM with the pre-configured environment.

This enables rapid, repeatable deployments with minimal setup effort.


tip

Use consistent naming conventions and descriptions to easily identify templates for specific projects, teams, or environments.