- You have received an invite link to Predibase (for either the Free Trial or Paid plan).
- Typically an Azure owner role is required to create the service principal and resource group.
There are three main steps to deploy Predibase into your Azure environment:
- Create a resource group in your Azure account
- Create a Service Principal with scoped permissions to the resource group.
- Launch provisioning of the data plane
Creating resources in your Azure account
Click the invite link in your email to create your Predibase user account
Once you’ve created a user account, click on "Azure" and your preferred region on the Select your Cloud page.
Click on "Setup Authorization" button.
Download and install the Azure CLI by following these instructions.
In a terminal window, log into the Azure CLI by running
- Next, find the default subscription ID and store it into a local variable.
# Fetch the subscription ID
export 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.
# View the subscription ID
Paste the subscription ID value into the input form field.
Create a new resource group where Predibase will provision resources
# Set the resource group name
# Create the resource group
az 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.
# Set the permissions scope to be limited to the predibase resource group
# Create the service principal
az ad sp create-for-rbac --name predibase-env-579b93 --role Contributor --scopes $USER_SCOPE > creds.json
# View the credentials 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 Plane
Once 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.
Expected Costs for Trial
There are two types of costs to expect with a VPC trial:
- Base Setup Cost: The estimated base cost for running a VPC 14-day trial in Azure West US 2 is ~$200, which covers the full cost to spin up the dataplane in your environment, including an AKS cluster and Storage Account containers.
- Usage Cost: Compute costs incurred by using CPU or GPU engines in the platform. A rough estimate for 2 weeks is ~$15-30, but exact amount may vary.
Both of these costs will be billed directly via Azure and appear on the Azure Portal.
Increase Azure Quotas
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.
For more info, see this.