How to Provision Vultr Managed Database for Valkey

Updated on January 3, 2025

Vultr Managed Database for Valkey is a highly-available Redis®-compatible in-memory database with flexible data structures. You can use the NoSQL database as a cache, streaming engine, and message broker. You can provision a CPU or memory-optimized database cluster around the globe in any Vultr location. Vultr Managed Database for Valkey support trusted sources and SSL certificates for security.

Follow this guide to provision Vultr Managed Database for Valkey using the Vultr Customer Portal, API, and CLI.

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

  2. Click Add Managed Database.

    Add Managed Database

  3. Choose Vultr Managed Database for Valkey as the database engine.

  4. Select the Server Type, Plan, and Number of Replica Nodes.

    Select the Server Type

  5. Choose a server location.

    Choose a Server Location

  6. Select a VPC Network.

    Select a VPC Network

  7. Enter a database label, review the monthly and hourly cost estimates, and click Deploy Now.

    Enter a Database Label

  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 instance.

    console
    $ curl "https://api.vultr.com/v2/databases" \
        -X POST \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{
            "database_engine" : "redis",
            "database_engine_version" : "7",
            "plan" : "vultr-dbaas-startup-occ-mo-2-26-16",
            "region" : "jnb",        
            "label" : "Remote-Caching-Db"
        }'
    

    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 database instances.

    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 database instance.

    console
    $ vultr-cli database create \
    --database-engine redis \
    --database-engine-version 7 \
    --plan vultr-dbaas-startup-occ-mo-2-26-16 \
    --region jnb \
    --vpc-id 24ab6b57-845b-4354-a243-9bcafb4bd505 \
    --label Remote-Caching-Db
    
  3. List all database instances.

    console
    $ vultr-cli database list --summarize
    

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