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
20190505_CloudNativeMiyazaki.pdf
Search
大塚真言
May 05, 2019
Programming
1
41
20190505_CloudNativeMiyazaki.pdf
大塚真言
May 05, 2019
Tweet
Share
More Decks by 大塚真言
See All by 大塚真言
自社プロダクトを作ってみた.pdf
shingen29
0
250
CI/CD実践入門! GitHub ActionsでCI/CD環境を作ってみよう!
shingen29
0
82
CI/CD実践入門! GitHub ActionsでCI/CD環境を作ってみよう!
shingen29
0
240
ユースケース駆動開発で自社プロダクトを作ってみた!
shingen29
1
6.3k
MDN Web Docsから学ぶ 公式ドキュメントを読むメリット
shingen29
0
810
PHP8をざっくり解説してみる
shingen29
0
290
最近のプロジェクトを振り返ってみる
shingen29
0
350
Style Guideとstylelintを使ってHTML/CSSを綺麗に書こう!
shingen29
2
780
Stripe CLIを触ってみた!
shingen29
1
220
Other Decks in Programming
See All in Programming
php-conference-japan-2024
tasuku43
0
260
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
320
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
270
複雑な仕様に立ち向かうアーキテクチャ
myohei
0
170
Jakarta EE meets AI
ivargrimstad
0
240
たのしいparse.y
ydah
3
120
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
180
103 Early Hints
sugi_0000
1
230
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
330
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
rails statsで大解剖 🔍 “B/43流” のRailsの育て方を歴史とともに振り返ります
shoheimitani
2
930
Security_for_introducing_eBPF
kentatada
0
110
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
450
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
GitHub's CSS Performance
jonrohan
1030
460k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
A designer walks into a library…
pauljervisheath
204
24k
Embracing the Ebb and Flow
colly
84
4.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Transcript
Cloud Run ΛͬͯΈͨʂ 2019/05/05 Cloud Native Miyazaki #1 େ௩ਅݴ
ຊͷྲྀΕ ɾࣗݾհ ɾCloud Runͷಛ ɾCloud RunΛͬͯΈΔ
ࣗݾհ ɾ໊લɹɿେ௩ ਅݴʢMakoto Otsukaʣ ɾ໊͋ͩɿ͠Μ͛Μ ɾTwitterɿ@mametra ɾॴଐɹɿ߹ಉձࣾϊϚυϦ ද ɾεΩϧɿLaravel, Vue.js,
Firebase ɾझຯɹɿΩϟϯϓ, ϑΣε
Cloud Run ͱ Google Cloud Next 2019 in San Francisco
ʢ20194݄9~11ʣͰൃද Kubernetes ্ͰαʔόʔϨεڥΛ࣮ݱ͢Δ Knative Λϕʔεʹͨ͠ɺ৽͍͠αʔόʔϨε ͷαʔϏε
͏গ͠Θ͔Γ͘͢ʂ
Cloud Run ͱ HTTPϦΫΤετ Dockerίϯςφ αʔόʔϨε
Cloud Run ͱ HTTPϦΫΤετΛհͯ͠ݺͼग़ͤΔ Dockerίϯςφͷߏங/ཧ͕Ͱ͖Δ αʔόʔϨεϓϥοτϑΥʔϜ
Cloud Run ͷಛ IUUQTXXXZPVUVCFDPNXBUDI WO+-;GN6"
ͭ·Γʂ
None
Cloud Run ͍͍ͱ͜ͲΓ ίϯςφͷϝϦοτ ɾߏங͕؆୯Ͱࣗ༝͕ߴ͍ ɾҙͷݴޠ/ϑϨʔϜϫʔΫ/ϥΠϒϥϦΛ͑Δ αʔόʔϨε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ͷECSαʔόཧ͕ඞཁͩ ͚ͲɺCloud Runෆཁ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ