Redpanda Self-Managed
Self-managed Redpanda for Kafka-compatible event streaming, durable logs, and high-throughput messaging pipelines.
Medium — 50 to 150 MB/s ingress or larger retained topic footprints
Monthly cost
$4,736.86
Annual cost
$56,842/year
| Compute | $3,384.86 |
| Storage | $1,352.00 |
| Other | $0.00 |
Saves $370.72/mo (8%) across m8g.4xlarge, m8g.xlarge, m8g.large.
| Role | Instance | vCPU | GB RAM | Storage |
|---|---|---|---|---|
| Broker | 4 × m7i.4xlarge | 16 | 64 | 4 TB ssd |
| Kraft Controller | 3 × m7i.xlarge | 4 | 16 | 100 GB ssd |
| Connect | 2 × m7i.xlarge | 4 | 16 | 100 GB ssd |
| Schema Registry | 2 × m7i.large | 2 | 8 | 50 GB ssd |
| Control Center | 1 × m7i.xlarge | 4 | 16 | 300 GB ssd |
This AWS sizing configuration supports workloads processing 50 to 150 MB/s ingress with larger retained topic footprints for Confluent Platform 8.x architectures. Compute is the primary cost driver at this tier, totaling $3384.86 per month across nine provisioned instances. The deployment utilizes four m7i.4xlarge instances exclusively for Kafka brokers to handle high throughput demands. Operators must manage four distinct instance profiles while maintaining isolated KRaft controller nodes for cluster metadata.
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 = "apache-kafka-confluent-platform-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 = "apache-kafka-confluent-platform-subnet-${count.index + 1}"
}
}
# Generated for AWS (us-east-1) from the current estimate state.
resource "aws_instance" "broker_1" {
count = 4
ami = data.aws_ami.debian_12_x86.id
instance_type = "m7i.4xlarge"
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 = "apache-kafka-confluent-platform-broker-1-${count.index + 1}"
App = "apache-kafka-confluent-platform"
Role = "broker"
}
}
resource "aws_ebs_volume" "broker_1_data" {
count = 4
availability_zone = local.azs[count.index % length(local.azs)]
size = 4000
type = "gp3"
encrypted = true
tags = {
Name = "apache-kafka-confluent-platform-broker-1-data-${count.index + 1}"
App = "apache-kafka-confluent-platform"
Role = "broker"
}
}
resource "aws_volume_attachment" "broker_1_attach" {
count = 4
device_name = "/dev/sdf"
volume_id = aws_ebs_volume.broker_1_data[count.index].id
instance_id = aws_instance.broker_1[count.index].id
}
resource "aws_instance" "kraft_controller_2" {
count = 3
ami = data.aws_ami.debian_12_x86.id
instance_type = "m7i.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 = "apache-kafka-confluent-platform-kraft-cont-${count.index + 1}"
App = "apache-kafka-confluent-platform"
Role = "kraft-controller"
}
}
resource "aws_ebs_volume" "kraft_controller_2_data" {
count = 3
availability_zone = local.azs[count.index % length(local.azs)]
size = 100
type = "gp3"
encrypted = true
tags = {
Name = "apache-kafka-confluent-platform-kraft-cont-data-${count.index + 1}"
App = "apache-kafka-confluent-platform"
Role = "kraft-controller"
}
}
resource "aws_volume_attachment" "kraft_controller_2_attach" {
count = 3
device_name = "/dev/sdf"
volume_id = aws_ebs_volume.kraft_controller_2_data[count.index].id
instance_id = aws_instance.kraft_controller_2[count.index].id
}
resource "aws_instance" "connect_3" {
count = 2
ami = data.aws_ami.debian_12_x86.id
instance_type = "m7i.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 = "apache-kafka-confluent-platform-connect-3-${count.index + 1}"
App = "apache-kafka-confluent-platform"
Role = "connect"
}
}
resource "aws_ebs_volume" "connect_3_data" {
count = 2
availability_zone = local.azs[count.index % length(local.azs)]
size = 100
type = "gp3"
encrypted = true
tags = {
Name = "apache-kafka-confluent-platform-connect-3-data-${count.index + 1}"
App = "apache-kafka-confluent-platform"
Role = "connect"
}
}
resource "aws_volume_attachment" "connect_3_attach" {
count = 2
device_name = "/dev/sdf"
volume_id = aws_ebs_volume.connect_3_data[count.index].id
instance_id = aws_instance.connect_3[count.index].id
}
resource "aws_instance" "schema_registry_4" {
count = 2
ami = data.aws_ami.debian_12_x86.id
instance_type = "m7i.large"
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 = "apache-kafka-confluent-platform-schema-reg-${count.index + 1}"
App = "apache-kafka-confluent-platform"
Role = "schema-registry"
}
}
resource "aws_ebs_volume" "schema_registry_4_data" {
count = 2
availability_zone = local.azs[count.index % length(local.azs)]
size = 50
type = "gp3"
encrypted = true
tags = {
Name = "apache-kafka-confluent-platform-schema-reg-data-${count.index + 1}"
App = "apache-kafka-confluent-platform"
Role = "schema-registry"
}
}
resource "aws_volume_attachment" "schema_registry_4_attach" {
count = 2
device_name = "/dev/sdf"
volume_id = aws_ebs_volume.schema_registry_4_data[count.index].id
instance_id = aws_instance.schema_registry_4[count.index].id
}
resource "aws_instance" "control_center_5" {
count = 1
ami = data.aws_ami.debian_12_x86.id
instance_type = "m7i.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 = "apache-kafka-confluent-platform-control-ce-${count.index + 1}"
App = "apache-kafka-confluent-platform"
Role = "control-center"
}
}
resource "aws_ebs_volume" "control_center_5_data" {
count = 1
availability_zone = local.azs[count.index % length(local.azs)]
size = 300
type = "gp3"
encrypted = true
tags = {
Name = "apache-kafka-confluent-platform-control-ce-data-${count.index + 1}"
App = "apache-kafka-confluent-platform"
Role = "control-center"
}
}
resource "aws_volume_attachment" "control_center_5_attach" {
count = 1
device_name = "/dev/sdf"
volume_id = aws_ebs_volume.control_center_5_data[count.index].id
instance_id = aws_instance.control_center_5[count.index].id
}
Reference architecture: Apache Kafka via Confluent Platform for regional-cluster, version Confluent Platform 8.x (Apache Kafka 4.x KRaft-only), retrieved November 11, 2026.
https://docs.confluent.io/platform/current/kafka/deployment.html
Pricing: AWS pricing snapshot, retrieved November 29, 2026.
Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.
Based on Confluent Platform 8.x self-managed production deployment guidance normalized to cloud VM shapes.
Estimate excludes Confluent Enterprise licensing, Apache Flink compute pools, Tiered Storage bucket capacity, and cross-AZ replication traffic charges.
Self-managed Redpanda for Kafka-compatible event streaming, durable logs, and high-throughput messaging pipelines.
Self-managed ClickHouse columnar OLAP and observability analytics cluster with ClickHouse Keeper coordination.
Self-hosted CockroachDB v26.x for resilient distributed SQL workloads needing serializable transactions and multi-zone survivability.