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
re_invent_2024アップデートで実現可能なアーキテクチャを考える.pdf
Search
clouddev-code
December 09, 2024
330
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
re_invent_2024アップデートで実現可能なアーキテクチャを考える.pdf
clouddev-code
December 09, 2024
More Decks by clouddev-code
See All by clouddev-code
ECSでのinit_containerを利用したOpen_Telmetry自動計装.pdf
cloudevcode
0
180
microVMsのユースケースを考える.pdf
cloudevcode
0
59
cdk8s_Helm_どちらを選ぶべきか_rev.pdf
cloudevcode
0
270
Regional_NAT_Gatewayについて_basicとの違い_試した内容スケールアウト_インについて_IPv6_dual_networkでの使い分けなど.pdf
cloudevcode
1
940
Grafana_LokiをECS_Fargateで構築する観点公開版.pdf
cloudevcode
0
68
ADK_for_Java.pdf
cloudevcode
1
120
initContainerをECSで実現したい.pdf
cloudevcode
0
69
VPC_Lattice検討したが_採用しなかった話.pptx.pptx.pdf
cloudevcode
0
40
GitHub_Copilot_AgentでするMCP_Streamable_HTTPまで.pdf
cloudevcode
0
130
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.8k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
Done Done
chrislema
187
17k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Utilizing Notion as your number one productivity tool
mfonobong
4
610
Fireside Chat
paigeccino
43
4.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Transcript
JAWS-UG横浜 #76 AWS re:Invent 2024 宇宙一早い Recap s.hiruta (@web_se) re:invent
2024により、とりうるアーキテクチャ構成 をコンテナワークロードから考える EKS Auto Mode、VPC Lattice TCP Support、Ambient Mesh
Self introduction 【名前】 s.hiruta ( @web_se ) 【仕事】 コンテナ、マイクロサービス基盤構築 【海外イベント】
re:invent 2014 KubeCon EU 2023 (Amsterdam)、KubeDay Singapore 、KubeCon EU 2024 (Paris)、KubeCon EU 2025 (London)※予定 Github clouddev-code zenn clouddevcode 2
Previous LT Slide https://speakerdeck.com/cloudevcode 3
セッションの目的 • アップデートにより、最適な構成が変わっている。 4
アジェンダ • ECS VPC Lattice integration • EKS Auto Mode
• ECS で、Ambient Mesh 5
Private通信するパターン • VPC Peering • Private Link • Private API
Gateway
ECS VPC Lattice integration
VPC Peering 8 VPC CIDR被ることはできない。
9 Private API 29s default timeout ※緩和できるようにはなったが REST APIの場合、NLBが必要。
PrivateLink 10 NLBが必要。 NLBに加え、コンポーネントが増える。 interface VPC Endpointは若干課金もかか る。
VPC LatticeからECSに繋げる場合 アップデート前 11 ALBが必要で、レイテンシーとか上積みされる。 EKSのGateway APIはこの点優位だった。
アップデート後 12
アップデート後 13 https://qiita.com/minorun365/items/7f73aa1fe1ef2ca0c2c7
EKS Auto Mode 14 • 概要
アップデート前 • EKS Fargate、Daemonset使えない • Pod/Node 1対1なので、過剰コストになるケースも • Managed nod
groupを使う方法もあるが、EC2責任 範囲はユーザとなる • ARM、Spot使えない 15
アップデート後 16 • Managed Karpenter • Worker Node インスタンスの責任範囲もAWS
Start EKS Auto Mode 17 • 作成時間10分 • Management console、eksctl
(0.195.0以上)
Start EKS Auto Mode 18
Pod スケールアウト 19 • Podが存在していないときはNodeインスタンスは 存在しない • Podを作成する要求がk8s APIにながれると、ノード インスタンスが作成される
• 必要なキャパシティのインスタンスが選択され、作 成される • Podがいなくなったら、ノードも削除される
Pod Topology Spread 20
ECSで、Ambient Mesh 21 2026/9、App MeshがEOL マネージドなService Meshがなくなる。
ECSで、Ambient Mesh 22 Transforming Istio into an enterprise-redly service mesh
for Amazon ECS のブロ グで、solo.ioで提供しているIstio コントールプレーンで使える。
Ambient Meshとは 23 https://istio.io/latest/blog/2022/introducing-ambient-mesh/
まとめ • アップデートにより、できなかった構成もできるよう になるケースもあるので、日々キャッチアップは大 切 • 24
索引 • Migrate Amazon ECS service communication to Amazon VPC
Lattice – https://aws.amazon.com/blogs/networking-and-content-delivery/migrate-amazon-ecs-service-communic ation-to-amazon-vpc-lattice/ • VPC Lattice サービスネットワーク内での SaaS サービス接続 – https://aws.amazon.com/jp/blogs/news/connecting-saas-services-within-a-vpc-lattice-service-network/ • Create cluster with EKS Auto Mode – https://docs.aws.amazon.com/eks/latest/userguide/create-auto.html • [Kubernetes] PodのAZ分散を実現するPod Topology Spread ConstraintsとDescheduler – https://zenn.dev/tmrekk/articles/07f30b09c26b50 • Pod Topology Spread Constraints – https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/ • Transforming Istio into an enterprise-ready service mesh for Amazon ECS – https://aws.amazon.com/blogs/containers/transforming-istio-into-an-enterprise-ready-service-mesh-for-a mazon-ecs/ • しれっと登場したVPC Latticeって何者!? よく分からんから3行で頼む! – https://qiita.com/minorun365/items/7f73aa1fe1ef2ca0c2c7 25