CloudEstimate

Size Kong Gateway on AWS

Medium — under 10,000 configured entities and up to 10,000 requests per second

Monthly cost

$439.78

Annual cost

$5,277/year

Line-item breakdown

Compute $407.78
Storage $32.00
Other $0.00
Arm64 option (AWS Graviton (C7g/M8g/R8g)) $374.75/mo

Saves $65.03/mo (15%) across c7g.xlarge, m8g.xlarge.

Components provisioned

Role Instance vCPU GB RAM Storage
Gateway 2 × c7i.xlarge 4 8 100 GB ssd
Database 1 × m7i.xlarge 4 16 200 GB ssd

Why this sizing

This medium tier sizing on Google Cloud supports under 10,000 configured entities and up to 10,000 requests per second for Kong Gateway 3.x LTS deployments. The c7i.xlarge compute instances drive the monthly cost at $407.78, out of a total $439.78. High availability is disabled in this configuration, leaving the system vulnerable to downtime during infrastructure failures.

Export

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

Open generic AWS calculator
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 = "kong-gateway-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 = "kong-gateway-subnet-${count.index + 1}"
  }
}

# Generated for AWS (us-east-1) from the current estimate state.
resource "aws_instance" "gateway_1" {
  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 = "kong-gateway-gateway-1-${count.index + 1}"
    App  = "kong-gateway"
    Role = "gateway"
  }
}

resource "aws_ebs_volume" "gateway_1_data" {
  count             = 2
  availability_zone = local.azs[count.index % length(local.azs)]
  size              = 100
  type              = "gp3"
  encrypted         = true

  tags = {
    Name = "kong-gateway-gateway-1-data-${count.index + 1}"
    App  = "kong-gateway"
    Role = "gateway"
  }
}

resource "aws_volume_attachment" "gateway_1_attach" {
  count       = 2
  device_name = "/dev/sdf"
  volume_id   = aws_ebs_volume.gateway_1_data[count.index].id
  instance_id = aws_instance.gateway_1[count.index].id
}

resource "aws_instance" "database_2" {
  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 = false

  root_block_device {
    volume_type = "gp3"
    volume_size = 50
    encrypted   = true
  }

  tags = {
    Name = "kong-gateway-database-2-${count.index + 1}"
    App  = "kong-gateway"
    Role = "database"
  }
}

resource "aws_ebs_volume" "database_2_data" {
  count             = 1
  availability_zone = local.azs[count.index % length(local.azs)]
  size              = 200
  type              = "gp3"
  encrypted         = true

  tags = {
    Name = "kong-gateway-database-2-data-${count.index + 1}"
    App  = "kong-gateway"
    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
}

Related views

Sources

Reference architecture: Kong Gateway for medium, version Kong Gateway 3.x LTS resource sizing guidelines, retrieved November 11, 2026.

https://developer.konghq.com/gateway/resource-sizing-guidelines/

Pricing: AWS 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 Kong Gateway 3.x LTS resource sizing guidelines paired with a conservative self-managed PostgreSQL control-plane store.

Estimate excludes Kong Enterprise / Konnect licensing, Redis rate-limiting clusters, Developer Portal hosts, and L7 data-processing charges.

Related workloads on AWS