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
EKS Auto Modeなにそれおいしいの?
Search
saramune
January 16, 2025
Technology
0
140
EKS Auto Modeなにそれおいしいの?
https://jawsugosaka.connpass.com/event/338500/
JAWS-UG大阪 re:Invent re:Cap LT大会 サンバが始まったら強制終了
saramune
January 16, 2025
Tweet
Share
More Decks by saramune
See All by saramune
self-hosted runnersでAWSコスト削減?
saramune
0
140
業務効率向上としての分割キーボード
saramune
0
180
インフラ観点で見るセキュリティ〜4Cモデルに倣って〜
saramune
0
100
適材適所
saramune
1
100
ChatworkのSRE部って実は 半分くらいPlatform Engineering部かもしれない
saramune
0
650
週刊AWSキャッチアップ(2024/03/25週)
saramune
0
140
なんでもかんでもコンテナ化すればいいってもんでもないけど なんでもかんでもコンテナ化したらスッキリしました
saramune
2
420
ACKを活用して 使い捨てAWS検証環境を構築している話
saramune
0
1.3k
KubernetesとTerraformのセキュリティ/ガバナンス向上委員会 with OPA
saramune
2
1.6k
Other Decks in Technology
See All in Technology
データアナリストからアナリティクスエンジニアになった話
hiyokko_data
2
440
2025年夏 コーディングエージェントを統べる者
nwiizo
0
140
EncryptedSharedPreferences が deprecated になっちゃった!どうしよう! / Oh no! EncryptedSharedPreferences has been deprecated! What should I do?
yanzm
0
240
AIエージェント開発用SDKとローカルLLMをLINE Botと組み合わせてみた / LINEを使ったLT大会 #14
you
PRO
0
110
バッチ処理で悩むバックエンドエンジニアに捧げるAWS Glue入門
diggymo
3
200
2025年になってもまだMySQLが好き
yoku0825
8
4.7k
研究開発と製品開発、両利きのロボティクス
youtalk
1
520
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
210
Automating Web Accessibility Testing with AI Agents
maminami373
0
1.2k
[ JAWS-UG 東京 CommunityBuilders Night #2 ]SlackとAmazon Q Developerで 運用効率化を模索する
sh_fk2
3
390
共有と分離 - Compose Multiplatform "本番導入" の設計指針
error96num
1
380
20250913_JAWS_sysad_kobe
takuyay0ne
2
160
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
36
6.9k
Designing for Performance
lara
610
69k
4 Signs Your Business is Dying
shpigford
184
22k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Embracing the Ebb and Flow
colly
87
4.8k
Done Done
chrislema
185
16k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
For a Future-Friendly Web
brad_frost
180
9.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.1k
Transcript
EKS Auto Modeなにそれおいしいの?
自己紹介 2 • 古屋 啓介 ◦ AWS Community Builders (container)
◦ JAWS-UG SRE支部運営 ◦ ドラム叩きます
まえおき 3 • EKSとは ◦ Amazon Web Services (AWS) 上で、独自の
Kubernetes コントロールプレーン をインストール、運用、保守する必要がないマネージド型サービスです。 ▪ https://docs.aws.amazon.com/ja_jp/eks/latest/userguide/what-is-eks.html • EKS Auto Modeとは ◦ EKS Auto Mode を使用すると、最適なコンピューティングインスタンスの選択、リソー スの動的なスケール、コストの継続的な最適化、コアアドオンの管理、オペレー ティングシステムへのパッチ適用、AWS セキュリティサービスとの統合が行われる ため、Kubernetes の深い専門知識がなくてもクラスター管理を自動化できます。 ▪ https://aws.amazon.com/jp/blogs/news/streamline-kubernetes-cluster-manage ment-with-new-amazon-eks-auto-mode/
まえおき 4 • EKSとは ◦ Amazon Web Services (AWS) 上で、独自の
Kubernetes コントロールプレーン をインストール、運用、保守する必要がないマネージド型サービスです。 ▪ https://docs.aws.amazon.com/ja_jp/eks/latest/userguide/what-is-eks.html • EKS Auto Modeとは ◦ EKS Auto Mode を使用すると、最適なコンピューティングインスタンスの選択、リソー スの動的なスケール、コストの継続的な最適化、コアアドオンの管理、オペレー ティングシステムへのパッチ適用、AWS セキュリティサービスとの統合が行われる ため、Kubernetes の深い専門知識がなくてもクラスター管理を自動化できます。 ▪ https://aws.amazon.com/jp/blogs/news/streamline-kubernetes-cluster-manage ment-with-new-amazon-eks-auto-mode/
わかったよーなわからんよーな 5 なんかマネージドな部分 が増えてそう? 普通のとどれくらい 違うの?
Auto Mode ないとき/あるとき 比較してみた 6 • terraformでのクラスタ作成 • アプリケーションのデプロイ •
バージョンアップ
terraformでのクラスタ作成(1/2) 7 • 必須な項目 ◦ クラスタ名 ◦ バージョン ◦ VPC、サブネット
terraformでのクラスタ作成(2/2) 8 • ないとき ◦ add-onの指定 ◦ Node Group(EC2)の設定 ▪
利用するインスタンスタイプ ▪ スケールの最小最大 • あるとき ◦ 特にほかの設定は不要
アプリケーションのデプロイ(1/2) 9 • 前提 ◦ ALBを使って外部公開するWebアプリケーション ▪ https://docs.aws.amazon.com/eks/latest/userguide/auto-elb-example.html ◦ 自動スケールあり
アプリケーションのデプロイ(2/2) 10 • ないとき ◦ 各種必要なツールのデプロイ ▪ AWS Load Balancer
Controller ▪ Cluster Autoscaler ◦ アプリケーションをデプロイ • あるとき ◦ アプリケーションをデプロイ
• ないとき ◦ Control Planeのバージョンアップ ▪ ボタンポチで待つだけ ◦ Node Groupのバージョンアップ
▪ 色々考慮が必要 バージョンアップ 11 • あるとき ◦ ボタンポチで待つだけ
EKS Auto Mode 美味しかった! 12 • Nodeのキャパシティプランニング不要! ◦ Node Groupの作成・管理不要
• ほしいの大体最初から入ってて管理も不要! ◦ AWS Load Balancer Controller etc… • バージョンアップも楽ちん! ◦ リアルにボタンポチだけ ※とはいえAuto Mode特有の制約もあるので詳しくはドキュメントを!
ここからが本番 13 • EC2 Managed Instance ◦ EKS Auto Modeを可能にした技術
◦ 責任共有モデルの新たな境界線を生み出したのがアツいポイント ◦ 詳しくはrecap資料、ドキュメントにて ▪ https://speakerdeck.com/kashinoki38/eks-auto-mode