Preparing your Azure account
EDB Postgres AI Cloud Service requires you to check the readiness of your Azure subscription before you deploy your clusters. The checks that you perform ensure that your Azure subscription is prepared to meet your clusters' requirements and resource limits, such as:
- Are the necessary Azure resource providers registered for your subscription?
- Is there a restriction on SKUs for the standard Esv3 family and standard D2_v4 VM size?
- Is there a sufficient limit on the number of vCPU or public IP addresses in your region?
Prerequisites
When preparing your Azure account, make sure that you're assigned either the Global Administrator role or the Privileged Role Administrator role in Azure AD and that you have the Owner role for your EDB Postgres AI Cloud Service Azure subscription.
Before proceeding, see Understanding requirements in Azure for details on planning for your clusters' requirements and resource limits in Azure.
Check for readiness
We recommend using the biganimal-csp-preflight
script to check whether all requirements and resource limits are met in your subscription. However, you can also manually check the requirements using the Azure CLI or the Azure Portal.
Method 1: Use EDB's shell script
EDB provides a shell script, called biganimal-csp-preflight
, which checks whether requirements and resource limits are met in your Azure subscription based on the clusters you plan to deploy.
Open the Azure Cloud Shell in your browser.
From the Azure Cloud Shell, run the following command:
The required arguments are:
Argument Description <target-subscription> Azure subscription ID of your Cloud Service deployment. <region> Azure region where your clusters are being deployed. See Supported regions for a list of possible regions. Possible options are:
Options Description -h
or--help
Displays the command help. -i
or--instance-type
Azure VM instance type for the Cloud Service cluster. The help
command provides a list of possible VM instance types. Choose the instance type that best suits your application and workload. Choose an instance type in the memory optimized ESv3 or ESv4 series for large data sets. Choose from the compute optimized FSv2 series for compute-bound applications. Choose from the general purpose DSv3 or DSv4 series if you don't require memory or compute optimization. See Sizes for virtual machines in Azure for information to help you choose the appropriate instance type.-a
or--high-availability
DEPRECATED - Enables high availability for the cluster. Replaced with -x
or--cluster-architecture
command.-x
or--cluster-architecture
Defines the cluster architecture and can be single
,ha
, oreha
. See Supported cluster types for more information.-n
or--networking
Type of network endpoint for the Cloud Service cluster, either public
orprivate
. See Cluster networking architecture for more information.-r
or--activate-region
Specifies region activation if no clusters currently exist in the region. --onboard
Checks if the user and subscription are correctly configured. The behavior of the script defaults to
--onboard
if you provide no other options.For example, if you want to deploy a cluster in an Azure subscription having an ID of
12412ab3d-1515-2217-96f5-0338184fcc04
, with an instance type ofe2s_v3
, in theeastus2
region, in apublic
network, and with no existing cluster deployed, run the following command:
The script displays the following output:
A list of required Azure resource providers and their registration status. Ensure that you register the resource providers that are displayed as
NotRegistered
in theRegistrationState
column. See Register Azure resource providers.Whether your Azure subscription restricts vCPUs for the
Standard_D2_v4
andStandard_E2s_v3
VM size families in your region (and availability zone, if HA is enabled). Open a support request to remove SKU restrictions for the VM families withNotAvailableForSubscription
displayed in theRestrictions
column. See Fix issues with SKU restrictions.Whether your Azure subscription has sufficient limits on vCPUs and IP addresses for your region. Open a support request to raise limits for the vCPUs and IP addresses if they exceed the available VM families with
NotAvailableForSubscription
displayed in theRestrictions
column. See Increase Public IP addresses and Increase vCPU limits.
Method 2: Manually check readiness
You can manually check the requirements instead of using the biganimal-csp-preflight
script.
Check Azure resource provider registrations using Azure Cloud Shell
To check if an Azure resource provider is registered, use the following command.
Check for SKU restrictions for the specific VM size
You can check SKU restrictions for the VM size using the Azure Cloud Shell. For example, to check the Standard_E2s_v3 VM SKU restriction in eastus2
location for all zones, run the following command:
Alternatively, to check for SKU restrictions using the Azure Portal, see Solution 3 - Azure portal.
Check the resource limits for vCPUs and public IP addresses for your region
To check if you have adequate Azure resources to provision new clusters:
- In the Azure Portal, select Subscription.
- Select your specific subscription.
- Select Usage + quotas in the Settings section.
- Search for
Total Regional vCPUs
and select the Location to check the regional vCPUs limits. - Search for
Dv4
andEsv3
to view virtual machine limits. - Search for Public IP addresses to view network limits.
Configure your Azure subscription
After checking whether the requirements and resource limits are met, configure your Azure subscription.
Note
Before proceeding, see Understanding requirements in Azure for details on planning for your clusters' requirements and resource limits in Azure.
Register Azure resource providers
To register resource providers using the Azure Portal:
- In the Azure Portal, select Subscription.
- Select your specific subscription.
- In the navigation panel Settings group, select Resource providers.
- Review the status of the required providers. To register a provider, select the provider and, on the top menu, select Register.
To register resource providers using the Azure CLI, use the register command. For example:
Fix issues with SKU restrictions
Open a support request to remove SKU restrictions in a particular region.
Increase public IP addresses limits
Increase the limit of Public IP Addresses - Basic
and Public IP Addresses - Standard
for the regions where you plan to deploy your clusters with the total number of clusters you plan to use.
You can increase the number of public IP addresses for your account either by using the Azure portal or by submitting a support request. See:
Request networking quota increase at subscription level using Usages + quotas
Request Networking quota increase at subscription level using Help + support
Increase vCPU limits
You can increase the number of Dv4 or Esv3 family virtual machines per region by using the Azure Portal or by submitting a support request. See:
Could this page be better? Report a problem or suggest an addition!