How to Provision Vultr Managed Apache Kafka®

Updated on 10 September, 2025

A guide explaining how to set up and deploy Vultr Managed Apache Kafka® instances for your applications


Vultr Managed Apache Kafka® is a highly available, scalable, and fully managed data streaming platform that simplifies real-time data processing. Apache Kafka® is designed to handle high-throughput data streams, making it ideal for applications involving AI, machine learning, IoT, and microservices. With native cloud integration, Vultr Managed Apache Kafka® seamlessly connects to various data sources and consumers, enabling businesses to build powerful, modern data architectures.

Follow this guide to provision Vultr Managed Apache Kafka® using the Vultr Customer Portal, API, CLI, or Terraform.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  • Terraform
  1. Navigate to Products and select Databases.
  2. Click Add Managed Database.
  3. Choose Apache Kafka® as the database engine.
  4. Select the Server Type, Plan, and Brokers.
  5. Choose a server location.
  6. Select a VPC Network.
  7. Enter a label.
  8. Review the monthly and hourly cost estimates, and click Deploy Now.
  1. Send a GET request to the List Managed Database Plans endpoint to view all available plans.

    console
    $ curl "https://api.vultr.com/v2/databases/plans" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a POST request to the Create Database endpoint to create a new database.

    console
    $ curl "https://api.vultr.com/v2/databases" \
        -X POST \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{
            "database_engine" : "kafka",
            "database_engine_version" : "3.7",
            "plan" : "vultr-dbaas-startup-3x-occ-so-2-30-2",
            "region" : "atl",        
            "label" : "remote-apache-kafka"
        }'
    

    Visit the Create Database endpoint to view additional attributes to add to your request.

  3. Send a GET request to the List Managed Databases endpoint to list all databases.

    console
    $ curl "https://api.vultr.com/v2/databases" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json"
    
  1. List the available database plans.

    console
    $ vultr-cli database plan list
    
  2. Create a new Vultr Managed Apache Kafka® database.

    console
    $ vultr-cli database create --database-engine="kafka" --database-engine-version="3.7" --region="atl"  --plan="vultr-dbaas-startup-3x-occ-so-2-30-2" --label="remote-apache-kafka"
    
  3. List all databases.

    console
    $ vultr-cli database list
    

    Run vultr-cli database create --help to view all options.

  1. Ensure the Vultr Terraform provider is configured in your Terraform project.

  2. Define the Managed Apache Kafka® database in your Terraform configuration file.

    terraform
    terraform {
        required_providers {
            vultr = {
                source  = "vultr/vultr"
                version = "~> 2.26"
            }
        }
    }
    
    provider "vultr" {}
    
    resource "vultr_database" "kafka" {
        database_engine         = "kafka"
        database_engine_version = "3.7"
        region                  = "atl"  # e.g., ewr, ams, sgp, atl
        plan                    = "vultr-dbaas-startup-3x-occ-so-2-30-2"
        label                   = "kafka-cluster-1"
    
        # Optional
        # vpc_id      = "<vpc-id>"
        # trusted_ips = ["192.0.2.1", "192.0.2.2"]
    }
    
    output "kafka_host" { value = vultr_database.kafka.host }
    output "kafka_port" { value = vultr_database.kafka.port }
    
  3. Apply the configuration and observe the following output:

    Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Comments

No comments yet.