Azure Preparation
Creating a BYOC warehouse on Azure involves two Azure-side tasks: preparing a VNet and subnet, and (optionally) reviewing the resource orchestration template and the Deployment Stack it creates.
Prepare a VNet and subnet
You only need this if you deploy into an existing VNet. If no VNet and subnet meet the requirements, create them in advance.
Note:
If a VNet and subnet already meet the region, availability zone, and subnet requirements and you want to deploy the BYOC warehouse into them, skip the steps below. For the supported regions, see Supported Regions.
Create a VNet and subnet
-
In the Azure portal, open the Virtual networks service and click Create.

-
Select the Subscription and Resource Group, enter a Virtual network name, select a supported Region, then click Next.

-
Click + Add a subnet, then click Edit.

-
Enter a Name, specify the subnet range, click Save, then click Next.
Note:
To provide outbound internet access for resources in this subnet, specify a NAT gateway when you create the subnet.

-
Click Create.

Understand the template and Deployment Stack (optional)
Note:
You do not need to take action in this section. Continue reading to learn how it works.
When you deploy the template as a Deployment Stack under your cloud account, it operates on cloud resources such as the VNet, virtual machines, and storage account, so it requires a set of IAM permissions.
The account running the deployment needs permission to deploy the stack, create its resources and custom roles, and create role assignments at the applicable scopes. For an existing VNet in another resource group, it also needs permission to deploy the network role assignment in that resource group. Ask your Azure administrator to deploy the template if you lack these permissions. The runtime permissions below are not a complete deployment-user policy.
About the template
The template that VeloDB Cloud provides runs in your Azure subscription. Review the template for your deployment option, including its role definitions and assignments:
- Existing VNet deployment template. This wrapper deploys the existing VNet resource template.
- New VNet resource template.
Use the deployment URL supplied by the VeloDB Cloud console to review the template used for your warehouse.
When you deploy the template as a Deployment Stack, it creates and deploys the Agent. The Agent then establishes a private connection with VeloDB Cloud and completes the warehouse initialization.
Return to the VeloDB Cloud console and wait for warehouse initialization and initial cluster creation to finish.
View Deployment Stack resources
You can view all resources the VeloDB template created, and look up a specific resource by name, in the Deployment Stack.
Note:
Resources created by the template belong to your Azure subscription. The names below identify template resources. Actual resource names include generated suffixes. Storage accounts, managed identities, and IAM roles are not VNet-scoped resources.
- Virtual Machine
- Template resource:
VeloDBAgent - Purpose: Used to deploy Agent, Prometheus, FluentBit and other programs
- Template resource:
- Private Endpoint
- Template resource:
VeloDBEndpoint - Purpose: Establish a private network connection (PrivateLink Connection) with the VeloDB Manage service, so that you can pull control instructions and push monitoring and logs in one direction
- Template resource:
- Network security group
- Template resource:
VeloDBSecurityGroup - Purpose: A single network security group with rules allowing inbound TCP ports
8000-10000and443from the VNet's first address range, plus outbound TCP traffic.
- Template resource:
- Storage Account
- Template resource:
VeloDBBucket - Purpose: Used to store data warehouse data
- Template resource:
- User-Assigned Managed Identity & Role Definition
- Template resources:
- VeloDBDataAccessIdentity (Kernel-side managed identity), VeloDBAgentIdentity (Control-side managed identity)
- VeloDBControlPlaneRole (Custom role permissions bound to the control-side managed identity)
- Purpose: The Agent uses
VeloDBAgentIdentityfor management operations. Warehouse VMs are assignedVeloDBDataAccessIdentity, whose storage role is listed below.
- Template resources:
For New VPC, the template also creates a VNet, subnet, NAT gateway, and public IP address.
Permissions of the user-assigned managed identity
The template creates two managed identities and grants the following roles:
| Identity | Role | Assignment scope |
|---|---|---|
VeloDBAgentIdentity | VeloDBControlPlaneRole, with the actions listed below | The deployment resource group |
VeloDBDataAccessIdentity | Storage Blob Data Owner | The storage account created by the template |
VeloDBAgentIdentity, when an existing VNet is in another resource group | A separate custom network role | The entire resource group containing that VNet |
The cross-resource-group network role grants Microsoft.Network/virtualNetworks/read, Microsoft.Network/virtualNetworks/subnets/read, and Microsoft.Network/virtualNetworks/subnets/join/action. It permits subnet attachment as well as reads.
The control role assignment covers the deployment resource group, rather than only resources with VeloDB Cloud tags. Its permissions below are the template's current grants, not a verified minimum policy. The data-access identity's Storage Blob Data Owner role is a separate assignment and is not included in this action list.
Azure resource management uses the Agent's managed identity. The template also passes a storage account key to the Agent, and Blob storage operations can use Shared Key authentication. These operations are not restricted solely by the managed identities' role assignments.
-
Permission summary:
'Microsoft.Compute/register/action''Microsoft.Compute/virtualMachines/read''Microsoft.Compute/virtualMachines/write''Microsoft.Compute/virtualMachines/delete''Microsoft.Compute/virtualMachines/start/action''Microsoft.Compute/virtualMachines/powerOff/action''Microsoft.Compute/virtualMachines/redeploy/action''Microsoft.Compute/virtualMachines/restart/action''Microsoft.Compute/virtualMachines/deallocate/action''Microsoft.Compute/virtualMachines/runCommand/action''Microsoft.Compute/virtualMachines/attachDetachDataDisks/action''Microsoft.Compute/virtualMachines/vmSizes/read''Microsoft.Compute/virtualMachines/runCommands/read''Microsoft.Compute/virtualMachines/runCommands/write''Microsoft.Compute/virtualMachines/instanceView/read''Microsoft.Compute/virtualMachines/extensions/read''Microsoft.Compute/locations/diskOperations/read''Microsoft.Compute/disks/read''Microsoft.Compute/disks/write''Microsoft.Compute/disks/delete''Microsoft.Compute/skus/read''Microsoft.Compute/locations/usages/read''Microsoft.Compute/locations/publishers/artifacttypes/offers/skus/read''Microsoft.Compute/locations/publishers/artifacttypes/offers/read''Microsoft.Compute/locations/publishers/artifacttypes/offers/skus/versions/read''Microsoft.Compute/operations/read''Microsoft.Compute/images/read''Microsoft.Compute/locations/operations/read''Microsoft.Compute/locations/vmSizes/read''Microsoft.Compute/locations/runCommands/read''Microsoft.Network/register/action''Microsoft.Network/operations/read''Microsoft.Network/loadBalancers/read''Microsoft.Network/loadBalancers/write''Microsoft.Network/loadBalancers/delete''Microsoft.Network/loadBalancers/health/action''Microsoft.Network/loadBalancers/backendAddressPools/queryInboundNatRulePortMapping/action''Microsoft.Network/loadBalancers/backendAddressPools/updateAdminState/action''Microsoft.Network/loadBalancers/backendAddressPools/health/action''Microsoft.Network/loadBalancers/backendAddressPools/read''Microsoft.Network/loadBalancers/backendAddressPools/write''Microsoft.Network/loadBalancers/backendAddressPools/delete''Microsoft.Network/loadBalancers/backendAddressPools/backendPoolAddresses/read''Microsoft.Network/loadBalancers/backendAddressPools/join/action''Microsoft.Network/loadBalancers/providers/Microsoft.Insights/diagnosticSettings/read''Microsoft.Network/loadBalancers/providers/Microsoft.Insights/diagnosticSettings/write''Microsoft.Network/loadBalancers/frontendIPConfigurations/read''Microsoft.Network/loadBalancers/frontendIPConfigurations/join/action''Microsoft.Network/loadBalancers/frontendIPConfigurations/loadBalancerPools/read''Microsoft.Network/loadBalancers/frontendIPConfigurations/loadBalancerPools/write''Microsoft.Network/loadBalancers/frontendIPConfigurations/loadBalancerPools/delete''Microsoft.Network/loadBalancers/loadBalancingRules/read''Microsoft.Network/loadBalancers/loadBalancingRules/health/action''Microsoft.Network/loadBalancers/networkInterfaces/read''Microsoft.Network/loadBalancers/outboundRules/read''Microsoft.Network/loadBalancers/virtualMachines/read''Microsoft.Network/loadBalancers/probes/read''Microsoft.Network/loadBalancers/probes/join/action''Microsoft.Network/loadBalancers/providers/Microsoft.Insights/metricDefinitions/read''Microsoft.Network/networkInterfaces/read''Microsoft.Network/networkInterfaces/write''Microsoft.Network/networkInterfaces/join/action''Microsoft.Network/networkInterfaces/delete''Microsoft.Network/networkInterfaces/effectiveRouteTable/action''Microsoft.Network/networkInterfaces/effectiveNetworkSecurityGroups/action''Microsoft.Network/networkInterfaces/ipconfigurations/read''Microsoft.Network/networkInterfaces/loadBalancers/read''Microsoft.Network/networkSecurityGroups/read''Microsoft.Network/networkSecurityGroups/write''Microsoft.Network/networkSecurityGroups/delete''Microsoft.Network/networkSecurityGroups/join/action''Microsoft.Network/virtualNetworks/read''Microsoft.Network/virtualNetworks/joinLoadBalancer/action''Microsoft.Network/virtualNetworks/subnets/read''Microsoft.Network/virtualNetworks/subnets/join/action''Microsoft.Network/virtualNetworks/subnets/joinLoadBalancer/action''Microsoft.Network/ipAllocations/read''Microsoft.Network/publicIPAddresses/read''Microsoft.Storage/storageAccounts/blobServices/containers/read''Microsoft.Storage/storageAccounts/blobServices/containers/write''Microsoft.Storage/storageAccounts/blobServices/containers/delete''Microsoft.ManagedIdentity/userAssignedIdentities/read''Microsoft.ManagedIdentity/userAssignedIdentities/assign/action'
The specific permissions are divided as follows:
-
Virtual Machine permissions:
-
Manage vm instances
'Microsoft.Compute/register/action''Microsoft.Compute/virtualMachines/read''Microsoft.Compute/virtualMachines/write''Microsoft.Compute/virtualMachines/delete''Microsoft.Compute/virtualMachines/start/action''Microsoft.Compute/virtualMachines/powerOff/action''Microsoft.Compute/virtualMachines/redeploy/action''Microsoft.Compute/virtualMachines/restart/action''Microsoft.Compute/virtualMachines/deallocate/action''Microsoft.Compute/virtualMachines/runCommand/action''Microsoft.Compute/virtualMachines/attachDetachDataDisks/action''Microsoft.Compute/virtualMachines/vmSizes/read''Microsoft.Compute/virtualMachines/runCommands/read''Microsoft.Compute/virtualMachines/runCommands/write''Microsoft.Compute/virtualMachines/instanceView/read''Microsoft.Compute/virtualMachines/extensions/read''Microsoft.Compute/locations/diskOperations/read''Microsoft.Compute/disks/read''Microsoft.Compute/disks/write''Microsoft.Compute/disks/delete''Microsoft.Compute/skus/read''Microsoft.Compute/locations/usages/read''Microsoft.Compute/locations/publishers/artifacttypes/offers/skus/read''Microsoft.Compute/locations/publishers/artifacttypes/offers/read''Microsoft.Compute/locations/publishers/artifacttypes/offers/skus/versions/read''Microsoft.Compute/operations/read''Microsoft.Compute/images/read''Microsoft.Compute/locations/operations/read''Microsoft.Compute/locations/vmSizes/read''Microsoft.Compute/locations/runCommands/read'
-
-
Virtual Networks permissions:
-
Read VNet resources
'Microsoft.Network/register/action''Microsoft.Network/operations/read''Microsoft.Network/virtualNetworks/read''Microsoft.Network/virtualNetworks/joinLoadBalancer/action''Microsoft.Network/virtualNetworks/subnets/read''Microsoft.Network/virtualNetworks/subnets/join/action''Microsoft.Network/virtualNetworks/subnets/joinLoadBalancer/action''Microsoft.Network/ipAllocations/read''Microsoft.Network/publicIPAddresses/read' -
Manage network interface and security group resources
'Microsoft.Network/networkInterfaces/read''Microsoft.Network/networkInterfaces/write''Microsoft.Network/networkInterfaces/join/action''Microsoft.Network/networkInterfaces/delete''Microsoft.Network/networkInterfaces/effectiveRouteTable/action''Microsoft.Network/networkInterfaces/effectiveNetworkSecurityGroups/action''Microsoft.Network/networkInterfaces/ipconfigurations/read''Microsoft.Network/networkInterfaces/loadBalancers/read''Microsoft.Network/networkSecurityGroups/read''Microsoft.Network/networkSecurityGroups/write''Microsoft.Network/networkSecurityGroups/delete''Microsoft.Network/networkSecurityGroups/join/action' -
Manage load balancer resources
'Microsoft.Network/loadBalancers/read''Microsoft.Network/loadBalancers/write''Microsoft.Network/loadBalancers/delete''Microsoft.Network/loadBalancers/health/action''Microsoft.Network/loadBalancers/backendAddressPools/queryInboundNatRulePortMapping/action''Microsoft.Network/loadBalancers/backendAddressPools/updateAdminState/action''Microsoft.Network/loadBalancers/backendAddressPools/health/action''Microsoft.Network/loadBalancers/backendAddressPools/read''Microsoft.Network/loadBalancers/backendAddressPools/write''Microsoft.Network/loadBalancers/backendAddressPools/delete''Microsoft.Network/loadBalancers/backendAddressPools/backendPoolAddresses/read''Microsoft.Network/loadBalancers/backendAddressPools/join/action''Microsoft.Network/loadBalancers/providers/Microsoft.Insights/diagnosticSettings/read''Microsoft.Network/loadBalancers/providers/Microsoft.Insights/diagnosticSettings/write''Microsoft.Network/loadBalancers/frontendIPConfigurations/read''Microsoft.Network/loadBalancers/frontendIPConfigurations/join/action''Microsoft.Network/loadBalancers/frontendIPConfigurations/loadBalancerPools/read''Microsoft.Network/loadBalancers/frontendIPConfigurations/loadBalancerPools/write''Microsoft.Network/loadBalancers/frontendIPConfigurations/loadBalancerPools/delete''Microsoft.Network/loadBalancers/loadBalancingRules/read''Microsoft.Network/loadBalancers/loadBalancingRules/health/action''Microsoft.Network/loadBalancers/networkInterfaces/read''Microsoft.Network/loadBalancers/outboundRules/read''Microsoft.Network/loadBalancers/virtualMachines/read''Microsoft.Network/loadBalancers/probes/read''Microsoft.Network/loadBalancers/probes/join/action''Microsoft.Network/loadBalancers/providers/Microsoft.Insights/metricDefinitions/read'
-
-
Storage Account Container Permissions:
-
Manage storage account containers
'Microsoft.Storage/storageAccounts/blobServices/containers/read''Microsoft.Storage/storageAccounts/blobServices/containers/write''Microsoft.Storage/storageAccounts/blobServices/containers/delete'
-
-
IAM permissions:
-
Assign user-assigned managed identity
'Microsoft.ManagedIdentity/userAssignedIdentities/read''Microsoft.ManagedIdentity/userAssignedIdentities/assign/action'
-