In a terminal window, log into the Azure CLI by running:
Copy
Ask AI
az login
Next, find the default subscription ID and store it into a local variable:
Copy
Ask AI
# Fetch the subscription IDexport AZ_SUBSCRIPTION_ID="$(az account list --query "[?isDefault].id" -o tsv)"#NOTE: If you'd like to use a different subscription ID, uncomment the line below and export that ID instead.#export AZ_SUBSCRIPTION_ID="YOUR_ID"# View the subscription IDecho $AZ_SUBSCRIPTION_ID
Paste the subscription ID value into the input form field.
Create a new resource group where Predibase will provision resources:
Copy
Ask AI
# Set the resource group nameexport RESOURCE_GROUP_NAME="predibase-env-579b93"# Create the resource groupaz group create --name $RESOURCE_GROUP_NAME --location westus2 --subscription $AZ_SUBSCRIPTION_ID
If you would like to use an existing resource group, export the env
variable with that value instead
Paste the Resource Group name (if changed) into the input form field.
Create a new service principal with scoped access to the newly created
resource group:
Copy
Ask AI
# Set the permissions scope to be limited to the predibase resource groupexport USER_SCOPE="/subscriptions/$AZ_SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP_NAME"# Create the service principalaz ad sp create-for-rbac --name predibase-env-579b93 --role Contributor --scopes $USER_SCOPE > creds.json# View the credentials JSONcat creds.json
Paste the “appId”, “password”, and “tenant” value from the JSON output into
the input form fields.
Click “Validate Azure Credentials”, and proceed with provisioning if
everything looks correct.
Launch Provisioning of the Data PlaneOnce you’ve confirmed the Service Principal credentials, Predibase will
automatically begin to deploy the Predibase dataplane in your environment.Feel free to navigate away while this provisioning process is in progress. On
average, it takes around 20-30 minutes but exact times can vary. We’ll send you
an email with the login link once the provisioning process is complete.
DO NOT DELETE the service principal after your environment has finished provisioning.Deprovision your environment first to avoid incurring
unwanted costs.
There are two types of costs to expect with a VPC environment:
Base Setup Cost: The estimated base cost for running a VPC in Azure West
US 2 is around $300/month, which covers the full cost to spin up the dataplane
in your environment, including an AKS cluster and Storage Account containers.
Compute Usage Cost: Compute costs incurred by using CPU or GPU engines in
the platform. Please contact us to get a quote.
Both of these costs will be billed directly via Azure and appear on the
Azure Portal.
Since the compute will run in your Azure account, you will need to ensure that
your Azure quotas are sufficient to run the Predibase Controlplane.Based on your requirements, an increase may be necessary if you require more
GPUs for large training jobs.Learn more about increasing VM-family vCPU quotas