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
Ruby on Rails on Azure
Search
Tatsuya Sato
August 01, 2017
Technology
1.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ruby on Rails on Azure
TokyuRuby会議 #11 のLT資料
Tatsuya Sato
August 01, 2017
More Decks by Tatsuya Sato
See All by Tatsuya Sato
受託開発受注のためのちょっとしたコツ 〜「何でもかんでもやります」じゃなく、まずはデモ〜 / demonstation first
satoryu
0
1.8k
これが私のXP 〜 eXtreme Punning 〜 変化をウケろ / this is my XP
satoryu
1
2.4k
音のような言葉 〜ちゃちゃっとチャットで楽しむちょっとしたコツ〜 / words like sounds
satoryu
1
4k
ふらっと立ち寄れる 廊下のある風景 - フラットでオープンネスがもたらす魅力 / The Corridor
satoryu
1
3.2k
Make it fun
satoryu
1
4.4k
なぜ私はチームにい続けるのか。あるいは、エンジニアとしての成長のためのチームの活用について。 / Why I continue to be in the team #RSGT2021
satoryu
0
6.6k
リモート時代のソロプログラミング - soloprogramming for work from home
satoryu
0
1.8k
Why do you fear contributing OSS? #xpjug
satoryu
5
13k
あるOSSの死と再生、それとこれから先 / How an OSS also arises
satoryu
0
380
Other Decks in Technology
See All in Technology
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
130
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
5
1.2k
Rust で関数型ドメインモデリング
takonda
0
170
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
210
Running Kotlin + Quarkus with Lambda
nealle
1
4.1k
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
5
1.4k
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
210
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.4k
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
130
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
300
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
200
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
510
Featured
See All Featured
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
710
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
480
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
Game over? The fight for quality and originality in the time of robots
wayneb77
1
310
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Transcript
Ruby on Rails on Azure ͞ͱ͏ ͨͭ
ࣗݾհ
ࠤ౻ཽ ɹ@sato_ryu Ruby, Agile, Azure, OSS Gate ࠷دΓӺژٸകෑӺ ௨ۈ౦ٸଟຎઢ
Botch ΅ͬͪ
μδϟϨ
ϝιουͷϒϩά http://simplearchitect.hatenablog.com/entry/2017/06/19/080036
Mobprogrammer ίί
Mobprogramming ಛʹίί
ϘονͰ μδϟϨΛͭͿ͘ Mosh’sh Mateͳ ࣗশRubyist ͷ ࠤ౻Ͱ͢ɻ
ຊ
Ruby on Rails on Azure
Microsoft Azure
Railsʹ༏͘͠ͳ͍ɻ
͓Αͦ1લ
–Tatsuya Sato “Rails ΛAzure ʹσϓϩΠ͍ͨ͠ɻ”
·ͣਖ਼͍͠ํ๏
ݻ͍ํ๏ • Azure Virtual Machine • AWSͷEC2 ૬ • Linux
OSʹCapistranoͰσϓϩΠͰ͖ΔڥΛߏங
φ͍ํ๏ • Azure Container Service/Instances • DockerίϯςφϗεςΟϯάαʔϏε • Public·ͨPrivateͷίϯςφΠϝʔδͰRailsڥΛσϓϩΠ
͔͠͠1લ
ঢ়گ͕ҧ͏ • Azure Container Service/Instance ·ͩແ͍ɻ • Azure Virtual Machine
ʹ࣮ߦڥ࡞Δͷ໘͍͘͞… • Chef, Ansible Ͱॻ͚ྑ͍ͱ͍͑ɺͦ͏͚ͩͲ…
–Tatsuya Sato “PaaS͕ཉ͍͠ɻ”
–Tatsuya Sato “PaaS͕ཉ͍͠ɻ”
Azure Web App
Azure Web App • Git FTPܦ༝ͰιʔεΛσϓϩΠͰ͖ΔΞϓϦέʔγϣϯ࣮ߦڥ • Windows Server +
IIS • αϙʔτݴޠ • Java • Node.js • PHP • Python
Rubyαϙʔτແ͠
ઌਓͷܙΛआΓΔɻ
ͣ͘ Kudu
Kudu • Web App Πϯελϯε্ͰσϓϩΠޙͷηοτΞοϓΛ࣮ࢪ͢Δί ϯϙʔωϯτ • ϦϙδτϦʹ .deployment ϑΝΠϧͰηοτΞοϓΛఆٛ
.deployment ͰΔ͜ͱ • RubyInstaller for Windows ΛΠϯετʔϧ • PATHΛॻ͖͑Δ •
DevKitΠϯετʔϧ
.deployment ͭΒ͍ • ͱʹ͔͘λΠϜΞτ • RubyInstallerͷμϯϩʔυ͕ऴΘΒͳ͍ɻ • Πϯετʔϧ࣌ͷΠϯελϯεͷঢ়گʹΑͬͯϋϯά͢Δɻ
σϓϩΠͰ͖ͯਏ͍ • ͬͺΓWindows Server্ͰRubyΛϝϯς͢Δͷਏ͍ • ೖΒͳ͍gem͕͋Δɻ
–Tatsuya Sato “Windows Server ͰRubyɺμϝɺθολΠ”
͋Ε͔Β1લ
Azure Web App on Linux (Preview)
Azure Web App on Linux • LinuxϕʔεͷDockerίϯςφΛαϙʔτͨ͠Web App • ͜Ε·Ͱ௨ΓGitFTPͰσϓϩΠՄೳ
• αϙʔτ͍ͯ͠ΔϥϯλΠϜͰ͋ΕDockerfile͍Βͣ
Ruby is officially supported!
νϡʔτϦΞϧ͕͋Δʂ
νϡʔτϦΞϧͷखॱ • rails new Ͱ৽نϓϩδΣΫτ࡞ • σϓϩΠઌͷgit ϦϙδτϦΛొ • git
push • ͜Ε͚ͩʂ
None
None
͑ͬʂʁ
ͱʹ͔͘੬͍ • σϓϩΠޙʹΞΫηε͢Δͱࢮ͵ɻ • σϓϩΠޙʹΞΫηε͢ΔͱϑΝΠϧ͕Ϟϩݟ͑ɻ • σϓϩΠதʹಥવࢮ͵ɻ • σϓϩΠޙʹࢮ͵ɻ
ʢެࣜʣਖ਼͍͠खॱ • σϓϩΠޙʹϙʔλϧը໘͔Β࠶ىಈ͠·͠ΐ͏ɻ https://docs.microsoft.com/ja-jp/azure/app-service-web/app-service-linux-ruby- get-started#deploy-your-application
·ͱΊ • ·ͩAzure Web App on LinuxͰRailsਏ͍ɻ • Azure ͰRailsΓ͍ͨͳΒVM͔Container
Service/Instance