-
Notifications
You must be signed in to change notification settings - Fork 51
Public Image Info Guide
-
Users can set a Public Image ID to request VM creation that conforms to the properties (architecture, OS, etc.) of that image.
-
The relationship between Public Image information provided by CB-Spider and the OS information of VMs created from those images is shown in the diagram below.
-
Users can utilize the abstracted CB-Spider Public Image information to request VMs with their desired OS environment (e.g., Arm, Ubuntu 22.04).
-
Users can retrieve Public Image information in JSON format via the following CB-Spider REST API:
GET /vmimage - List Public Images GET /vmimage/{Name} - Get Public Image -
The information included in the returned JSON result is as follows:
Field Description Example Values IId(NameId, SystemId) Image ID information managed and provided by the CSP
(NameId=SystemId)● ami-00edcba5512df4d24,img-pi0ii46r, etc.OSArchitecture OS Architecture of the VM created from the image ● One of: arm32,arm64,arm64_mac,x86_32,x86_32_mac,x86_64,x86_64_mac
●NA: value not provided by the CSPOSPlatform OS Platform of the VM created from the image ● Linux/UNIXorWindows
●NA: value not provided by the CSPOSDistribution OS Distribution of the VM created from the image ● CSP-defined values such as Deep Learning Base Neuron AMI (Ubuntu 22.04)OSDiskType OS Disk Type of the VM created from the image ● ebs,Common BlockStorage 1, etc.
●NA: value not provided by the CSPOSDiskSizeGB OS Disk Size or minimum size of the VM created from the image; may include temporary disk space required by the OS depending on the CSP ● 10,30, etc.
●-1: value not provided by the CSPImageStatus Current availability status of the image ● AvailableorUnavailable
●NA: value not provided by the CSPKeyValueList Original image information provided by the CSP in Key/Value List format ● "KeyValueList" : [
{
"Key" : "Architecture",
"Value" : "x86_64"
},
{
"Key" : "Hypervisor",
"Value" : "xen"
},
…
-
Example API call and response for AWS image
ami-00edcba5512df4d24:curl -sX 'GET' 'http://localhost:1024/spider/vmimage/ami-00edcba5512df4d24?ConnectionName=aws-config01' | json_pp{ "IId" : { "NameId" : "ami-00edcba5512df4d24", "SystemId" : "ami-00edcba5512df4d24" }, "ImageStatus" : "Available", "OSArchitecture" : "x86_64", "OSDiskSizeGB" : "-1", "OSDiskType" : "ebs", "OSDistribution" : "Deep Learning Base Neuron AMI (Ubuntu 22.04) 20241101", "OSPlatform" : "Linux/UNIX", "KeyValueList" : [ { "Key" : "Architecture", "Value" : "x86_64" }, { "Key" : "BlockDeviceMappings", "Value" : "{DeviceName:/dev/sda1,Ebs:{DeleteOnTermination:true,Encrypted:false,Iops:3000,KmsKeyId:null,OutpostArn:null,SnapshotId:snap-0b054f1cb9fd1bf5d,Throughput:125,VolumeSize:35,VolumeType:gp3},NoDevice:null,VirtualName:null}; {DeviceName:/dev/sdb,Ebs:null,NoDevice:null,VirtualName:ephemeral0}; {DeviceName:/dev/sdc,Ebs:null,NoDevice:null,VirtualName:ephemeral1}" }, { "Key" : "State", "Value" : "available" }, … ] }
-
Select the target CSP and request Image information as shown below.
-
Example of AWS Image Info provided:
-
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
- 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]