LoginSignup
11

More than 5 years have passed since last update.

30分間だけ使える超高性能PCとしてCircleCIをsshで利用

Last updated at Posted at 2015-07-11

利点

  • Jenkinsのサーバを用意しなくて良い
  • CircleCIサーバ高スペック

ログイン

  • GitHubアカウントで登録
  • https://circleci.com/add-projects にアクセスし、
    • 1. 自分のアカウントをクリック(これがわからなかった・・・。)
    • 2. projectを選択

c1.png

build

c2.png

  • なにやら出てくる。これは一旦無視

ssh

右上のwith sshをクリック

a4.png

  • 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

dockerの利用

sudo service docker start
sudo docker ps -a

その他リンク

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11