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
Google Cloud Next '24 Recap(Cloud Run/k8s)
Search
mokonist
April 25, 2024
Technology
1.1k
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.7k
1年間モダンなアプリへの移行支援をやってみて分かった、モダナイズの重要性と難しさ
mokocm
1
1.6k
レガシーシステム、モダナイズへの道筋
mokocm
0
1.8k
Application Composerのすすめ
mokocm
0
1.5k
devio-2022-sapporo-moko.pdf
mokocm
2
170
DeepDive into Modern Development with AWS
mokocm
1
1.4k
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
[モダンアプリ勉強会]今更聞けないGit/GitHub入門
tsukuboshi
0
360
SIer20年! 培ったスキルがスタートアップで輝く時
shucho0103
0
830
2026TECHFRESH畢業分享會 - Lightning Talk - 資料也要 CI/CD? 用 Airbyte 自動化資料同步
line_developers_tw
PRO
0
720
非定型業務をAI slackbotで自動化する ~ 社内要望を自動壁打ちするbotを作った ~/automating-ad-hoc-work-with-ai-slackbot
shibayu36
0
580
あなたの AI ワークスペースに、 専門コーダーを連れてくる - Amazon Quick Desktop 最新情報
kawaji_scratch
1
130
2026.06.13_AI時代に事業会社が「SIer出身エンジニア」を求める理由 / Why Businesses Seek Engineers with a System Integrator Background in the AI Era
jumtech
0
1k
Agentic ERPをどう設計するか ー 受発注エージェントを動かす、現場の知見と設計思想ー
recerqainc
1
2.2k
AI駆動開発が変える、大規模開発の前提 ーHuman in the Loop から Human on the Loop へ / AIE2026
visional_engineering_and_design
30
24k
2026TECHFRESH畢業分享會 - AI 時代的人生存檔點
line_developers_tw
PRO
0
730
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.9k
2026TECHFRESH畢業分享會 - Lightning Talk - E起 See See : 電商推薦讀心術? 數據說了算
line_developers_tw
PRO
0
720
小さく始める AI 活用推進 ― 日経電子版 Web チームの事例/nikkei-tech-talk47
nikkei_engineer_recruiting
0
200
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
160
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Google's AI Overviews - The New Search
badams
0
1k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
So, you think you're a good person
axbom
PRO
2
2.1k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
560
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
WENDY [Excerpt]
tessaabrams
11
38k
Chasing Engaging Ingredients in Design
codingconduct
0
220
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
400
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
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