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
2.1k
tsuru
openpaas tsuru
Naoto TAKAHASHi
July 29, 2015
Tweet
Share
More Decks by Naoto TAKAHASHi
See All by Naoto TAKAHASHi
OneOps
tnaoto
0
710
Cloud Foundryことはじめ
tnaoto
1
1k
FUJITSU-meets-CloudFoundry
tnaoto
10
3.9k
Other Decks in Research
See All in Research
ドメイン知識がない領域での自然言語処理の始め方
hargon24
1
240
競合や要望に流されない─B2B SaaSでミニマム要件を決めるリアルな取り組み / Don't be swayed by competitors or requests - A real effort to determine minimum requirements for B2B SaaS
kaminashi
0
690
ACL読み会2025: Can Language Models Reason about Individualistic Human Values and Preferences?
yukizenimoto
0
120
Attaques quantiques sur Bitcoin : comment se protéger ?
rlifchitz
0
140
さまざまなAgent FrameworkとAIエージェントの評価
ymd65536
1
410
製造業主導型経済からサービス経済化における中間層形成メカニズムのパラダイムシフト
yamotty
0
480
Satellites Reveal Mobility: A Commuting Origin-destination Flow Generator for Global Cities
satai
3
490
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
36k
Multi-Agent Large Language Models for Code Intelligence: Opportunities, Challenges, and Research Directions
fatemeh_fard
0
120
空間音響処理における物理法則に基づく機械学習
skoyamalab
0
190
ブレグマン距離最小化に基づくリース表現量推定:バイアス除去学習の統一理論
masakat0
0
130
SkySense V2: A Unified Foundation Model for Multi-modal Remote Sensing
satai
3
480
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
37
7.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Chasing Engaging Ingredients in Design
codingconduct
0
110
How to train your dragon (web standard)
notwaldorf
97
6.5k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
170
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
450
エンジニアに許された特別な時間の終わり
watany
106
230k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
49
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
55
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 • 狙うならいまのうち!
おわり