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
670
Cloud Foundryことはじめ
tnaoto
1
940
FUJITSU-meets-CloudFoundry
tnaoto
10
3.8k
Other Decks in Research
See All in Research
SatCLIP: Global, General-Purpose Location Embeddings with Satellite Imagery
satai
3
130
資産間の相関関係を頑健に評価する指標を用いたファクターアローケーション戦略の構築
nomamist
0
200
한국어 오픈소스 거대 언어 모델의 가능성: 새로운 시대의 언어 이해와 생성
inureyes
PRO
0
320
ASSADS:ASMR動画に合わせて撫でられる感覚を提示するシステムの開発と評価 / ec75-shimizu
yumulab
1
200
ノンパラメトリック分布表現を用いた位置尤度場周辺化によるRTK-GNSSの整数アンビギュイティ推定
aoki_nosse
0
290
Security, Privacy, and Trust in Generative AI
tsubasashi
0
120
線形判別分析のPU学習による朝日歌壇短歌の分析
masakat0
0
100
Optimal and Diffusion Transports in Machine Learning
gpeyre
0
1.5k
Scale-Aware Recognition in Satellite images Under Resource Constraints
satai
3
200
博士論文公聴会: Scaling Telemetry Workloads in Cloud Applications: Techniques for Instrumentation, Storage, and Mining / PhD Defence
yuukit
1
130
作業記憶の発達的特性が言語獲得の臨界期を形成する(NLP2025)
chemical_tree
2
510
Intrinsic Self-Supervision for Data Quality Audits
fabiangroeger
0
510
Featured
See All Featured
A better future with KSS
kneath
239
17k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Fireside Chat
paigeccino
37
3.4k
Designing for Performance
lara
608
69k
Build The Right Thing And Hit Your Dates
maggiecrowley
35
2.7k
Thoughts on Productivity
jonyablonski
69
4.6k
How to Ace a Technical Interview
jacobian
276
23k
The Cost Of JavaScript in 2023
addyosmani
49
7.8k
Gamification - CAS2011
davidbonilla
81
5.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Designing Experiences People Love
moore
142
24k
Product Roadmaps are Hard
iamctodd
PRO
53
11k
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 • 狙うならいまのうち!
おわり