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 working environments or volumes that are optimized for specific workloads and applications. Templates also enable you to activate Cloud Backup, Cloud Data Sense, and Replication (SnapMirror) on the created volumes.

Templates enable you to create volumes for Cloud Volumes ONTAP, Azure NetApp Files, and on-premises ONTAP systems.

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, Cloud Data Sense, or Replication (SnapMirror), ensure that the service is active and licensed in your environment.

Select and run the volume template

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

  • Run the volume template from the working environment

  • Run the volume template from the Templates dashboard

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 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 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.

Select and run a working environment template

You can create a new working environment from the Templates Dashboard if your company has created a template for this functionality.

If you have any questions about the details required to create the working environment, see Launching Cloud Volumes ONTAP in AWS.

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 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 working environment from a template.