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
GDG Cloud Cloud Run
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
sai
October 08, 2019
Technology
400
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GDG Cloud Cloud Run
sai
October 08, 2019
More Decks by sai
See All by sai
GCPUG Sendai Vol2 GKE 入門
saisai
1
400
ゼロから初めたGCP.pdf
saisai
0
510
LaravelとVue.jsのSPAな関係
saisai
0
470
Other Decks in Technology
See All in Technology
インシデント事例と パッケージの全量解析に学ぶ ソフトウェアサプライチェーンの守り方 / supply-chain-attack-defense
flatt_security
0
890
生成 AI 時代にいま一度「問い合わせ」について考えてみる
kazzpapa3
1
130
伝票作成AIエージェントを支える、LLMOpsとインフラの選択肢 / AICon2026_takeda
rakus_dev
0
260
AI、CDK と協働する Full TypeScript アプリケーション開発 / Full TypeScript Application with AI and CDK
geekplus_tech
2
480
穢れた技術選定について
watany
19
6.1k
壊して学ぶAWS CDK: そのcdk deployで消えるもの、残るもの
k_adachi_01
1
480
データエンジニアリングとドメイン駆動設計
masuda220
PRO
14
2.5k
【公開用】AI_Dev_Ex2026_AI_登壇資料
matsuritechnologies
PRO
1
470
設計レビューとAIハーネスで向き合う AIが生み出した新しいボトルネックの対処法 / Design Reviews and AI Harnesses Against New Bottlenecks Created by AI
nstock
4
430
AI時代の開発生産性は、個人技からチーム設計へ
moongift
PRO
4
2.5k
2026年のソフトウェア開発を考える(2026/07版) / Agentic Software Engineering 2026-07 Findy Edition
twada
PRO
25
10k
キャリアLT会#3
beli68
2
230
Featured
See All Featured
Practical Orchestrator
shlominoach
191
11k
The Cult of Friendly URLs
andyhume
79
7k
Automating Front-end Workflow
addyosmani
1370
210k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Being A Developer After 40
akosma
91
590k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
880
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
190
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Are puppies a ranking factor?
jonoalderson
1
3.7k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Transcript
GDG Cloud Sendai Cloud Run 2019.10.8 saisai
Cloud Runとは 1.HTTPリクエストをリッスン 2.Knativeベース 3.ステートレスなコンテナサービス 4.GCPのカテゴリとしてはサーバーレスの一つ 2 Cloud Functions App
Engine Cloud Run サーバーレスサービス
何がいいのか HTTPリクエストをさばくコンテナがあればそのままデプロイ可能、 オートスケール、GKEも対応 knativeベースなのでマルチクラウド対応可能 3
ユースケース パブリック Web App mBaas 4 プライベート Worker micro Service
考慮すべきところ VPCに対応していない オートスケールされることを考慮 0.0.0.0かつPORT環境変数で設定されたポートでリッスン (現在は8080のみ) リクエストを受けてから4分以内に応答が必要 Global IPが不定 参考:制約事項 https://cloud.google.com/run/docs/reference/container-contract
5
試してみる1 6 コマンドからやってみよう QuickStart https://bit.ly/35fHyds 構築できたら 1.endpointにアクセスしてログを確認 2.yamlをみてみよう
試してみる2 7 コンソール画面からやってみよう 1で作成したイメージを指定して「認証あり」でサービ スをつくってみる 構築できたら 1.endpointにアクセスして403になること 2.ヘッダーに認証トークンを付与してアクセス $curl -H
"Authorization: Bearer $(gcloud auth print-identity-token)" ENDPOINT
最後に 一緒にやっていく方を大募集します! 初心者大歓迎(触ったこと無いけど興味あるとかでも可) 8