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
microVMsのユースケースを考える.pdf
cloudevcode
0
52
cdk8s_Helm_どちらを選ぶべきか_rev.pdf
cloudevcode
0
160
Regional_NAT_Gatewayについて_basicとの違い_試した内容スケールアウト_インについて_IPv6_dual_networkでの使い分けなど.pdf
cloudevcode
1
940
Grafana_LokiをECS_Fargateで構築する観点公開版.pdf
cloudevcode
0
66
ADK_for_Java.pdf
cloudevcode
1
120
initContainerをECSで実現したい.pdf
cloudevcode
0
48
VPC_Lattice検討したが_採用しなかった話.pptx.pptx.pdf
cloudevcode
0
37
Presentation_-_コンテナイメージ高速化技術.pptx.pdf
cloudevcode
0
46
GitHub_Copilot_AgentでするMCP_Streamable_HTTPまで.pdf
cloudevcode
0
130
Featured
See All Featured
Speed Design
sergeychernyshev
33
2.1k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
Believing is Seeing
oripsolob
1
220
Done Done
chrislema
186
16k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Heart Work Chapter 1 - Part 1
lfama
PRO
9
36k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
430
Discover your Explorer Soul
emna__ayadi
2
1.3k
Docker and Python
trallard
47
4.2k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
How GitHub (no longer) Works
holman
316
150k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
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