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
990
FUJITSU-meets-CloudFoundry
tnaoto
10
3.9k
Other Decks in Research
See All in Research
離散凸解析に基づく予測付き離散最適化手法 (IBIS '25)
taihei_oki
PRO
1
650
湯村研究室の紹介2025 / yumulab2025
yumulab
0
280
ウェブ・ソーシャルメディア論文読み会 第36回: The Stepwise Deception: Simulating the Evolution from True News to Fake News with LLM Agents (EMNLP, 2025)
hkefka385
0
120
Tiaccoon: Unified Access Control with Multiple Transports in Container Networks
hiroyaonoe
0
380
国際論文を出そう!ICRA / IROS / RA-L への論文投稿の心構えとノウハウ / RSJ2025 Luncheon Seminar
koide3
13
6.9k
データサイエンティストの業務変化
datascientistsociety
PRO
0
150
AWSで実現した大規模日本語VLM学習用データセット "MOMIJI" 構築パイプライン/buiding-momiji
studio_graph
2
1.1k
AIグラフィックデザインの進化:断片から統合(One Piece)へ / From Fragment to One Piece: A Survey on AI-Driven Graphic Design
shunk031
0
590
SREはサイバネティクスの夢をみるか? / Do SREs Dream of Cybernetics?
yuukit
3
320
さまざまなAgent FrameworkとAIエージェントの評価
ymd65536
1
390
製造業主導型経済からサービス経済化における中間層形成メカニズムのパラダイムシフト
yamotty
0
450
EarthDial: Turning Multi-sensory Earth Observations to Interactive Dialogues
satai
3
570
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
98
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
43
Music & Morning Musume
bryan
46
7k
Why Our Code Smells
bkeepers
PRO
340
58k
Navigating Team Friction
lara
191
16k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
0
1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
A Soul's Torment
seathinner
4
2.1k
The SEO Collaboration Effect
kristinabergwall1
0
330
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 • 狙うならいまのうち!
おわり