Learn about Cloud Volumes ONTAP automation options
DevOps teams use a variety of tools to automate the setup and administration of their data center runtime environments. Besides NetApp Console, you can use several of these technologies for Cloud Volumes ONTAP automation, including NetApp Console APIs, ONTAP CLI procedures, and automation tools, such as Ansible and Terraform. The external automation tools are commonly based on an Infrastructure as Code (IaC) design.
Use Lab on Demand to practice automating Cloud Volumes ONTAP.
NetApp Console APIs
The NetApp Console provides REST APIs that you can use to programmatically administer Cloud Volumes ONTAP resources. The APIs support operations such as creating and administering Cloud Volumes ONTAP systems and adding aggregates and volumes on Amazon Web Services (AWS), Microsoft Azure (Azure), and Google Cloud. The available API calls vary by cloud provider and by deployment type, including single-node and high-availability (HA) configurations.
You can use the Cloud Volumes ONTAP API workflows to automate a typical deployment and subsequent storage administration. Some workflows include preparing for deployment, creating a system, and administering storage, with provider-specific workflows for AWS, Azure, and Google Cloud.
| Activities | APIs and interfaces to use | API reference |
|---|---|---|
Create Cloud Volumes ONTAP systems. API calls vary by cloud provider and by single-node or HA deployment. |
NetApp Console REST APIs and Cloud Volumes ONTAP API workflows |
|
Create aggregates for Cloud Volumes ONTAP systems. |
NetApp Console REST APIs |
|
Configure a CIFS server for a Cloud Volumes ONTAP system. |
NetApp Console REST APIs |
|
Create and manage additional data-serving storage VMs and configure their required network interfaces in Azure and Google Cloud. |
Cloud Volumes ONTAP APIs for the NetApp Console |
|
Create a Cloud Volumes ONTAP system that uses customer-managed encryption keys. |
NetApp Console API |
|
Modify IOPS and throughput settings for Azure Premium SSD v2 disks after deployment. |
Cloud Volumes ONTAP API |
|
Deploy a Cloud Volumes ONTAP HA pair in an AWS shared subnet. |
Cloud Volumes ONTAP API |
|
Enable data tiering after the system is created when the object store was not configured during deployment. |
Cloud Volumes ONTAP API |
|
Configure an NTP server for an existing Cloud Volumes ONTAP cluster. |
NetApp Console API |
For more information, refer to:
ONTAP CLI
You can use the ONTAP CLI for several Cloud Volumes ONTAP administration tasks. The available procedures and commands vary by feature and cloud provider. Do not use the ONTAP CLI or ONTAP System Manager to upgrade Cloud Volumes ONTAP. Perform upgrades from the NetApp Console.
| Activities | CLI procedures or commands | References |
|---|---|---|
Configure encryption key management for Cloud Volumes ONTAP. |
AWS KMS, Azure Key Vault, or Google Cloud KMS commands in the ONTAP CLI |
|
Configure Event Management System (EMS) event destinations and routes. |
EMS configuration commands in the ONTAP CLI |
|
Configure an NTP server for an existing Cloud Volumes ONTAP cluster. |
|
|
Disable data compression when creating a volume with storage efficiency disabled. |
ONTAP CLI volume efficiency commands |
|
Create additional LUNs. |
LUN creation commands in the ONTAP CLI |
|
Create volumes with WORM disabled or create Snapshot copies for SnapLock volumes, as applicable. |
Volume and Snapshot management commands in the ONTAP CLI |
|
Configure NVFAIL behavior to help prevent access to data after a data-loss event until the issue is addressed. |
NVFAIL configuration commands in the ONTAP CLI |
|
Segregate SnapMirror replication traffic in an Azure single-node deployment. |
ONTAP CLI networking and SnapMirror commands |
For more information, refer to ONTAP CLI reference guide
Ansible
Ansible is an open-source configuration management tool based on procedural configuration files.
Terraform
Terraform is an open-source orchestration tool that uses declarative configuration files. NetApp provides a Terraform provider for Cloud Volumes ONTAP. You can use it to automate and integrate your infrastructure with IaC. For more information, refer to NetApp Terraform provider.