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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
Agent_Core_Interpreter_その他のSandox環境について.pdf
cloudevcode
0
31
ECSでのinit_containerを利用したOpen_Telmetry自動計装.pdf
cloudevcode
0
210
microVMsのユースケースを考える.pdf
cloudevcode
0
68
cdk8s_Helm_どちらを選ぶべきか_rev.pdf
cloudevcode
0
340
Regional_NAT_Gatewayについて_basicとの違い_試した内容スケールアウト_インについて_IPv6_dual_networkでの使い分けなど.pdf
cloudevcode
1
950
Grafana_LokiをECS_Fargateで構築する観点公開版.pdf
cloudevcode
0
75
ADK_for_Java.pdf
cloudevcode
1
120
initContainerをECSで実現したい.pdf
cloudevcode
0
76
VPC_Lattice検討したが_採用しなかった話.pptx.pptx.pdf
cloudevcode
0
44
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Design in an AI World
tapps
1
380
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
770
Art, The Web, and Tiny UX
lynnandtonic
304
22k
The SEO Collaboration Effect
kristinabergwall1
1
610
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
500
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
410
Unsuck your backbone
ammeep
672
58k
Evolving SEO for Evolving Search Engines
ryanjones
0
350
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
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