Azure-WEKA deployment Terraform package description

The Azure-WEKA deployment Terraform package contains customizable modules for deploying the WEKA cluster on Azure. The default protocol deployed using the module is POSIX. The module supports the following deployment types:

  • Public cloud deployments: Require passing the token to Terraform for downloading the WEKA release from the public service. The following examples are provided:

    • Public network.

    • Public network with existing object store.

  • Private cloud deployments: Require uploading the WEKA release tar file into an Azure blob container from which the virtual machines can download the WEKA release. The following examples are provided:

    • Existing private network.

    • Existing private network with peering.

WEKA deployment on Azure only supports Ethernet networking.

Terraform-Azure-WEKA example

The following is a basic example in which you provide the minimum detail of your cluster, and the Terraform module completes the remaining required resources, such as VPC, subnets, security group, placement group, DNS zone, and IAM roles.

You can use this example as a reference to create the file.

provider "azurerm" {
  subscription_id = var.subscription_id
  partner_id      = "f13589d1-f10d-4c3b-ae42-3b1a8337eaf1"
  features {

terraform {
  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = "~> 3.75.0"
  required_version = ">= 1.3.7"

variable "get_weka_io_token" {}

variable "subscription_id" {}

module "weka_deployment" {
  source                         = "weka/weka/azure"
  version                         = ""
  prefix                         = "my_prefix"
  rg_name                        = "example"


  get_weka_io_token              = var.get_weka_io_token
  subscription_id                = var.subscription_id
  cluster_name                   = "my_cluster_name"
  tiering_enable_obs_integration = true
  cluster_size                   = 6
  allow_ssh_cidrs                = [""]
  allow_weka_api_cidrs           = [""]


output "weka_deployment_output" {
  value = module.weka_deployment

For the descriptions of the parameters, refer to the Azure-WEKA deployment Terraform package.

Last updated