Prepare a Cluster
In order to deploy the Hydrolix data platform on Microsoft Azure, you first need to set up a Microsoft Managed Kubernetes Service (AKS) cluster.
Set Environment Variables⚓︎
To begin, set up some environment variables using an env.sh script. Replace the < > values below with your actual values:
Load these environment variables with the following command:
The az commands below depend on these environment variables.
Login to Azure⚓︎
Use this command to open up a browser login window:
Upon success, the az tool will have logged into your account.
Create an Azure Resource Group⚓︎
To contain the Hydrolix-related resources, create a new Resource Group with this command.
Create an Azure Storage Account⚓︎
Create an Azure Storage Container⚓︎
👍 Already Created an Azure Storage Container?
If you've already created an Azure Storage Container for Hydrolix, skip this step.
Hydrolix needs access to an Azure Storage Container for data storage. Run the following command to create a storage container with the Azure CLI:
Create a Kubernetes Cluster⚓︎
Next, you'll deploy a Kubernetes Cluster into the Resource Group. The following command creates a single node pool with the following characteristics:
default-pool
- Count: Autoscaling from 2-10 is a reasonable choice to begin provisioning with.
- Type: The default node type is
Standard_DS2_v2; it is recommended that you provision using at leastStandard_DS4_v2nodes.
This pool provides sufficient node and capacity sizing for a basic load. Note that this command generates new SSH keys if you don't have them on your workstation already.
Ensure that you have the Kubeconfig credentials for this cluster:
Create a Kubernetes Namespace⚓︎
Set your kubectl context to this new namespace: