This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "RequestId": "66B079D9-196D-5FA4-BAC8-A10912A3A7E4", | |
| "AvailableZones": { | |
| "AvailableZone": [ | |
| { | |
| "Status": "Available", | |
| "StatusCategory": "WithStock", | |
| "ZoneId": "cn-beijing-f", | |
| "AvailableResources": { | |
| "AvailableResource": [ |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "RequestId": "2FCC263D-D7C8-556E-9388-BBD8A983B019", | |
| "NextToken": "", | |
| "InstanceTypes": { | |
| "InstanceType": [ | |
| { | |
| "NvmeSupport": "unsupported", | |
| "PrimaryEniQueueNumber": 1, | |
| "TotalEniQueueQuantity": 1, | |
| "EniTrunkSupported": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # by YunKon.KIM | |
| echo "Go setup script" | |
| echo "" | |
| echo "1. Change direcotry to your home directory" | |
| cd $HOME | |
| echo"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # by YunKon.KIM | |
| echo "Go setup script" | |
| echo "" | |
| echo "1. Change direcotry to your home directory" | |
| cd $HOME | |
| echo"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## 생성 VM 내부에서 실행 | |
| # 1. pkg 목록 update // 현재는 불필요하지만... | |
| # 2. go 개발 환경 설치 // apt install 사용하지 마시고요.. | |
| # 3. Test | |
| # 1. pkg 목록 update | |
| sudo apt update | |
| # 2. go 개발 환경 설치 | |
| wget https://dl.google.com/go/go1.12.7.linux-amd64.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ################## | |
| ## Test Scripts for CB-Spider IID Working Version - 2020.04.16. | |
| ################## | |
| ## <Azure> VPC: Create -> List -> Get -> Delete | |
| curl -sX POST http://localhost:1024/spider/vpc -H 'Content-Type: application/json' -d '{ "ConnectionName": "azure-northeu-config", "ReqInfo": { "IId": {"NameId": "VPC-01", "SystemId": ""}, "IPv4_CIDR": "192.168.0.0/16", "SubnetInfoList": [ { "IId": {"NameId": "Subnet-01", "SystemId": ""}, "IPv4_CIDR": "192.168.1.0/24"} ] } }' |json_pp | |
| curl -sX GET http://localhost:1024/spider/vpc -H 'Content-Type: application/json' -d '{ "ConnectionName": "azure-northeu-config"}' |json_pp | |
| curl -sX GET http://localhost:1024/spider/vpc/VPC-01 -H 'Content-Type: application/json' -d '{ "ConnectionName": "azure-northeu-config"}' |json_pp | |
| curl -sX DELETE http://localhost:1024/spider/vpc/VPC-01 -H 'Content-Type: application/json' -d '{ "ConnectionName": "azure-northeu-config"}' |json_pp | |
| ## <Azure> SecurityGroup: Create -> List -> Get -> Delete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## <AWS> | |
| curl -sX GET http://localhost:1024/spider/vmspec -H 'Content-Type: application/json' -d '{ "ConnectionName": "aws-tokyo-config" }' | json_pp | |
| curl -sX GET http://localhost:1024/spider/vmspec/r5.4xlarge -H 'Content-Type: application/json' -d '{ "ConnectionName": "aws-tokyo-config" }' | json_pp | |
| curl -sX GET http://localhost:1024/spider/vmorgspec -H 'Content-Type: application/json' -d '{ "ConnectionName": "aws-tokyo-config" }' | json_pp | |
| curl -sX GET http://localhost:1024/spider/vmorgspec/r5.4xlarge -H 'Content-Type: application/json' -d '{ "ConnectionName": "aws-tokyo-config" }' | json_pp | |
| ## <Azure> | |
| curl -sX GET http://localhost:1024/spider/vmspec -H 'Content-Type: application/json' -d '{ "ConnectionName": "azure-northeu-config" }' | json_pp | |
| curl -sX GET http://localhost:1024/spider/vmspec/Standard_H16mr_Promo -H 'Content-Type: application/json' -d '{ "ConnectionName": "azure-northeu-config" }' | json_pp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## <AWS> | |
| curl -sX GET http://localhost:1024/spider/vmspec/tokyo -H 'Content-Type: application/json' -d '{ "ConnectionName": "aws-tokyo-config" }' | json_pp | |
| curl -sX GET http://localhost:1024/spider/vmspec/tokyo/r5.4xlarge -H 'Content-Type: application/json' -d '{ "ConnectionName": "aws-tokyo-config" }' | json_pp | |
| # CSP original 정보 | |
| curl -sX GET http://localhost:1024/spider/vmorgspec/tokyo -H 'Content-Type: application/json' -d '{ "ConnectionName": "aws-tokyo-config" }' | json_pp | |
| curl -sX GET http://localhost:1024/spider/vmorgspec/tokyo/r5.4xlarge -H 'Content-Type: application/json' -d '{ "ConnectionName": "aws-tokyo-config" }' | json_pp | |
| ## <Azure> | |
| curl -sX GET http://localhost:1024/spider/vmspec/northeurope -H 'Content-Type: application/json' -d '{ "ConnectionName": "azure-northeu-config" }' | json_pp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - for 2020.03.23. Version | |
| curl -sX POST http://localhost:1024/spider/securitygroup -H 'Content-Type: application/json' -d '{ "ConnectionName": "aws-ohio-config", | |
| "ReqInfo": { "Name": "security01-powerkim", "SecurityRules": [ {"FromPort": "1", "ToPort" : "65535", "IPProtocol" : "tcp", "Direction" : "inbound"} ] } }' |