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.
→
saisai
October 08, 2019
Technology
0
380
GDG Cloud Cloud Run
saisai
October 08, 2019
Tweet
Share
More Decks by saisai
See All by saisai
GCPUG Sendai Vol2 GKE 入門
saisai
1
390
ゼロから初めたGCP.pdf
saisai
0
510
LaravelとVue.jsのSPAな関係
saisai
0
440
Other Decks in Technology
See All in Technology
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
5
2.8k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
Meshy Proプラン課金した
henjin0
0
250
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
68k
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
560
Digitization部 紹介資料
sansan33
PRO
1
6.8k
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
220
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.2k
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
440
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
440
What happened to RubyGems and what can we learn?
mikemcquaid
0
250
あたらしい上流工程の形。 0日導入からはじめるAI駆動PM
kumaiu
5
760
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
430
The SEO Collaboration Effect
kristinabergwall1
0
350
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
170
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Designing for Timeless Needs
cassininazir
0
130
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
120
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
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