How to Provision Vultr Managed Apache Kafka®

Updated on November 27, 2024

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, and CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products and select Databases.

    Database selection products menu

  2. Click Add Managed Database.

    Button to add managed databases

  3. Choose Apache Kafka® as the database engine.

    Choose Apache Kafka® as the engine

  4. Select the Server Type, Plan, and Brokers.

    Select a subscription plan

  5. Choose a server location.

    Select a server location

  6. Select a VPC Network.

    Select a VPC network

  7. Enter a label.

    Enter a label for the service

  8. Review the monthly and hourly cost estimates, and click Deploy Now.

    Deploy the service

  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.