[NOTE]
cb-webtool is currently under development. (the latest version is 0.2 cappuccino)
So, we do not recommend using the current release in production.
Please note that the functionalities of cb-webtool are not stable and secure yet.
If you have any difficulties in using cb-webtool, please let us know.
(Open an issue or Join the cloud-barista Slack)
cb-webtool
cb-webtool은 Multi-Cloud Project의 일환으로 다양한 클라우드를 cb-webtool에서 처리해
사용자로 하여금 간단하고 편안하게 클라우드를 접할 수 있게 해준다.
reflex 설치 (Windows 미지원 / Windows에 bash 설치 시 사용 가능)
$ go get github.com/cespare/reflex
cb-webtool 설치
$ go get github.com/cloud-barista/cb-webtool
[환경 설정]
conf/setup.env 파일에서 cb-tumblebug & cb-spider & cb-dragonfly의 실제 URL 정보로 수정합니다. [주의사항] localhost나 127.0.0.1 주소를 사용할 수 없습니다.
conf/setup.env 파일에서 cb-webtool에 로그인할 사용자의 LoginEmail & LoginPassword 정보를 수정하세요.
초기 Data 구축
내부적으로 cb-spider와 cb-tumblebug을 이용하기 때문에 cb-spider의 API규격을 참고해서 JSON 방식의 REST 호출로 데이터를 구축하거나 활용 예시를 참고해서 제공되는 쉘 스크립트 기반의 시험 도구를 이용해서 손쉽게 기초 데이터의 구축이 가능합니다. Network/Security Group/Image/Spec/Keypair는 cb-webtool v0.2.0-cappuccino에서 지원하지 않으므로 현재는 외부에서 생성해야 합니다.
Credential 정보
Credential 정보의 경우 cb-tumblebug에서 각 CSP 드라이버마다 설정해야하는 Key 값들이 다르기 때문에 설정해야하는 키 값을 모를 경우 cb-tumblebug이나 cb-spider의 활용 예시에 있는 시험 도구 중 Credential 정보를 확인하시기 바랍니다.
[서버 실행]
Linux & Mac OS에서 실행
$ cd github.com/cloud-barista/cb-webtool
$ run.sh
Bash를 설치하지 않은 Windows 환경에서는 reflex를 사용할 수 없으므로 직접 구동해야 합니다.
$ cd github.com/cloud-barista/cb-webtool
$ run-windows.sh