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
VPC Lattice vs VPC Endpoint ~異なる VPC のプライベートリソー...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kubo
September 28, 2025
210
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
VPC Lattice vs VPC Endpoint ~異なる VPC のプライベートリソースにアクセスには?~
Kubo
September 28, 2025
More Decks by Kubo
See All by Kubo
Kiro WebとClaude CodeでReactアプリをさくっとデプロイ!
kubomasataka
0
230
コーディングAIエージェントの歴史と関連技術
kubomasataka
1
360
AWS Devops Agent ~ 自動調査とSlack統合をやってみた! ~
kubomasataka
3
2k
AWS re:Invent 2025~初参加の成果と学び~
kubomasataka
1
350
AWS re:Invent 2025~成果&アクションアイテム~
kubomasataka
0
260
【入門】AWS Amplify (× Next.js)~AWS上に静的Webサイトを移行する案件を発見!~
kubomasataka
0
180
(続) VPC Lattice vs VPC Endpoint ~Latticeサービスネットワークを使い倒すための序章~
kubomasataka
1
220
フロントエンド克服へ~ 生成AIによる伴走で活躍の幅を広げる ~ 2
kubomasataka
0
160
フロントエンド克服へ~ 生成AIによる伴走で活躍の幅を広げる ~
kubomasataka
0
120
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
510
Into the Great Unknown - MozCon
thekraken
41
2.7k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Thoughts on Productivity
jonyablonski
76
5.4k
Navigating Weather and Climate Data
rabernat
0
540
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.9k
Paper Plane
katiecoart
PRO
4
53k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
690
Claude Code のすすめ
schroneko
67
230k
Transcript
VPC Lattice vs VPC Endpoint ~異なる VPC のプライベートリソースにアクセスには?~
きっかけ&話すこと VPC ピアリング? Transit Gateway? VPC Lattice? 何が必要? どんなアーキ? そもそも実現性は?
VPC コンソールを捜索 • VPC エンドポイント ◦ Resource 型 VPC エンドポイント・・・①
◦ Service Network 型 VPC エンドポイント・・・② • Lattice ◦ サービスネットワーク ◦ Lattice サービス・・・③ ◦ リソース設定 ◦ リソースゲートウェイ ◦ ターゲットグループ???
検証内容&方法 ①,②,③を構築 何が必要? どんなアーキ? そもそも実現性は?
① Resource 型 VPC エンドポイント 1. RGW 2. リソース設定 3.
VPC エンドポイント
リソース設定の作成
注意点:エンドポイントポリシー非対応
アクセス制御:SG type : PostgreSQL protocol : TCP port : 5432
source : CloudShell SG (インバウンドルール:なし) type : PostgreSQL protocol : TCP port : 5432 source : RGW SG
疎通確認
② Service Network 型 VPC エンドポイント 1. RGW 2. リソース設定
3. Lattice サービスネットワーク(SGが設定必須でした) 4. VPC エンドポイント
Lattice サービスネットワークの作成
注意点:エンドポイントポリシー非対応
アクセス制御:SG, LatticeサービスネットワークIAM認証 type : PostgreSQL protocol : TCP port :
5432 source : CloudShell SG type : PostgreSQL protocol : TCP port : 5432 source : RGW SG (インバウンドルール:なし)
疎通確認
③ Lattice サービス 1. ターゲットグループ 2. Lattice サービス 3. Lattice
サービスネットワーク
ターゲットグループの作成 Amazon Aurora は VPC 内に DB クラスターを作成する際に、 DB サブネットグループの
IP アドレスを使用して DB クラスターにネットワークインターフェースを割り当てます。ただし、 DB クラスターへの接続にはドメインネームシステ ム (DNS) 名を使用することを強くお勧めします。これは、フェイルオーバー時に基盤となる IP アドレスが変更される ためです。
Lattice サービスの作成
Lattice サービスネットワークの作成
アクセス制御: SG, LatticeサービスネットワークIAM認証 (インバウンドルール:なし)
疎通確認 サービスネットワークのドメイン名でアクセスする
制約 • Resource 型 VPC エンドポイントと RGW は少なくとも1つの AZ が重複している必
要がある • RGW を作成するにはサブネットで /28 ブロックが必要 • ターゲットグループは複数リスナーへの関連付けが不可 • 1 VPC に関連付けられる Lattice サービスネットワークは1つだけ
まとめ • VPC エンドポイントと VPC Lattice を用いて異なるVPCのプライベートリソースに アクセスする方法を学習した • IAM,
SG でアクセス制御可能なリソースを洗い出し,今回は後者のみの構築となっ たがセキュアな環境を構築できた • VPC ピアリング異なり, CIDR 重複を気にしなくてOK • Resource 型 / Service Network 型 VPCエンドポイント, VPC Latticeを適切に使 い分けられるかが課題
さいごに • Zenn https://zenn.dev/kubo_gene • X https://x.com/kubo_gene
finish