-
Notifications
You must be signed in to change notification settings - Fork 50
CB‐Spider Server Configuration
ByoungSeob Kim edited this page Oct 26, 2025
·
1 revision
CB-Spider uses environment variables to configure the server’s operation root path and operation method.
-
Environment Variables Descriptions Default CBSPIDER_ROOT Set the root path of the installed CB-Spider package Automatically set to the location of the setup.env file SERVER_ADDRESS since v0.4.4
cf) CB-Spider Service Address ConfigurationNot set SERVICE_ADDRESS since v0.4.4
cf) CB-Spider Service Address ConfigurationNot set PLUGIN_SW Option for dynamically adding and linking cloud infrastructure drivers. When set to ON, dynamically registers and manages drivers built as shared libraries. PLUGIN_SW=OFF ID_TRANSFORM_MODE Option to set whether to perform ID transformation when creating resources. When set to OFF, requests the ID entered by the user to the CSP without converting it to UUID format (When set to OFF, the user must consider CSP-specific naming restrictions).
cf) ID Transform ON/OFF GuideID_TRANSFORM_MODE=ON CBLOG_ROOT Set the root path of cb-log for log output; used by cb-log to locate configuration files, etc. CBSTORE_ROOT=$CBSPIDER_ROOT ADMINWEB Option to enable or disable the AdminWeb UI and Swagger UI. When set to OFF, both AdminWeb and Swagger UI are disabled.
cf) [AdminWeb ON/OFF Guide]ADMINWEB=ON API_USERNAME API_PASSWORD Set ID/PW for REST API authentication Not set
-
$ vi ./setup.env #!/bin/bash # root path of cb-spider SCRIPT_DIR=`dirname ${BASH_SOURCE[0]-$0}` export CBSPIDER_ROOT=`cd $SCRIPT_DIR && pwd` ### Set Spider server Address of Service Address # cf) https://github.com/cloud-barista/cb-spider/wiki/CB-Spider-Service-Address-Configuration # default: unset SERVER_ADDRESS and unset SERVICE_ADDRESS # examples for other service port #export SERVER_ADDRESS=":3000" # examples for K8S env #export SERVER_ADDRESS=":1024" #export SERVICE_ADDRESS="1.2.3.4:31024" ### Set the library type of Cloud Driver pkg. # ON is a shared library type. # default: OFF export PLUGIN_SW=OFF ## If the value is OFF, Spider does not perform ID transformation. # default: ON export ID_TRANSFORM_MODE=ON # root path of cb-log export CBLOG_ROOT=$CBSPIDER_ROOT # AdminWeb ON/OFF setting # ON: Enable AdminWeb, OFF: Disable AdminWeb # default: ON export ADMINWEB=ON # If the value is empty, REST Auth disabed. export API_USERNAME= export API_PASSWORD=
-
Install & Start Guide
-
Features & Usage
-
- AdminWeb Tool Guide
- CLI Tool Guide
- REST API Guide
- NLI Guide
-
Design
-
Developer Guide
-
Cloud Driver Developer Guide
- Cloud Driver Developer Guide-WIP
- VM SSH Key Development Guide-WIP
- VM User Development Guide
- What is the CSP SDK API Version of drivers
- Region Zone Info and Driver API
- (StartVM TerminateVM) API Call Counts and Waiting
- StartVM and TerminateVM Main Flow of drivers
- VM Root Disk Configuration Guide
- Security Group Rules and Driver API
- Network Load Balancer and Driver API
- VM Snapshot, MyImage and Disk Overview
- Kubernetes and Driver API(PMKS, K8S)
- Tag and Cloud Driver API
- AnyCall API Extension Guide
-
Test Reports
- v0.2.8-for-espresso-release
- v0.3.0-espresso-release
- Azure:Terminating VM
- cb-user@VM: ssh login, sudo run
- v0.3.14 test for SG Source
- v0.4.0-cafemocha-release
- Test via REST API Gateway
- Test Reports of v0.4.11 (IID2 initial Version)
- Test Reports of v0.4.12 (Register & Unregister existing Resources)
- Test Reports for v0.6.0 Release
- How to ...
- How to Use AWS S3 with Credentials
- How to Use Alibaba ECS i1.* Instance Types
- How to provision GPU VMs
- How to Resolve the 'Failed to Connect to Database' Error
- How to test CB Spider with Mock Driver
- How to install CB Spider on WSL2 under 공유기/사설망
- How to install CB Spider on macOS
- How to run CB Spider Container on macOS
- How to install OpenStack on a VM for CB Spider Testing
- How to get Azure available Regions
- How to profile memory usage in Golang
- Deprecated:How to install protoc and plugins
- [For Cloud-Migrator]