Users Guide

4. Under Associated Resources, perform one of the following actions:
When you are adding a new component to a template, if you want to associate the component
with all the existing components, select Associate All resources option.
The new component automatically associated with the existing components.
When you are adding a new component to a template, if you want to associate the component
only with the selected components, select Associate Selected Resources, and then select the
components to associate as needed.
Based on the component type, specific settings and properties appear automatically that are required
and can be edited. For more information specific component type settings, see Component Types.
5. Click Add to add the component to the Template Builder.
6. Repeat the steps 1 through 5 to add multiple components.
7. After you complete adding components to your template, click Publish Template. Publishing a
template indicates that a template is ready for deployment.
If a template is not published, it cannot be deployed and remains in the Draft state until published.
8. After publishing a template, you can use the template to deploy a service in the Services page.
Related Links
Building template overview
Deploy service
Sample templates
Importing template
The Import Template option allows you to import the components of an existing template, along with
their component configurations, into a template. For example, you can create a template that defines
specific cluster and virtual machine topology, and then import this template definition into another
template. After importing, you can modify the component properties of the imported components.
NOTE: Editing the imported template does not affect the original template that was imported and
vice versa.
To import a template, perform the following steps:
1. Click Templates.
2. On the Templates page, click Create Template, or in the right pane, click Edit to edit an existing
template.
3. On the Template Builder page, click Import Template.
4. In the Import Template dialog box, select a specific template from the Select a template drop-down
list, and click Import.
Editing template
You can edit an existing template to change the Draft state of the selected template to the published
state for deployment, or to modify the exiting components and their properties.
To edit a template, perform the following steps:
1. Click Templates.
2. Select a template, and click Edit.
3. Perform the necessary changes to the template.
36