How to install Bumblebee on Digital Ocean

    Argenis Leon
    Jan 21 · 2 min read

    These are the minimal steps to run Bumblebee on your server or laptop. If you want more indeed information about how Bumblebee can help you to clean and prepare big data visit hi-bumblebee.com

    Create a New Ubuntu Server on Digitalocean

    We recommend a create a droplet with at least 2GB of RAM and 2 vCPUs.

    We need to run 3 process at the sametime. The Jupyter Kernel Gateway, the Bumblebee API and the Bumblebee Front-End. For this we are going to use byobu a multi window terminal manager. After connecting via ssh in your terminal and run


    Then install Anaconda

    curl -O https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
    bash Anaconda3-2019.10-Linux-x86_64.sh

    Downloads the package lists from the repositories

    sudo apt-get update

    Install pip3

    sudo apt-get -y install python3-pip

    Install Java Runtime Environment

    sudo apt-get install openjdk-8-jdk

    Install Spark & Optimus

    pip3 install optimuspyspark

    Now create bumblebee.ini

    sudo nano bumblebee.ini

    And add this info

    appurl = http://localhost:3000
    apiurl = http://localhost:5000
    session = default
    key = hpmLDC4KO7hrtceEfn0KJMKaey1ZZlflNIYhS-7YU54=

    Press Ctrl + X and press y to save and exit

    Install Node.Js 10.x

    cd ~
    curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
    sudo bash nodesource_setup.sh
    sudo apt install nodejs

    Install and Run the jupyter kernel gateway

    Install the Jupyter Kernel Gateway

    pip3 install jupyter_kernel_gateway

    start the gateway

    jupyter kernelgateway --ip= --JupyterWebsocketPersonality.list_kernels=True

    Install and Run the Bumblebee Front-End

    Jump to another terminal press F2 to create a new terminal in Byobu

    git clone https://github.com/ironmussa/Bumblebee.git
    cd Bumblebee
    npm install

    And create the .env file

    nano .env

    Then add


    Be sure to change <IP> for you external server ip address

    Press Ctrl + X and press y to save and exit

    npm run build
    npm run start

    Install the Run the Bumblebee API

    Jump to another terminal press F2 to create a new terminal in Byobu

    cd Bumblebee/api
    npm install
    npm run start

    You are ready to test Bumblebee

    In your browser go to http://<IP>:3000?kernel=1 (<IP> is your external ip address) and you should get something like this

    Get the credentials you create in bumblebee.ini and put them in this window.

    Now you are ready to use Bumblebee 🚕. Check the video bellow to see some of the main features.

    Wrap up

    Hope you can really enjoy Bumblebee if you need any help please go to the forums.

    Also remember that Bumblebee is open source. If want to contribute take a look at the github repo https://github.com/ironmussa/bumblebee.

    Argenis Leon

    Written by

    Entrepreneur, living at the intersection of AI and Advertisement.



    Bumblebee is the easiest and powerful tool to clean, transform, and prepare Big Data for Machine Learning and Analytics.

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade