Creating a Connector in Azure from Cloud Manager
An Account Admin needs to deploy a Connector before you can use most Cloud Manager features. Learn when a Connector is required. The Connector enables Cloud Manager to manage resources and processes within your public cloud environment.
This page describes how to create a Connector in Azure directly from Cloud Manager. You also have the option to create the Connector from the Azure Marketplace, or to download the software and install it on your own host.
These steps must be completed by a user who has the Account Admin role. A Workspace Admin can't create a Connector.
When you create your first Cloud Volumes ONTAP working environment, Cloud Manager will prompt you to create a Connector if you don't have one yet. |
Setting up Azure permissions to create a Connector
Before you can deploy a Connector from Cloud Manager, you need to ensure that your Azure account has the correct permissions.
-
Create a custom role using the Azure policy for the Connector:
-
Download the Azure policy for the Connector.
Right-click the link and click Save link as… to download the file. -
Modify the JSON file by adding your Azure subscription ID to the assignable scope.
Example
"AssignableScopes": [ "/subscriptions/d333af45-0d07-4154-943d-c25fbzzzzzzz", ],
-
Use the JSON file to create a custom role in Azure.
The following example shows how to create a custom role using the Azure CLI 2.0:
az role definition create --role-definition C:\Policy_for_Setup_As_Service_Azure.json
You should now have a custom role called Azure SetupAsService.
-
-
Assign the role to the user who will deploy the Connector from Cloud Manager:
-
Open the Subscriptions service and select the user's subscription.
-
Click Access control (IAM).
-
Click Add > Add role assignment and then add the permissions:
-
Select the Azure SetupAsService role.
Azure SetupAsService is the default name provided in the Connector deployment policy for Azure. If you chose a different name for the role, then select that name instead. -
Assign access to an Azure AD user, group, or application.
-
Select the user account.
-
Click Save.
-
-
The Azure user now has the permissions required to deploy the Connector from Cloud Manager.
Creating a Connector in Azure
Cloud Manager enables you to create a Connector in Azure directly from its user interface.
-
The required permissions for your Azure account.
-
An Azure subscription.
-
A VNet and subnet in your Azure region of choice.
-
If you're creating your first Working Environment, click Add Working Environment and follow the prompts. Otherwise, click the Connector drop-down and select Add Connector.
-
Click Let's Start.
-
Choose Microsoft Azure as your cloud provider.
Remember that the Connector must have a network connection to the type of working environment that you're creating and the services that you're planning to enable.
-
Review what you'll need and click Continue.
-
If you're prompted, log in to your Microsoft account, which should have the required permissions to create the virtual machine.
The form is owned and hosted by Microsoft. Your credentials are not provided to NetApp.
If you're already logged in to an Azure account, then Cloud Manager will automatically use that account. If you have multiple accounts, then you might need to log out first to ensure that you're using the right account. -
Provide the required information:
-
VM Authentication: Enter a name for the virtual machine and a user name and password or public key.
-
Basic Settings: Choose an Azure subscription, an Azure region, and whether to create a new resource group or to use an existing resource group.
-
Network: Choose a VNet and subnet, whether to enable a public IP address, and optionally specify a proxy configuration.
-
Security Group: Choose whether to create a new security group or whether to select an existing security group that allows inbound HTTP, HTTPS, and SSH access.
There's no incoming traffic to the Connector, unless you initiate it. HTTP and HTTPS provide access to the local UI, which you'll use in rare circumstances. SSH is only needed if you need to connect to the host for troubleshooting.
-
-
Click Create.
The virtual machine should be ready in about 7 minutes. You should stay on the page until the process is complete.
You need to associate a Connector with workspaces so Workspace Admins can use those Connectors to create Cloud Volumes ONTAP systems. If you only have Account Admins, then associating the Connector with workspaces isn’t required. Account Admins have the ability to access all workspaces in Cloud Manager by default. Learn more.