-
Notifications
You must be signed in to change notification settings - Fork 51
CB‐Spider Server Configuration
ByoungSeob Kim edited this page Feb 24, 2026
·
12 revisions
• Configures CB-Spider server access methods, passwords, and other settings.
• In most cases, only setting SPIDER_PASSWORD is sufficient for local operation.
-
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 Set the server address and port.
cf) CB-Spider Service Address ConfigurationNot set (localhost, no external access) SERVICE_ADDRESS Set the service access address and port (only required for dual-network environments, etc.).
cf) CB-Spider Service Address ConfigurationNot set (localhost, no external access) 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 MC_INSIGHT_API_TOKEN Set the MC-Insight API token for multi-cloud metadata search.
Obtain the token from the MC-Insight service administrator. If empty, MC-Insight features will be disabled.MC_INSIGHT_API_TOKEN=c72df1af9b1f0c29 SPIDER_USERNAME / SPIDER_PASSWORD Set ID/PW for REST API authentication (Basic Auth).
⚠️ IMPORTANT: Both must be set. The server will not start if either is empty.
cf) Authentication GuideSPIDER_USERNAME=admin
SPIDER_PASSWORD=
-
#!/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 (will be deprecated) 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 # MC-Insight API Token for multi-cloud metadata search # Get token from MC-Insight service administrator # If empty, MC-Insight features will be disabled export MC_INSIGHT_API_TOKEN=c72df1af9b1f0c29 # REST API Authentication (Basic Auth) - REQUIRED # - Both SPIDER_USERNAME and SPIDER_PASSWORD must be set. Server will not start without them. export SPIDER_USERNAME=admin export SPIDER_PASSWORD=
⚠️ Authentication Required: BothSPIDER_USERNAMEandSPIDER_PASSWORDmust be set for the server to start.
If either is missing, the server will terminate withlog.Fatal.
For the CLI (spctl), credentials can be provided via environment variables or-u/-pflags.
See the Authentication Guide and CLI Install Guide for details.
-
Install & Start Guide
-
Usage Guide
- Usage Overview
- Connection Management
- Region/Zone Info
- Quota Info
- VM Price Info
- VM Image Info
- VM Spec Info
- VPC/Subnet Management
- Security Group Management
- KeyPair Management
- VM Management
- Disk Management
- Network Load Balancer(NLB) Management
- Kubernetes Cluster Management
- Object Storage(S3) Management
- Tag Management
- Cloud Driver Capability Info
- Function Menu
- MetaDB Auto Backup
- How to get CSP Credentials
- Tutorials
- 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
- How to ...
- How to Use AWS S3 with Credentials
- How to Use Alibaba ECS i1.* Instance Types
- How to provision GPU VMs
- 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 get Azure available Regions
- How to profile memory usage in Golang
- [For Cloud-Migrator]