504 Views
August 27, 26
スライド概要
資料代理投稿:登壇者 アマゾンウェブサービスジャパン合同会社 林さん
仕事:運用保守系エンジニア&PM的なことをしています。 AWSチョットわかる。AWS以外はからっきしです。
JAWS-UG NW-JAWS × コンテナ⽀部 コンテナネットワークを学ぼう︕︕ アマゾンウェブサービスジャパン合同会社 © 2026, Amazon Web © 2026, Services, Amazon Inc. or Web its Services, affiliates.Inc. All or rights its affiliates. reserved.All Amazon rights Confidential reserved. Amazon and Trademark. Confidential and Trademark.
アジェンダ ECS のサービス間通信について ハンズオンを通じて学ぶ 1. ハンズオンで登場する概念のおさらい → サービス間通信 → ネットワーキングモード / プライベートネットワーク 2. ハンズオン © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 2
Workshop の全体像 ECS Service Connect VPC Lattice バックエンドを追加 & サービス間通信 モックバックエンドを使⽤した UI サービス © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 3
ECS Service Connect ECS サービスで Service Connect を有効化するとタスクごとに Service Connect プロキシ(Envoy)が ⾃動的に配置される、プロキシを経由してサービス間通信を⾏う Web アプリケーションにおける Amazon ECS / AWS Fargate アーキテクチャデザインパターン - builders.flash © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 4
VPC Lattice ECS Task/EKS Pod/EC2/Lambda/ALB/IPアドレスを Lattice Service として抽象化する ※つまり ECS に限らず利⽤可能 PrivateLink and Lattice - Amazon VPC Lattice Service 編 - AWS Black Belt © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 5
VPC Lattice ECS Task/EKS Pod/EC2/Lambda/ALB/IPアドレスを Lattice Service として抽象化する ※つまり ECS に限らず利⽤可能 PrivateLink and Lattice - Amazon VPC Lattice Service 編 - AWS Black Belt © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 6
[補⾜] Service Discovery ECS サービスで Service Discovery を有効化すると⾃動的に Cloud Map と連携して名前解決可能となる ネットワークトラヒックの情報が取得できないがシンプルな構成 Web アプリケーションにおける Amazon ECS / AWS Fargate アーキテクチャデザインパターン - builders.flash © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 7
[補⾜] ネットワーキングモード タスクレベルで設定する通信⽅式 awsvpc 推奨 タスクごとに ENI が 割り当てられる bridge host ホスト/コンテナのポートを マッピングする ホストのポートを直接利⽤する AWSVPC ネットワークモード - Amazon ECS ワークショップ ブリッジネットワーク - Amazon ECS ワークショップ ホストネットワークモード - Amazon ECS © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 8
[補⾜] プライベートネットワーク ECS でコンテナを動作させるために必要な通信のための VPC Endpoint を設置 ※NAT Gateway を設置してアウトバウンドのみ通信を通す構成ももちろん可能(not プライベート) プライベートネットワークの理解 - Amazon ECS © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 9
[補⾜] プライベートネットワーク ECS でコンテナを動作させるために必要な通信のための VPC Endpoint を設置 ※NAT Gateway を設置してアウトバウンドのみ通信を通す構成ももちろん可能(not プライベート) プライベートネットワークの理解 - Amazon ECS © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 10
[推奨] Workshop の進め⽅ 時間が1.5時間ほどと限られているため、セキュリティ関連項⽬を ⾶ばして、通しでやっていただくことをお勧めします 1︓モックバックエンドのアプリケーションのデプロイ ネットワーキング(オプション) 2︓バックエンドのデプロイと ECS Service Connect + モニタリング 3︓VPC Lattice 4︓VPC Lattice モニタリング © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 11
Thank you! © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.