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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
protovalidate-es を導入してみた
bengo4com
0
170
脆弱性対応、どこで線を引くか
rymiyamoto
0
350
非定型業務をAI slackbotで自動化する ~ 社内要望を自動壁打ちするbotを作った ~/automating-ad-hoc-work-with-ai-slackbot
shibayu36
0
580
自律型AIエージェントは何を破壊するのか
kojira
0
150
MIERUNE JCT 発表資料「宇宙から伊能忠敬ごっこ」
syuchimu
0
200
ポケモンの型をTypeScriptの型システムで表現してみた
subroh0508
0
370
小さく始める AI 活用推進 ― 日経電子版 Web チームの事例/nikkei-tech-talk47
nikkei_engineer_recruiting
0
200
Dario Amodi『Policy on the AI Exponential』を理解する
nagatsu
0
210
失敗を経て、Harness Engineering で 大切にしたいことを考える / Learning from Failure: What Matters in Harness Engineering
bitkey
PRO
1
290
How Timee Delivers Day 1 Production Ready LLM Features
tomoyks
0
110
Microsoft Build Keynoteふりかえり
tomokusaba
0
120
地球に⽣きるAI —GeoAIと「中間領域」— / AI Living on Earth — GeoAI and the “Intermediate Layer” —
ykiyota
0
270
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
247
13k
The Cost Of JavaScript in 2023
addyosmani
55
10k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
730
Utilizing Notion as your number one productivity tool
mfonobong
4
320
New Earth Scene 8
popppiees
3
2.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.9k
How to Talk to Developers About Accessibility
jct
2
230
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
230
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
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