Upload
tsutomu-kawamura
View
714
Download
0
Embed Size (px)
DESCRIPTION
とんがったPHPer向けPaaS、pagoda boxを簡単に紹介。
Citation preview
河村 奨 @cognitomhttp://www.osscafe.net/
PaaS祭り!
heroku風 LAMPスタック
とんがったPHPer向け
Git / SFTP
WordPressなどのクイックインストール
書込可能ディレクトリ
PagodaBox
Magento
kohana
pyrocms
WordPress
slim
yii
drupal
codeigniterWeb App Cafe : パッケージ30種くらい
IaaS
SoftLayer (Dallas)
ソフトウェア
Apache / PHP
MySQL / MongoDB
Git / SFTPなに使ってるの?
Coming
web1: name: blog shared_writable_dirs: - var/cache - var/sessions document_root: app php_version: 5.3.8 php_extensions: - mysql - gd - eaccelerator db1: #component type & number name: posts type: mysql db2: #component type & number name: subscribers type: mysql cache1: name: sessions type: memcached
Boxfileでいろいろ調整
Databaseを追加したり
Dashboard
Gitのコミット履歴
前のバージョンに再ディプロイ
History
独自ドメインを設定する場合は、ここで設定。
CNAMEで。
DNS/SSL
データベースの接続情報
APIキー
アプリケーションの設定
などなど
Environment Vars
まだβ版だけど、Cron使えます。
Cron Jobs (BETA)
共同作業者の追加
Vintage Mode (!!!)
Application Administration
pagodaboxの無料プラン
だいたい150ms
16ホップくらい
Ping has started…
PING osscafe.pagodabox.com (50.97.141.37): 56 data bytes64 bytes from 50.97.141.37: icmp_seq=0 ttl=49 time=145.023 ms64 bytes from 50.97.141.37: icmp_seq=1 ttl=49 time=155.433 ms64 bytes from 50.97.141.37: icmp_seq=2 ttl=49 time=147.255 ms64 bytes from 50.97.141.37: icmp_seq=3 ttl=49 time=143.403 ms64 bytes from 50.97.141.37: icmp_seq=4 ttl=49 time=148.939 ms64 bytes from 50.97.141.37: icmp_seq=5 ttl=49 time=142.152 ms64 bytes from 50.97.141.37: icmp_seq=6 ttl=49 time=150.292 ms64 bytes from 50.97.141.37: icmp_seq=7 ttl=49 time=152.585 ms64 bytes from 50.97.141.37: icmp_seq=8 ttl=49 time=154.294 ms64 bytes from 50.97.141.37: icmp_seq=9 ttl=49 time=174.730 ms
--- osscafe.pagodabox.com ping statistics ---10 packets transmitted, 10 packets received, 0.0% packet lossround-trip min/avg/max/stddev = 142.152/151.411/174.730/8.860 ms
pingしてみる。
herokuの無料プラン。
さらに遅い。
21ホップくらい
Ping has started…
PING osscafe.net (75.101.163.44): 56 data bytes64 bytes from 75.101.163.44: icmp_seq=0 ttl=48 time=183.533 ms64 bytes from 75.101.163.44: icmp_seq=1 ttl=48 time=218.243 ms64 bytes from 75.101.163.44: icmp_seq=2 ttl=48 time=179.208 ms64 bytes from 75.101.163.44: icmp_seq=3 ttl=48 time=747.686 ms64 bytes from 75.101.163.44: icmp_seq=4 ttl=48 time=453.407 ms64 bytes from 75.101.163.44: icmp_seq=5 ttl=48 time=187.362 ms64 bytes from 75.101.163.44: icmp_seq=6 ttl=48 time=170.282 ms64 bytes from 75.101.163.44: icmp_seq=7 ttl=48 time=181.701 ms64 bytes from 75.101.163.44: icmp_seq=8 ttl=48 time=169.537 ms64 bytes from 75.101.163.44: icmp_seq=9 ttl=48 time=171.225 ms
--- osscafe.net ping statistics ---10 packets transmitted, 10 packets received, 0.0% packet lossround-trip min/avg/max/stddev = 169.537/266.218/747.686/180.138 ms
比較 : heroku
sakuraの専用サーバ
だいたい15ms
13ホップくらい
Ping has started…
PING hogehoge.net (219.94.***.***): 56 data bytes64 bytes from 219.94.***.***: icmp_seq=0 ttl=54 time=14.500 ms64 bytes from 219.94.***.***: icmp_seq=1 ttl=54 time=10.851 ms64 bytes from 219.94.***.***: icmp_seq=2 ttl=54 time=11.061 ms64 bytes from 219.94.***.***: icmp_seq=3 ttl=54 time=20.135 ms64 bytes from 219.94.***.***: icmp_seq=4 ttl=54 time=14.861 ms64 bytes from 219.94.***.***: icmp_seq=5 ttl=54 time=13.018 ms64 bytes from 219.94.***.***: icmp_seq=6 ttl=54 time=15.368 ms64 bytes from 219.94.***.***0: icmp_seq=7 ttl=54 time=22.498 ms64 bytes from 219.94.133.240: icmp_seq=8 ttl=54 time=14.759 ms64 bytes from 219.94.***.***: icmp_seq=9 ttl=54 time=16.916 ms
--- cognitom.net ping statistics ---10 packets transmitted, 10 packets received, 0.0% packet lossround-trip min/avg/max/stddev = 10.851/15.397/22.498/3.490 ms
比較 : sakura
パゴダトンネルいい感じ
sudo gem install pagoda
pagoda -a <app_name> tunnel -c <comp_id>
普通に、gitでコミット