Vagrant can be used to create an isolated environment for Kong and its dependencies.

You can use the Vagrant box either as an all-in-one Kong installation for testing purposes, or you can link it up with source code and start developing on Kong or on custom plugins.

Here is a quick example showing how to build a (disposable) test setup:

Starting the Environment:

  1. Get the Vagrantfile and start it:

    $ git clone
    $ cd kong-vagrant/
    $ vagrant up
  2. Start Kong:

    $ vagrant ssh -c "kong start"

    The host ports 8000, 8001, 8443, and 8444 will be forwarded to the Vagrant box.

    Note: Check out the kong-vagrant repository for further details on customizations and development.
  3. Kong is running:

    $ curl
  4. Start using Kong:

    Quickly learn how to use Kong with the 5-minute Quickstart.

Having Trouble? We're Here to Help!

Keep up with the latest features