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
Google Cloud Next '24 Recap(Cloud Run/k8s)
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
mokonist
April 25, 2024
Technology
1.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Google Cloud Next '24 Recap(Cloud Run/k8s)
mokonist
April 25, 2024
More Decks by mokonist
See All by mokonist
devio-2024-Introduction-golang-backend
mokocm
7
4.8k
1年間モダンなアプリへの移行支援をやってみて分かった、モダナイズの重要性と難しさ
mokocm
1
1.7k
レガシーシステム、モダナイズへの道筋
mokocm
0
1.8k
Application Composerのすすめ
mokocm
0
1.6k
devio-2022-sapporo-moko.pdf
mokocm
2
180
DeepDive into Modern Development with AWS
mokocm
1
1.5k
IaCで全てが上手くいくと思うなよ_失敗事例のご紹介.pdf
mokocm
0
9.7k
re:Growth infra 2020
mokocm
0
4.8k
入社1年でAWS資格フルコンプして本書いた話
mokocm
0
3.9k
Other Decks in Technology
See All in Technology
検証フェーズはAIの回答を判断するための学習機会
toru_kubota
2
380
覗いてみよう 関数型ビジュアル言語×2Dグラフィックスの世界
yohyamasaki
0
170
Lambda MicroVMsは常駐サーバーの代わりに なるか? Kiro Crew を動かして検証してみた / Kiro Crew on Lambda MicroVMs
k_adachi_01
2
350
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
220
オブザーバビリティを高める AI エージェント体験を考える / Designing AI Agent Experiences That Enhance Observability
aoto
PRO
2
220
Execution in the Kingdom of Agents: Reflections on Abstraction and Complexity
bcantrill
0
740
Claude起点の仕様駆動開発
tanakaseiya
0
300
1万名の社員が使う認証基盤で どう信頼性を担保するか?
kairim0
0
180
生成AIを使って「人が」考える技術 ― AI時代の人機共想と実践ノウハウ|UNITT AC2026
ishiirikie
0
520
AI臭い文章とは何なのか
nasuvitz
38
77k
【データ横丁主催】AI Agentがコンテキストを使って仕事をした後、何が残るのか― 組織の経験を次の判断に引き継ぐ「Agent Memory」
shisyu_gaku
2
320
Claude Designがめちゃくちゃ便利なので使ってほしい
diggymo
0
230
Featured
See All Featured
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
350
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
710
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
Evolving SEO for Evolving Search Engines
ryanjones
0
300
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
260
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
560
Side Projects
sachag
456
43k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Balancing Empowerment & Direction
lara
6
1.3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
A better future with KSS
kneath
240
18k
Transcript
コンテナ系のセッション めっちゃよかった︕ Cloud RunとKubernetesコスト最適化 Recap 1 AWS事業本部モダンアプリケーションコンサルティング部 ソリューションアーキテクト ⾨別優多
2 ハッシュタグ #cm_next24recap
3 自己紹介 門別 優多 – moko クラスメソッド株式会社 AWS事業本部モダンアプリケーション コンサルティング部 Twitter,
GitHub: @mokocm モダンな技術スタックを用いた開発の支援を やってます 2020-2023 Japan AWS Top Engineer 2021, 2023 Japan AWS All Certifications Engineers 2022年技能五輪国際大会クラウドコンピューティング職種 敢闘賞 好きなGoogle Cloudサービス: Cloud Tasks
4 Google Cloud Next ‘24!!!!
None
None
7 ところで皆さん、Cloud Run 使ってます?
8 Cloud Run 開発者体験良いし最高!!
9 Cloud Run Cloud DEV205 Cloud Run: What’s New https://cloud.withgoogle.com/next?session=DEV205#all
10 アップデートRecap
11 Volume Mounts NFSかCloud Storage Fuse をCloud Run上にマウント可能に!
12 Automatic Security Updates 言語のランタイム、言語の依存関係、OSパッケージ、カーネルなど ダウンタイム無しで更新可能に!
13 Deterministic URL URLはこれまでデプロイしないと分からなかったが、最初から固定になった!
14 Gemini in Cloud Run Recommendations Cloud Run と Gemini
を連携させて、チャット上などからQ&Aできる!
15 Direct VPC Egress GA Cloud Run環境からVPCに直接繋ぎにいけるようになった!(GA)
16 Multi-region services Multi regionに対してCloud Runをコマンド一発でデプロイできるようになった!
17 Application canvas Cloud Run とデータベース、VertexAIなど周辺のツールをGUIで まるっと作成出来るようになった!
18 Cloud Service Mesh With Cloud Run Cloud Service MeshにCloud
Runも対応!
19 大量アップデート!!!
20 続いて Kubernetesセッション
21 Kubernetesの信頼性、コスト効率化 DEV306 Why Google Kubernetes Engine uniquely supports the
reliability-first approach https://cloud.withgoogle.com/next/session-library?session=DEV306#all
22 Kubernetes費用最適化のためのゴールデンシグナル State of Kubernetes Cost Optimization(Kubernetes の費用最適化の現状)レポートを初公開 https://cloud.google.com/blog/ja/products/containers-kubernetes/new-report-state-of-kubernetes-cost-optimization
23 Kubernetesの信頼性、コスト効率化 BestEffort, Burstable, Guaranteed spec.containersのresourcesの定義方法により挙動が変わる
24 Kubernetesの信頼性、コスト効率化 “Kubernetesのコスト最適化は、適切なリソースリクエストを設定する重要性を理 解することから始まる” ・BestEffort Podsがあると、ノー ドのメモリを使い切ってしまうと OOMでkillされたり、Kubernetes によりevictionされる可能性があ る
・CPUがスロットルされても良い のか、バッチジョブの場合はちゃ んとチェックポイントがあるのか、 最低限の信頼性があるのかを確認 する ・詳細はKubernetesのNode Pressure Eviction記事を参照 https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/
25 Kubernetesの信頼性、コスト効率化 BestEffortやMemoryを少なくProvisioningした信頼性の問題は断続 的でデバッグが難しい 特にMemoryを少なくProvisioningしたり、リクエストを設定しな いワークロードはコスト最適化の測定方法を歪める可能性もある。
26 GKE Workloads at Risk Dashboard
27 Evicted Pod, OOM Killer Log ExplorerからKubernetesのEvicted Pod, OOM Killerのログを検索できる
28 まとめ
29 まとめ ・Cloud Run ・Product Owner セッションで大量アップデート! ・個人的に超うれしい ・Direct VPC
Egress GA ・まじで嬉しい ・Google Cloud Service Mesh対応(Private Previewのため触れず、、ぐぬぬ) ・本格的にCloud RunがEnterprise readyになってきている ・Kubernetesセッション ・普段何気なくrequest/limitを指定していたので、とても勉強になった ・QoSについてちゃんと調べるとcgroupの話になってくるので、まじで奥が深い ・https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure- eviction/ ・https://kubernetes.io/ja/docs/concepts/scheduling-eviction/pod-overhead/
30