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
81
CI/CD実践入門! GitHub ActionsでCI/CD環境を作ってみよう!
shingen29
0
240
ユースケース駆動開発で自社プロダクトを作ってみた!
shingen29
1
6.2k
MDN Web Docsから学ぶ 公式ドキュメントを読むメリット
shingen29
0
790
PHP8をざっくり解説してみる
shingen29
0
280
最近のプロジェクトを振り返ってみる
shingen29
0
340
Style Guideとstylelintを使ってHTML/CSSを綺麗に書こう!
shingen29
2
770
Stripe CLIを触ってみた!
shingen29
1
220
Other Decks in Programming
See All in Programming
役立つログに取り組もう
irof
28
9.6k
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
210
最新TCAキャッチアップ
0si43
0
140
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
860
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
290
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
290
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
230
Remix on Hono on Cloudflare Workers
yusukebe
1
290
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
190
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
110
Featured
See All Featured
What's new in Ruby 2.0
geeforr
343
31k
Adopting Sorbet at Scale
ufuk
73
9.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
4 Signs Your Business is Dying
shpigford
180
21k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Documentation Writing (for coders)
carmenintech
65
4.4k
Navigating Team Friction
lara
183
14k
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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sɺGolangɺPython ͔͑͠ͳ͍͕Cloud Run ͋ΒΏΔݴޠΛ ͑Δ GKEAWSͷECSαʔόཧ͕ඞཁͩ ͚ͲɺCloud Runෆཁ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ