Azure¶
This page maps the Sizing Guide onto Azure, for a deployment over two Azure regions, site A in one and site B in the other, behind Cloudflare. The architecture, the tiers and the failover are described in the guide.
Regions and zones¶
- Two regions that have availability zones. Each VM is zonal, in one zone of its region: Premium SSD v2, the disk of PostgreSQL, requires it.
- The Muppy Bootstrap goes in a third region when there is one, otherwise in site B's region (see Where the Muppy Bootstrap goes).
Virtual machines¶
| Tier | LXD App Servers | LXD / K8s Clusters | Each site |
|---|---|---|---|
| XS | up to 20 | up to 5 | Evaluation only: one Standard_D2as_v6 (2 vCPU, 8 GiB), no high availability |
| S | up to 100 | up to 10 | Standard_D4as_v6 (4 vCPU, 16 GiB) |
| M | up to 300 | up to 25 | Standard_D8as_v6 (8 vCPU, 32 GiB) |
| L | up to 800 | up to 60 | Muppy: Standard_D8as_v6 (8 vCPU, 32 GiB)PostgreSQL: Standard_E8as_v6 (8 vCPU, 64 GiB) |
| XL | up to 2,000 | up to 150 | Muppy: Standard_D16as_v6 (16 vCPU, 64 GiB)PostgreSQL: Standard_E16as_v6 (16 vCPU, 128 GiB) |
| Above | more than 2,000 | more than 150 | Contact the oursbl.eu teams |
The Muppy Bootstrap runs on a Standard_D2as_v6 (2 vCPU, 8 GiB) at every tier from S.
The figures are indicative, as in the guide (see Choosing a tier).
- Dasv6 (AMD, 4 GiB per vCPU) runs Muppy; Easv6 (8 GiB per vCPU) runs a PostgreSQL machine of its own. Where a region lacks the AMD series, Dsv6 and Esv6 (Intel) take their place.
- No B series: the constant base load of Muppy drains its CPU credits.
- Every VM runs Ubuntu Server 24.04 LTS.
Disks¶
| Disk | Type | Tier XS | Tier S | Tier M | Tier L | Tier XL |
|---|---|---|---|---|---|---|
| System, per VM | Premium SSD | 64 GiB | 64 GiB | 64 GiB | 64 GiB | 64 GiB |
| PostgreSQL data | Premium SSD v2 | 64 GiB, 3,000 IOPS, 125 MB/s | 128 GiB, 3,000 IOPS, 125 MB/s | 256 GiB, 3,000 IOPS, 125 MB/s | 1 TiB, 5,000 IOPS, 200 MB/s | 2 TiB, 8,000 IOPS, 300 MB/s |
| Muppy container | Premium SSD | 128 GiB | 128 GiB | 128 GiB | 128 GiB | 128 GiB |
The Muppy Bootstrap takes a 64 GiB system disk and a 128 GiB data disk, in Premium SSD.
- Premium SSD v2 includes 3,000 IOPS and 125 MB/s at any size, grows and changes its IOPS online, and cannot be a system disk. Tiers XS, S and M stay within that baseline.
- A disk's IOPS stay within the uncached disk IOPS of the VM size, listed on the size's page: the excess is not served.
- PostgreSQL never lives on the VM's temporary disk, which a redeployment erases.
Network¶
- One VNet per region, with address spaces that do not overlap, joined by global VNet peering: replication and administration stay on Azure's network.
- One static public IP (Standard SKU) per site: Cloudflare's origin.
- Network security groups apply the flows of the guide (see Network). The inbound rule on TCP 443 allows Cloudflare's published IP ranges only.
Load balancer¶
Cloudflare Load Balancing, set up as in the guide (see Load balancer).
Azure Front Door and Azure Traffic Manager judge an origin by its HTTP status code, and the standby site answers 200 like the primary: either one would send users to the standby. Neither serves as Muppy's load balancer.
Backups¶
Azure Blob Storage does not speak the S3 API, which Muppy's backups require. The backups go to an S3-compatible storage, preferably outside both regions.
Costs to plan¶
- Traffic between regions. Azure bills by the GB the traffic that crosses a global VNet peering: here, the replication from site A to site B, about 1 GB a day (see Operations). A small line on the bill.
- Cloudflare Load Balancing, a paid add-on of the Cloudflare account.
Growing¶
Resizing an Azure VM reboots it: resize site B first, fail over, then resize the former primary. A Premium SSD v2 disk grows and changes its IOPS online.
Before deploying on Azure¶
In addition to the guide's list (see Before deploying):
- The two regions, each with availability zones and Premium SSD v2 for the chosen VM sizes.
- A third region for the Bootstrap, or site B's region.
References¶
- Microsoft: Dasv6 series, Easv6 series, Premium SSD v2, Front Door health probes.
- Cloudflare: Load Balancing health monitors.