Deployment Options
You can deploy Databunker Pro using one of the following methods:
- Docker Compose
- Kubernetes
Prerequisites
- Docker and Docker Compose (for Docker deployment)
- Kubernetes or Openshift cluster (for Kubernetes deployment)
generate-env-files.sh
script (optional, for generating initial credentials and keys)
Deploy Databunker Pro via Docker Compose
1. Prepare Environment
If you want to generate initial database access credentials, SSL keys, and a wrapping key, run the provided generate-env-files.sh
script:
|
|
2. Deploy Databunker Pro
- Deploy project containers using the sample
docker-compose.yml
file - Run the following command:
|
|
Deploy Databunker Pro via Kubernetes
- Deploy project using the sample YAML file
- Run the following command:
|
|
Note: Start with one pod initially. After completing the setup, you can scale to more pods.
Initial Setup
- Once the databunkerpro container is started, check the service logs to find the Access Code.
- Open the Databunker Pro setup page in your web browser.
- You will see the following screen:
- Enter the Access Code found in the service logs.
- Upon successful check, the service will generate encryption and access keys, and create the database.
- You will then see the completion page:
- Make sure to securely store the Root Access Token, Wrapping Key, and Shamir Key Shares.
- Click the Start Databunker Pro button to start the Databunker Pro service.
Post-Installation
After completing the setup, you can now use the Root Access Token with the API to save or retrieve data.
Security Notes
- Databunker Pro uses an internal Master Key to encrypt the data. This key is automatically generated and never revealed.
- The Wrapping Key is used to encrypt the internal Master Key, adding an extra layer of security.
- Regularly rotate the Wrapping Key to enhance security.
- In case of a lost or compromised Wrapping Key, you can use any 3 out of 5 Shamir Key Shares to generate a new one.
Scaling (Kubernetes)
Once the Databunker Pro is installed and configured in Kubernetes, you can now scale to more replicas:
|
|
Adjust the number of replicas as needed for your use case.
For any additional assistance or questions, please refer to the Databunker Pro documentation or contact the support team.
π Hello from the Databunker Team
Our developer team will be happy to customize Databunker for your specific needs!