-
Notifications
You must be signed in to change notification settings - Fork 52
DB Spec Info Guide
powerkimhub edited this page Aug 16, 2026
·
1 revision
- Users can set a DB Spec Name for a given DB Engine (
mysql,mariadb,postgresql) to request creation of a DB Instance that conforms to the properties of that spec (VCpu, Memory, Storage size range, etc.). - The DB Spec information provided by CB-Spider is used as-is for the
DBSpecfield (e.g.db.t3.medium) when requesting DB Instance creation, as described in the RDBMS Management Guide. - Users can utilize the abstracted CB-Spider DB Spec information to determine their desired DB Instance specification (number of CPUs, memory size, storage size range, etc.) before requesting DB Instance creation.
-
Users can retrieve DB Spec information in JSON format via the following CB-Spider REST API:
GET /dbspec - List DB Specs GET /dbspec/{Name} - Get DB Spec GET /dborgspec - List Original DB Specs GET /dborgspec/{Name} - Get Original DB Spec- All APIs require the
ConnectionName(Connection name) andDBEngine(mysql|mariadb|postgresql) query parameters.
- All APIs require the
-
The information included in the returned JSON result is as follows:
Field Description Example Values Region Region Name where the DB Spec is available ● us-east-1,ap-northeast-2, etc.DBEngine DB engine this spec applies to ● mysql,mariadb,postgresqlName DB Spec (instance class/flavor) Name managed and provided by the CSP ● db.t3.medium,db.r5.24xlarge, etc.VCpu CPU resource info of the DB Instance created from the spec,
consisting ofCountandClockGHz(frequency)● {2, 3.1},{96, 3.1}, etc.
●-1: value not provided by the CSP, or there is no objective basis to derive it from the same CSP spec nameMemSizeMiB Memory size of the DB Instance created from the spec ● 4096,786432, etc.
●-1: value not provided by the CSPStorageSizeRangeGB The Min/MaxStorage size range the caller may request when creating a DB Instance with this spec,
NOT a disk built into the spec, but a constraint on the storage size selectable at creation time● {20, 65536}, etc.
●{-1, -1}: no per-spec constraint known (falls back to RDBMSMetaInfo's StorageSizeRangeGB)DataSource
DataSourceNotesIndicates whether each field's value was obtained live from the CSP API ( API) or is a fixed/unconvertible value (Static),
with the reason recorded in DataSourceNotes whenStatic,
a field with no entry is treated asAPI● "DataSource" : { "VCpu.Count" : "Static" }
●"DataSourceNotes" : { "VCpu.Count" : "..." }KeyValueList CSP-specific extra information related to the DB Spec, in Key/Value List format,
e.g. mapped EC2 Instance Type, IOPS, Architecture, reference price● "KeyValueList" : [
{
"Key" : "EC2InstanceType",
"Value" : "t3.medium"
}
]
-
Example API call and response for AWS RDS
mysqlengine'sdb.t3.mediumDB Spec:curl -u admin:your-secure-password -sX 'GET' 'http://localhost:1024/spider/dbspec/db.t3.medium?ConnectionName=aws-config01&DBEngine=mysql' | json_pp{ "DBEngine" : "mysql", "KeyValueList" : [ { "Key" : "EC2InstanceType", "Value" : "t3.medium" } ], "MemSizeMiB" : "4096", "Name" : "db.t3.medium", "Region" : "ap-southeast-2", "StorageSizeRangeGB" : { "Max" : 17592, "Min" : 5 }, "VCpu" : { "ClockGHz" : "2.5", "Count" : "2" } } -
Example where a field is treated as fixed (
Static) because the CSP API only exposes it at the engine level rather than per SKU, as with Azure Database for MySQL'sStandard_B12msDB Spec:curl -u admin:your-secure-password -sX 'GET' 'http://localhost:1024/spider/dbspec/Standard_B12ms?ConnectionName=azure-northeu-config&DBEngine=mysql' | json_pp{ "DBEngine" : "mysql", "DataSource" : { "StorageSizeRangeGB" : "Static" }, "DataSourceNotes" : { "StorageSizeRangeGB" : "The capabilitySets response's per-SKU details carry no storage-range field; storage size is a single engine-wide range for this CSP, not tied to a specific SKU. See RDBMSMetaInfo.StorageSizeRangeGB instead." }, "KeyValueList" : [ { "Key" : "SupportedIops", "Value" : "3800" } ], "MemSizeMiB" : "49152", "Name" : "Standard_B12ms", "Region" : "northeurope", "StorageSizeRangeGB" : { "Max" : 0, "Min" : 0 }, "VCpu" : { "ClockGHz" : "-1", "Count" : "12" } }
- After accessing AdminWeb (
http://localhost:1024/spider/adminweb), selectConnectionfrom the left menu and choose the target Connection Config (e.g.aws-config01). - Click
DBSpecamong the icon menu (Region, Price, Quota, Image, VMSpec,DBSpec) at the top right of the screen. - Selecting
mysql/mariadb/postgresqlfrom the DB Engine dropdown next to the Search Keyword box retrieves the DB Spec list for the selected Connection's Region/DB Engine combination, shown as a table with the following columns.
-
Install & Start Guide
-
Usage Guide
- Usage Overview
- Connection Management
- Region/Zone Info
- Quota Info
- VM Price Info
- VM Image Info
- VM Spec Info
- DB 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
- RDBMS Management
- Tag Management
- Cloud Driver Capability Info
- (WIP)VM Multi‐Network Management
- Function Menu
- MetaDB Auto Backup
- How to get CSP Credentials
- Tutorials
- Developer Guide
- Cloud Driver Developer Guide
- CB‐Spider Multi‐Cloud Driver Developer Team Skill
- 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]