Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
tsuru
Search
Naoto TAKAHASHi
July 29, 2015
Research
2.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
tsuru
openpaas tsuru
Naoto TAKAHASHi
July 29, 2015
More Decks by Naoto TAKAHASHi
See All by Naoto TAKAHASHi
OneOps
tnaoto
0
750
Cloud Foundryことはじめ
tnaoto
1
1k
FUJITSU-meets-CloudFoundry
tnaoto
10
4k
Other Decks in Research
See All in Research
ros2-perf-multihost: Automated Coordination Framework for Objective Architecture Evaluation in Distributed Systems
takasehideki
0
140
論文紹介:Doc-to-LoRA: Learning to Instantly Internalize Contexts
yukako_nakano
0
200
JICA QUEST 共創×革新プログラム Impact Report(海ノ向こうコーヒー)
ontheslope
0
810
就労支援の現場での生成AI活用
enochan
0
130
Développer des solutions de réduction des émissions de méthane entérique : 1ers résultats Méthane 2030
institutdelelevage
PRO
0
240
PHTalks Bengaluru - SSRF When All Else Fails
dk999
0
1.2k
【Zozo Research 技術共有会】三次元領域の現在と展望
mickey_0226
3
680
VRID: View-Invariant Representation through Dual-Axis Transformation for Cross-iew Pose Estimation
satai
3
120
GLIM とMegaParticles:正規分布近似の限界とタイトカップリング&パーティクルフィルタの進展 / GLIM and MegaParticles : Progress of the distribution representation in SLAM
koide3
0
950
MM-OVSeg: Multimodal Optical–SAR Fusion for Open-Vocabulary Segmentation in Remote Sensing
satai
3
150
医療LLMの現在地〜最新研究から社会実装までを考える〜
kento1109
1
1.8k
A new deal for disabled people
resolutionfoundation
0
110
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
560
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
620
The Limits of Empathy - UXLibs8
cassininazir
2
720
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
210
We Are The Robots
honzajavorek
0
390
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Deep Space Network (abreviated)
tonyrice
0
360
Building the Perfect Custom Keyboard
takai
2
900
A Modern Web Designer's Workflow
chriscoyier
699
190k
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 • 狙うならいまのうち!
おわり