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
GDG Cloud Cloud Run
Search
sai
October 08, 2019
Technology
420
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GDG Cloud Cloud Run
sai
October 08, 2019
Transcript
8 slides
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
More Decks by sai
See All by sai
GCPUG Sendai Vol2 GKE 入門
saisai
1
410
ゼロから初めたGCP.pdf
saisai
0
520
LaravelとVue.jsのSPAな関係
saisai
0
520
Other Decks in Technology
See All in Technology
コーディングできない僕にBobが舞い降りた
shumpei3
0
200
認知の質も文化醸成も。数年取り組んで見えてきた技術広報のKPI設計 / Tech PR KPIs: Lessons on Awareness Quality and Culture After Several Years
bitkey
PRO
0
220
IVRy における AI 時代のデータプロダクトと事業開発
ivry_presentationmaterials
0
110
Go でトランザクション、どう書いてますか?
knwoop
2
610
落とし穴にハマってわかった 開発生産性を測るときに気をつけたいこと
munakata
3
500
kubellの最新データ分析環境
kubell_hr
2
270
AIエージェントのアーキテクチャ設計
nsatoh
0
540
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
470
現場に渡し、構造で守る AI エージェントを活用したセルフサーブのデータ基盤の運用
legalontechnologies
PRO
0
120
[NW-JAWS DAY]「うちのAWS、インターネット出られないんで」― AWS外の自社サービスをPrivateLinkでシュッと公開する方法
ykimi
3
930
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
520
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
320
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
340
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
310
BBQ
matthewcrist
90
10k
Facilitating Awesome Meetings
lara
57
7.2k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
360
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
4k
Bash Introduction
62gerente
615
220k
My Coaching Mixtape
mlcsv
0
400
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
How to Think Like a Performance Engineer
csswizardry
28
3k