-
Notifications
You must be signed in to change notification settings - Fork 48
CB Spider VM User
-
CSP별 VM 기본 사용자 및 cb-user 적용 방법
CSP VM 기본 사용자 비고 적용 방법 비고 AWS ubuntu 또는 ec2-user 등 Image에 의존 Launch시/userdata/cloud-init 적용완료 Azure CSP API 활용/OSProfile 적용 완료 GCP 적용 완료 Alibaba root CSP 고정 Launch시/userdata/cloud-init 적용완료 OpenStack ubuntu 등 Image에 의존 Launch시/userdata/cloud-init 테스트중 Cloudit root sshkey 제공 안함 Launch후/shell script 적용 완료 NCP root CSP 고정 Launch후/shell script 적용 완료 KT Cloud root CSP 고정
(Port forwarding 방식 log-in이 기본)Launch후/shell script 개발 예정
- CSP API 활용(ex. Azure OSProfile)
- Launch시 적용(ex. AWS userdata)
(1) cloud-init directive 활용
(2) shell scripts 활용 - Launch후 적용(ex. Azure Run Command)
(1) cloud-init directive 활용
(2) shell scripts 활용
- StartVM() 인자로 넘겨 받은 Key Name 활용
- Key Name: KeyPairHandler로 사용자가 생성한 Key 이름
- Key 자체는 CSP로부터 받아서 처리 또는 Driver에서 관리 중인 Key 활용한 처리
- Error handling
- 에러 메시지 출력
- cblog.error("{CSP}-{VM-Name}:" + "Error adding cb-User to new VM" + ": {CSP 제공 오류 메시지}")
- return error
- Driver: 생성한 VM은 별도 처리하지 않음
- Driver별로 적용 방법 및 CSP에 따라 VM이 생성되어 있을 수도 있고 생성되지 않았을 수도 있음
- Spider Server: Driver로부터 오류를 리턴 받으면, 대상 VM 삭제 요청 후 오류 메시지 반환 (@todo)
- 에러 메시지 출력
https://cloudinit.readthedocs.io/en/latest/topics/availability.html
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/managing-users.html
https://aws.amazon.com/ko/premiumsupport/knowledge-center/new-user-accounts-linux-instance/
https://aws.amazon.com/ko/premiumsupport/knowledge-center/ec2-user-account-cloud-init-user-data/
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-vm-rest-api
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/run-command
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/using-cloud-init
-
Install & Start Guide
-
Features & Usage
-
- AdminWeb Tool Guide
- CLI Tool Guide
- REST API 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
- Price 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 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]