Confluence Data Center
Self-managed Confluence Data Center 9.x for existing enterprise knowledge bases and collaborative editing ahead of the 2029 EOL.
Medium — 1,000 to 5,000 active users with dedicated Calls WebRTC rtcd media nodes
Monthly cost
$1,353.60
Annual cost
$16,243/year
| Compute | $1,235.60 |
| Storage | $118.00 |
| Other | $0.00 |
Saves $155.67/mo (12%) across m8g.2xlarge, r8g.2xlarge, c7g.xlarge.
| Role | Instance | vCPU | GB RAM | Storage |
|---|---|---|---|---|
| Application | 2 × m7i.2xlarge | 8 | 32 | 150 GB ssd |
| Database | 1 × r7i.2xlarge | 8 | 64 | 500 GB ssd |
| Calls Rtcd | 2 × c7i.xlarge | 4 | 8 | 50 GB ssd |
| Object Storage | 1 × object-bucket | — | — | 2 TB object |
This sizing fits an enterprise workload ranging from one thousand to five thousand active users with dedicated WebRTC media nodes. The primary cost driver is compute, totaling one thousand two hundred thirty-five dollars and sixty cents monthly across application, database, and calls nodes. High availability is disabled, meaning a single database node failure causes downtime until manual recovery completes in Google Cloud.
Share the current URL or copy the AWS Terraform / OpenTofu baseline.
# Compatible with Terraform >= 1.6 and OpenTofu >= 1.6
terraform {
required_version = ">= 1.6.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
}
}
provider "aws" {
region = "us-east-1"
}
data "aws_availability_zones" "available" {
state = "available"
}
data "aws_ami" "debian_12_x86" {
most_recent = true
owners = ["136693071363"]
filter {
name = "name"
values = ["debian-12-amd64-*"]
}
filter {
name = "virtualization-type"
values = ["hvm"]
}
}
locals {
azs = slice(data.aws_availability_zones.available.names, 0, 3)
}
resource "aws_vpc" "workload" {
cidr_block = "10.42.0.0/16"
enable_dns_hostnames = true
enable_dns_support = true
tags = {
Name = "mattermost-vpc"
}
}
resource "aws_subnet" "workload" {
count = 3
vpc_id = aws_vpc.workload.id
cidr_block = cidrsubnet(aws_vpc.workload.cidr_block, 8, count.index)
availability_zone = local.azs[count.index]
tags = {
Name = "mattermost-subnet-${count.index + 1}"
}
}
# Generated for AWS (us-east-1) from the current estimate state.
resource "aws_instance" "application_1" {
count = 2
ami = data.aws_ami.debian_12_x86.id
instance_type = "m7i.2xlarge"
subnet_id = aws_subnet.workload[count.index % length(aws_subnet.workload)].id
associate_public_ip_address = true
root_block_device {
volume_type = "gp3"
volume_size = 50
encrypted = true
}
tags = {
Name = "mattermost-application-1-${count.index + 1}"
App = "mattermost"
Role = "application"
}
}
resource "aws_ebs_volume" "application_1_data" {
count = 2
availability_zone = local.azs[count.index % length(local.azs)]
size = 150
type = "gp3"
encrypted = true
tags = {
Name = "mattermost-application-1-data-${count.index + 1}"
App = "mattermost"
Role = "application"
}
}
resource "aws_volume_attachment" "application_1_attach" {
count = 2
device_name = "/dev/sdf"
volume_id = aws_ebs_volume.application_1_data[count.index].id
instance_id = aws_instance.application_1[count.index].id
}
resource "aws_instance" "database_2" {
count = 1
ami = data.aws_ami.debian_12_x86.id
instance_type = "r7i.2xlarge"
subnet_id = aws_subnet.workload[count.index % length(aws_subnet.workload)].id
associate_public_ip_address = false
root_block_device {
volume_type = "gp3"
volume_size = 50
encrypted = true
}
tags = {
Name = "mattermost-database-2-${count.index + 1}"
App = "mattermost"
Role = "database"
}
}
resource "aws_ebs_volume" "database_2_data" {
count = 1
availability_zone = local.azs[count.index % length(local.azs)]
size = 500
type = "gp3"
encrypted = true
tags = {
Name = "mattermost-database-2-data-${count.index + 1}"
App = "mattermost"
Role = "database"
}
}
resource "aws_volume_attachment" "database_2_attach" {
count = 1
device_name = "/dev/sdf"
volume_id = aws_ebs_volume.database_2_data[count.index].id
instance_id = aws_instance.database_2[count.index].id
}
resource "aws_instance" "calls_rtcd_3" {
count = 2
ami = data.aws_ami.debian_12_x86.id
instance_type = "c7i.xlarge"
subnet_id = aws_subnet.workload[count.index % length(aws_subnet.workload)].id
associate_public_ip_address = true
root_block_device {
volume_type = "gp3"
volume_size = 50
encrypted = true
}
tags = {
Name = "mattermost-calls-rtcd-3-${count.index + 1}"
App = "mattermost"
Role = "calls-rtcd"
}
}
resource "aws_ebs_volume" "calls_rtcd_3_data" {
count = 2
availability_zone = local.azs[count.index % length(local.azs)]
size = 50
type = "gp3"
encrypted = true
tags = {
Name = "mattermost-calls-rtcd-3-data-${count.index + 1}"
App = "mattermost"
Role = "calls-rtcd"
}
}
resource "aws_volume_attachment" "calls_rtcd_3_attach" {
count = 2
device_name = "/dev/sdf"
volume_id = aws_ebs_volume.calls_rtcd_3_data[count.index].id
instance_id = aws_instance.calls_rtcd_3[count.index].id
}
resource "aws_s3_bucket" "object_storage_4" {
count = 1
bucket_prefix = "mattermost-object-storage-4-"
tags = {
App = "mattermost"
Role = "object-storage"
EstimatedGb = "2000"
}
}
resource "aws_s3_bucket_public_access_block" "object_storage_4_private" {
count = 1
bucket = aws_s3_bucket.object_storage_4[count.index].id
block_public_acls = true
block_public_policy = true
ignore_public_acls = true
restrict_public_buckets = true
}
Reference architecture: Mattermost Enterprise for 5000-users-enterprise, version Mattermost 10.x enterprise scaling & Calls rtcd architecture, retrieved November 11, 2026.
https://docs.mattermost.com/deploy/scaling-for-enterprise.html
Pricing: AWS pricing snapshot, retrieved November 22, 2026.
Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.
Based on Mattermost 10.x Enterprise scaling guidelines for Go app servers, PostgreSQL, Calls `rtcd` services, and object storage attachments.
Estimate excludes Mattermost Enterprise/Professional seat subscriptions, mobile push proxy hosting, and WebRTC UDP egress bandwidth.
Self-managed Confluence Data Center 9.x for existing enterprise knowledge bases and collaborative editing ahead of the 2029 EOL.
Self-managed Consul for service discovery, service mesh control, and network configuration across distributed workloads.
Self-managed Jira Data Center 10.x for existing enterprise issue tracking and service management estates ahead of the 2029 EOL.