How to install and configure ?
Please watch demo video<< coming soon>> (For Installation and Configuration) or follow below instructions
Main Server Installation and Configuration
This section describes how to install and configure the KloudDB Shield Main Server. The Main Server acts as the central management and monitoring node. Collector Agents installed on PostgreSQL servers will communicate with this server.
Architecture Overview
The deployment consists of:
Main Server – Centralized management server where the main package is installed. Collector Agents – Lightweight agents installed on each PostgreSQL server. PostgreSQL Servers – Database servers monitored and managed through the collector agents.
Main Server Installation and Configuration
Step 1: Install the Main Server Package
Install the appropriate package for your operating system.
Ubuntu
sudo dpkg -i main-server_2.4_linux_amd64.debVerify that the installation completed successfully before proceeding to the configuration steps.
Step 2: Configure the Main Server
After installation, edit the configuration file:
sudo vi /etc/klouddbshield/server-node.yamlGenerate unique values for the following fields:
These values should be random and sufficiently long to ensure uniqueness and security.
Sample config file :
After updating the configuration file, start the service:
Enable automatic startup during system boot:
Verify service status:
Step 3: Validate Connectivity
Confirm that the Main Server is listening on the configured port:
Expected result:
Collector Configuration ( On each Postgres Server repeat below steps )
Install the appropriate package for your operating system
Configuration
You need to configure /etc/klouddbshield/kshieldconfig.toml as described below
Start the collector service
Your installation is now complete. You can access your dashboards using the central server URL, for example: http://xx.xx.xx.:8081. The steps below can be ignored, as they apply only to users following the older installation method who choose to continue with it . Please reach us at support@klouddb.io for any help
Below are steps if you want to use only ciscollector and not main server (Old method)
You can run iKloudDB Shield on your server by cloning repo or installing package (rpm , deb etc..) . Installing the package will automatically install all necessary dependencies
Method 1 - Cloning Repo
Clone the repo and build
Method 2 - Installing package
You can directly download the package from releases section of repo https://github.com/klouddb/klouddbshield/releases and install the package (for example – rpm for centos ; deb package for Ubuntu etc..) NOTE: Install the latest release only
E.g
For Ubuntu -
ciscollector_1.9_linux_amd64.deb
For Centos -
ciscollector_1.9_linux_amd64.rpm
NOTE - Scanning a large number of files may take a considerable amount of time. To expedite the process, please narrow your search to a specific time range or use wildcards to target a subset of log files
Configuration(Postgres) -
Once you install it , you need to populate the config file /etc/klouddbshield/kshieldconfig.toml in /etc/klouddbshield directory . Please fill username , dbname and password (sample entry below)
How to execute after installing ?
Run the command "ciscollector -r " after cloning repo or installing package(Note - you need to populate /etc/klouddbshield/kshieldconfig.toml as described above)

Perform All Checks (Option 1) -
It is recommended to use Option 1 - All Postgres checks (as shown in the screenshot below). This option provides a comprehensive security report.
NOTE - Scanning a large number of files may take a considerable amount of time. To expedite the process, please narrow your search to a specific time range or use wildcards to target a subset of log files

Configuration(RDS) -
Make sure you have properly configured your AWS-CLI with a valid Access Key and Region or declare AWS variables properly. NOTE - You need to run this tool from bastion host or from some place where you have access to your RDS instances(It only needs basic aws rds describe priivs and sns read privs )
Configuration(MySQL) -
Once you install it , you need to populate the config file /etc/klouddbshield/kshieldconfig.toml in /etc/klouddbshield directory . Please fill username , dbname and password (sample entry below)
I am trying to use this tool but running into some issues , Can you help?
Please open an issue on repo or email us at support@klouddb.io
Last updated