Create resources using templates

Contributors netapp-tonacki Download PDF of this page

Select one of the application templates that your organization has built to create volumes that are optimized for specific workloads and applications. Templates enable you to create volumes for Cloud Volumes ONTAP, Azure NetApp Files, and on-premises ONTAP systems. They also enable you to activate Cloud Backup and Cloud Data Sense on the created volumes.

Quick start

Get started quickly by following these steps, or scroll down to the remaining sections for full details.

Number 1 Verify required prerequisites

  • Before you can create a volume for a Cloud Volumes ONTAP, on-premises ONTAP, or Azure NetApp Files system using a template, make sure you have access to an appropriate working environment where the volume will be deployed.

  • If the template activates a cloud service on the volume, such as Cloud Backup or Cloud Data Sense, ensure that the service is active and licensed in your environment.

Number 2 Launch the Application Templates service

Select the AppTemplate service and click the Templates tab.

Number 3 Build the resource by running the template and defining parameters

Select the template, click Run Template, and enter values in the editable fields to create the resource.

Requirements

Read the following requirements to make sure that you have a supported configuration.

  • If you don’t already have a Connector, see how to create Connectors for AWS, Azure, and GCP.

  • When creating a Cloud Volumes ONTAP volume, make sure you have a Cloud Volumes ONTAP working environment available.

  • When creating an on-premises ONTAP volume, make sure you have an on-premises ONTAP working environment available.

  • When creating an Azure NetApp Files volume, make sure you have an Azure NetApp Files working environment available.

  • If the template activates a cloud service on the volume, such as Cloud Backup or Cloud Data Sense, ensure that the service is active and licensed in your environment.

Select and run the template

There are multiple ways to select and run a template to create new volumes.

Regardless of the method you choose, the details about the required volume parameters that you must define are available in these sections:

Run a volume template from the working environment

You can add a volume to an existing working environment from the Working Environment page and from the Volume Details page.

Steps
  1. From the Working Environment page or from the Volume Details page, click Add Volume From Template.

    Two screenshots showing how users can create new volumes from a template.

    The Templates Dashboard is displayed and it lists only those templates that are applicable to the selected working environment — for example, it only shows Cloud Volumes ONTAP templates.

  2. Click the View button to view an outline of the template to make sure it is the one you want, and then click More icon and Run Template.

    A screenshot showing how to run a template from the Templates Dashboard

    The Add Volume from Template page appears.

  3. Enter values in the editable fields to create the volume and click Run Template.

    A screenshot showing the parameters you need to define to create the volume from a template.

Run a volume template from the Templates Dashboard

You can add a volume to an existing working environment from the Templates Dashboard.

Steps
  1. Select the AppTemplate service and click the Templates tab.

    The Templates Dashboard is displayed.

  2. For the template that you want to use, click the View button to view an outline of the template to make sure it is the one you want, and then click More icon and Run Template.

    A screenshot showing how to run a template from the Templates Dashboard

    The Run Template page appears.

  3. Enter values in editable fields to create the volume and click Run Template.

    A screenshot showing the parameters you need to define to create the volume from a template.

    Note that when you run the template from the dashboard that you need to select the working environment and other variables (for example, the storage VM and/or aggregate). When you run the template from the working environment, the working environment gets filled in automatically.