In the past, the Resource Orchestration Service (ROS) console saved only sample templates provided by Alibaba Cloud, but did not save and manage private templates. Private templates were stored in local storage, which was inconvenient. Now, you can use My Templates in the ROS console to manage your templates.

  1. Log on to the ROS console.
  2. In the left-side navigation pane, choose Templates > My Templates.
  3. On the My Templates page, click Create Template in the upper-right corner.
  4. Enter the template name, description, and JSON-formatted content. Click Create Template to create a template.
    Notice The template content must be in JSON format. Otherwise, template creation fails.
    You can use one of the following methods to create a template:
    • See Template structure and references provided in the document.
    • If you stored a template file elsewhere, you can set Template Import Method to Use URL and enter a URL that points to your template. Then, click Extract JSON Content to create a template from the file.

Manage existing templates

  1. Log on to the ROS console.
  2. In the left-side navigation pane, choose Templates > My Templates.

    The My Templates page appears, with all your templates listed. Enter a template name in the search box to search for the template.

  3. Click the template ID to view template metadata and content in JSON format.
  4. Manage existing templates. Each template has the Edit, Delete, and Create Stack options in its Actions column.
    • Click Edit to update the template. The method used to edit a template is similar to the method used to create the template.
    • Click Delete to delete the template.
    • Click Create Stack to go to the resource stack creation page.