> For the complete documentation index, see [llms.txt](https://docs.acecloud.ai/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acecloud.ai/knowledge-base/compute/how-to-manage-an-autoscaling-template.md).

# How to Manage an Autoscaling Template?

### **a. How to view the list of all Autoscaling Templates?**

To view a list of all autoscaling templates, follow the steps given below:

**Step 1:** [Login](https://customer.acecloudhosting.com/index.php?m=ace_product_register_addon\&action=login) to your account.

**Step 2:** Navigate to **Compute > Auto scaling > Templates** to view all available templates.

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2F4WdEP1LvV2EH1f6E7VJ5%2Fimage.png?alt=media&amp;token=9b91a745-5066-4b9a-a9ef-56f004f65389" alt=""><figcaption></figcaption></figure>

### **b. How to create an Autoscaling Template?**

To create an autoscaling template, follow the steps given below:

**Step 1:** Click on the **Create Template**.

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2FxHi7gS700J2meqOSNAJX%2Fimage.png?alt=media&amp;token=5aabeee3-f9cf-4473-888a-929ed7c55f8b" alt=""><figcaption></figcaption></figure>

**Step 2:** Enter **Template Details** and **Specification.**

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2FJXVwGKXVZB394q3f0VJg%2Fimage.png?alt=media&amp;token=e73c6c0d-b037-42c3-afca-abb7f110ff79" alt=""><figcaption></figcaption></figure>

| **Template Name** | Enter name for the autoscaling template.                                                                      |
| ----------------- | ------------------------------------------------------------------------------------------------------------- |
| **Description**   | Enter description for the autoscaling template.                                                               |
| **OS Type**       | Select the operating system type for your template. Choose from Linux, Windows, or Custom OS.                 |
| **Image**         | Select image for the autoscaling template.                                                                    |
| **Flavor**        | Select a flavor for your template. Only non-GPU flavors are shown and filtered based on the selected OS type. |

**Step 3:** Enter **Storage** and **Network Configuration** details.

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2FemQREHsVeBZeRKyMhhXj%2Fimage.png?alt=media&amp;token=e84fdd2e-b1a5-4367-9bae-9d8d9457b909" alt=""><figcaption></figcaption></figure>

| **Field**            | **Description**                                                                                                                                                         |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Volume Type**      | Select the volume type for the template.                                                                                                                                |
| **Volume Size (GB)** | Enter the volume size in GB. Must be greater than 20 GB and greater than the selected image size.                                                                       |
| **Network**          | <p>Select a network for the autoscaling template.</p><p><strong>Note:</strong> To create a new network, click <strong>Create.</strong></p>                              |
| **Subnet**           | Select a subnet from the available network for your template.                                                                                                           |
| **Security Group**   | <p>Select a security group for the autoscaling template.</p><p><strong>Note:</strong> If you want to create a new security group, click on <strong>Create</strong>.</p> |

**Step 4:** Configure a Post Creation Script (Optional)

* Upload a script file (.txt or .sh, up to 16 KB) using Load Script from a file, or enter the script directly in the Enter customization script field.
* The script will be Base64 encoded and executed automatically after server creation.
* You can monitor the script execution status and logs from the instance after deployment.

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2FkZAMsfkuJJZ0QMjZMSus%2Fimage.png?alt=media&amp;token=9f592051-8480-447f-a253-4b10612ae490" alt=""><figcaption></figcaption></figure>

***Note:** The customization script may take a few minutes to complete. You can check the instance logs for progress and execution details.*

**Step 5:** Configure Additional Properties

1. Under **Require Key Pair**, select:   \
   **Yes** to require an SSH key pair for instance access.   \
   **No** to allow instance creation without a key pair.
2. If **Yes** is selected, choose an existing key pair from the **Key Pair** dropdown or click **Create** to add a new key pair.
3. Click **Refresh** to update the list of available key pairs if needed.

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2FfrT93Y84o9iWUOEOlIMP%2Fimage.png?alt=media&amp;token=7e6611fc-3656-4497-a660-273b5d9b7bd4" alt=""><figcaption></figcaption></figure>

**Step 6:** Review the template details and click **Create Template**.

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2F6i3CpNekU1tGTfIcYo7v%2Fimage.png?alt=media&amp;token=fbb7efa8-4f48-41f6-a08c-460a937fd4a9" alt=""><figcaption></figcaption></figure>

You have successfully created an Autoscaling Template.

### **c. How to delete an Autoscaling Template?**

To delete an autoscaling template, follow the steps given below:

**Step 1:** Choose **Delete Template** from the drop-down menu.

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2FCMgPSpmQPbYUbbClyKeN%2Fimage.png?alt=media&amp;token=0f536e86-9006-470f-ad59-a409a276a40c" alt=""><figcaption></figcaption></figure>

**Step 2:** Click on **Delete** to confirm the deletion.

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2F8jK8apoYKri4ZSHhaE8O%2Fimage.png?alt=media&amp;token=99768603-6cca-4fbf-902f-2b1c9fe0edf6" alt=""><figcaption></figcaption></figure>

### **d. How to update an Autoscaling Template?**

To update an autoscaling template, follow the steps given below:

**Step 1:** Click on **Actions** and choose **Edit Template** from the drop-down.

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2Fg3Pr9WnaUwmzSocp0zy8%2Fimage.png?alt=media&amp;token=5aa488b5-db40-4b5b-b4fb-6ecdf26c3881" alt=""><figcaption></figcaption></figure>

**Step 2:** Update the details and click on **Update Template.**

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2FlzTCqiHt9yuBgcw3KCdS%2Fimage.png?alt=media&amp;token=223b5d5b-2009-4754-98fe-f13b21af5a78" alt=""><figcaption></figcaption></figure>

### **e. How to view an Autoscaling Template overview?**

To view an autoscaling template overview, follow the steps given below:

**Step 1:** Choose the template for which you want to view the overview and click on **Template Name.**

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2FxOXrjgDd7CnNdiUB5paN%2Fimage.png?alt=media&amp;token=4c00f5df-1f43-4e4c-a97e-5125a314b53a" alt=""><figcaption></figcaption></figure>

**Step 2:** Here, you can view the template overview.

<figure><img src="https://2309219721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAttkclnlvS7mshXw1NRn%2Fuploads%2FELnIjSSPfkiSgrf0DIv5%2Fimage.png?alt=media&amp;token=24df8989-1395-4f85-ba0b-b8cd287fd19b" alt=""><figcaption></figcaption></figure>
