利点
- Jenkinsのサーバを用意しなくて良い
- CircleCIサーバ高スペック
ログイン
- GitHubアカウントで登録
-
https://circleci.com/add-projects にアクセスし、
- 1. 自分のアカウントをクリック(これがわからなかった・・・。)
- 2. projectを選択
build
- なにやら出てくる。これは一旦無視
ssh
右上のwith sshをクリック
- 30分間だけssh接続ができる。
ssh -p 64599 ubuntu@54.166.9.XX
DISK
$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/xvdh 240G 45G 193G 19% /
メモリ240GB
$ free -m
total used free shared buffers cached
Mem: 245997 80552 165445 0 104 57950
-/+ buffers/cache: 22498 223499
Swap: 0 0 0
$ cat /proc/cpuinfo
# Xeon(R) CPU E5-2670@2.60GHz : 2CPU, 8コア, 2スレッドだと思う
ポートフォワード
python -m SimpleHTTPServer
ssh -p 64684 ubuntu@54.146.65.XX -NL 8000:localhost:8000
- http://localhost:8000 にアクセスし応答があることを確認
dockerの利用
sudo service docker start
sudo docker ps -a