CloudEstimate

Size Sonatype Nexus Repository on Azure

Medium — up to 900 requests per second

Monthly cost

$1,381.24

Annual cost

$16,575/year

Line-item breakdown

Compute $1,268.74
Storage $112.50
Other $0.00

Components provisioned

Role Instance vCPU GB RAM Storage
Repository 3 × Standard_D8s_v6 8 32 500 GB ssd
Database 1 × Standard_E8s_v6 8 64 —

Why this sizing

This Medium tier configuration supports workloads up to 900 requests per second for Sonatype Nexus Repository without high availability. Compute is the primary cost driver at $1268.74 per month, utilizing Standard_D8s_v6 and Standard_E8s_v6 instances. Running three repository nodes alongside a dedicated database node ensures consistent performance for artifact management. Because high availability is disabled, administrators must plan for downtime during instance updates and infrastructure maintenance.

Export

Share the current URL or copy the Azure Terraform / OpenTofu baseline.

Open generic Azure calculator
Azure Terraform / OpenTofu baseline
# Compatible with Terraform >= 1.6 and OpenTofu >= 1.6
terraform {
  required_version = ">= 1.6.0"

  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = "~> 4.0"
    }
  }
}

variable "ssh_public_key" {
  description = "SSH public key installed on Linux virtual machines."
  type        = string
  default     = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG5vplaceholderreplacebeforeapply00000000000 azureuser@example"
}

provider "azurerm" {
  features {}
}

resource "azurerm_resource_group" "workload" {
  name     = "nexus-repository-westus3-rg"
  location = "westus3"
}

resource "azurerm_virtual_network" "workload" {
  name                = "nexus-repository-vnet"
  address_space       = ["10.42.0.0/16"]
  location            = azurerm_resource_group.workload.location
  resource_group_name = azurerm_resource_group.workload.name
}

resource "azurerm_subnet" "workload" {
  name                 = "workload-internal"
  resource_group_name  = azurerm_resource_group.workload.name
  virtual_network_name = azurerm_virtual_network.workload.name
  address_prefixes     = ["10.42.1.0/24"]
}

# Generated for Azure (westus3) from the current estimate state.
resource "azurerm_network_interface" "repository_1_nic" {
  count               = 3
  name                = "nexus-repository-repository-1-nic-${count.index + 1}"
  location            = azurerm_resource_group.workload.location
  resource_group_name = azurerm_resource_group.workload.name

  ip_configuration {
    name                          = "internal"
    subnet_id                     = azurerm_subnet.workload.id
    private_ip_address_allocation = "Dynamic"
  }
}

resource "azurerm_linux_virtual_machine" "repository_1" {
  count                 = 3
  name                  = "nexus-repository-repository-1-${count.index + 1}"
  location              = azurerm_resource_group.workload.location
  resource_group_name   = azurerm_resource_group.workload.name
  size                  = "Standard_D8s_v6"
  zone                  = tostring((count.index % 3) + 1)
  admin_username        = "azureuser"
  network_interface_ids = [azurerm_network_interface.repository_1_nic[count.index].id]

  admin_ssh_key {
    username   = "azureuser"
    public_key = var.ssh_public_key
  }

  os_disk {
    caching              = "ReadWrite"
    storage_account_type = "StandardSSD_LRS"
    disk_size_gb         = 50
  }

  source_image_reference {
    publisher = "Debian"
    offer     = "debian-12"
    sku       = "12-gen2"
    version   = "latest"
  }

  tags = {
    app  = "nexus-repository"
    role = "repository"
  }
}

resource "azurerm_managed_disk" "repository_1_data" {
  count                = 3
  name                 = "nexus-repository-repository-1-data-${count.index + 1}"
  location             = azurerm_resource_group.workload.location
  resource_group_name  = azurerm_resource_group.workload.name
  storage_account_type = "StandardSSD_LRS"
  create_option        = "Empty"
  disk_size_gb         = 500
  zone                 = tostring((count.index % 3) + 1)
}

resource "azurerm_virtual_machine_data_disk_attachment" "repository_1_attach" {
  count              = 3
  managed_disk_id    = azurerm_managed_disk.repository_1_data[count.index].id
  virtual_machine_id = azurerm_linux_virtual_machine.repository_1[count.index].id
  lun                = 0
  caching            = "None"
}

resource "azurerm_network_interface" "database_2_nic" {
  count               = 1
  name                = "nexus-repository-database-2-nic-${count.index + 1}"
  location            = azurerm_resource_group.workload.location
  resource_group_name = azurerm_resource_group.workload.name

  ip_configuration {
    name                          = "internal"
    subnet_id                     = azurerm_subnet.workload.id
    private_ip_address_allocation = "Dynamic"
  }
}

resource "azurerm_linux_virtual_machine" "database_2" {
  count                 = 1
  name                  = "nexus-repository-database-2-${count.index + 1}"
  location              = azurerm_resource_group.workload.location
  resource_group_name   = azurerm_resource_group.workload.name
  size                  = "Standard_E8s_v6"
  zone                  = tostring((count.index % 3) + 1)
  admin_username        = "azureuser"
  network_interface_ids = [azurerm_network_interface.database_2_nic[count.index].id]

  admin_ssh_key {
    username   = "azureuser"
    public_key = var.ssh_public_key
  }

  os_disk {
    caching              = "ReadWrite"
    storage_account_type = "StandardSSD_LRS"
    disk_size_gb         = 50
  }

  source_image_reference {
    publisher = "Debian"
    offer     = "debian-12"
    sku       = "12-gen2"
    version   = "latest"
  }

  tags = {
    app  = "nexus-repository"
    role = "database"
  }
}

Related views

Sources

Reference architecture: Sonatype Nexus Repository for m, version 3.78+ / cloud-native AWS ref archs updated 2026-04-07, retrieved April 13, 2026.

https://help.sonatype.com/en/sonatype-nexus-repository-reference-architectures.html

Pricing: Azure pricing snapshot, retrieved November 29, 2026.

Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.

Not included in this estimate

  • Vendor licensing and support
  • Professional services
  • Network egress
  • Compliance controls
  • Backup storage
  • Monitoring

Based on Sonatype Nexus Repository reference architectures and translated into VM-style planning inputs for multi-cloud estimation.

Estimate excludes external object storage capacity, backup infrastructure, and multi-region disaster recovery.

Related workloads on Azure