Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
tsuru
Search
Naoto TAKAHASHi
July 29, 2015
Research
0
2k
tsuru
openpaas tsuru
Naoto TAKAHASHi
July 29, 2015
Tweet
Share
More Decks by Naoto TAKAHASHi
See All by Naoto TAKAHASHi
OneOps
tnaoto
0
640
Cloud Foundryことはじめ
tnaoto
1
870
FUJITSU-meets-CloudFoundry
tnaoto
10
3.6k
Other Decks in Research
See All in Research
3次元点群の分類における評価指標について
kentaitakura
0
120
snlp2024_multiheadMoE
takase
0
350
SSII2024 [OS2] GPT-4Vで画像認識は終わるのか(オープニング)
ssii
PRO
0
760
[CV勉強会@関東 CVPR2024] Visual Layout Composer: Image-Vector Dual Diffusion Model for Design Layout Generation / kantocv 61th CVPR 2024
shunk031
1
300
Introducing Research Units of Matsuo-Iwasawa Laboratory
matsuolab
0
140
SSII2024 [OS3] 基盤モデル(オープニング)
ssii
PRO
0
320
CSER 2024 Keynote
tsantalis
0
130
DiscordにおけるキャラクターIPを活用したUGCコンテンツ生成サービスの ラピッドプロトタイピング ~国際ハッカソンでの事例研究
o_ob
0
220
Language is primarily a tool for communication rather than thought
ryou0634
4
630
20240725異文化融合研究セミナーiSeminar
tadook
0
120
Weekly AI Agents News! 8月号 プロダクト/ニュースのアーカイブ
masatoto
1
120
SSII2024 [OS2] 画像、その先へ 〜モーション解析への誘い〜
ssii
PRO
1
1.2k
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
36
6.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
322
23k
Thoughts on Productivity
jonyablonski
66
4.2k
RailsConf 2023
tenderlove
28
820
How To Stay Up To Date on Web Technology
chriscoyier
786
250k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
103
48k
Creatively Recalculating Your Daily Design Routine
revolveconf
215
12k
Code Reviewing Like a Champion
maltzj
517
39k
KATA
mclloyd
27
13k
Visualization
eitanlees
142
15k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
278
13k
Transcript
Open PaaS tsuru @tnaoto
Who am I ? たかはしなおと Twi7erID: tnaoto 日本Cloud Foundryグループ
監事
recently 先月の勉強会発表記事が月間1位でした ありがとうございます
today’s theme Open PaaS & Container
tsuru
h7ps://tsuru.io/ メイン開発は ブラジル golang製 いわゆるdocker as a service(だと思う 2012.3.14~
demo • とりあえず触ってみる • セットアップは2種類 – all in
script – vagrant (今回はこっちの環境) 途中でセットアップが失敗するとVMから作り直しが必 要 ちなみにh7p_proxyがあるとどうやってもセットアッ プ出来ないので、諦めましょう *セットアップスクリプトをばらせば可能かも
setup • vagrant upから早い回線使って20分くらい (MBP Mid 2012(HDDモデル)
• セットアップが終わると、dashboradアプリが デプロイされている状態になる
dashborad いきなりエラー出てるけど、よくわかんない
deploy to app ・とくにも書くにもアプリをデプロイ ・初期状態では、pythonアプリしかデプロイ出来 ない
python app • django-‐admin startproject hellodjango • tsutu app-‐create
hellodjango • フォルダをgit init等してリポジトリ化 • Procfileを追加作成 web: gunicorn -‐-‐access-‐logfile -‐ -‐b 0.0.0.0:$PORT -‐w 3 abyss.wsgi • サンプルは要DBで動かない • h7ps://github.com/tsuru/tsuru-‐django-‐sample
git push
tsuru app-‐info –a hellodjango
ERROR! たぶんライブラリが足りてない
add pla`orm • pla`ormの追加 • 例:ruby tsuru-‐admin pla`orm-‐add
ruby -‐-‐ dockerfile=h7ps:// raw.githubusercontent.com/tsuru/ basebuilder/master/ruby/Dockerfile • 実行時のアプリは、circus配下で管理される
add ruby
buildpack • 実はbuildpackも使える • 事前にbulidpack用のコンテナをビルドしてお く • h7ps://tsuru.readthedocs.org/en/latest/
using/buildpacks.html
management • tsuru本体側の話 • 運用管理も考えてる – 物理ホスト管理
– dockerプール管理 – pla`ormの管理 • 詳細ドキュメントはここ – h7ps://tsuru-‐admin.readthedocs.org
service • api連携が基本 • 概念としては、cf marketplaceに近い • EP書いて食わせて設定
h7ps://github.com/tsuru/mysqlapi pythonで書くみたい • 詳細はドキュメントはこのあたり – h7ps://tsuru-‐crane.readthedocs.org ←イメージ
contribudon • 狙うならいまのうち!
おわり