Kiến trúc hub-and-spoke: Transit Gateway, Direct Connect và shared services VPC
Khi số VPC và data center tăng lên, việc kết nối từng cặp với nhau trở nên khó quản lý; một điểm trung tâm cho phép mọi mạng kết nối qua đó và dùng chung các dịch vụ nền.
MFTECH đã có 25 VPC cho các kho, một data center nối bằng Direct Connect, và vừa sáp nhập một công ty có data center và VPC tại châu Âu. Mỗi tình huống dưới đây so sánh thiết kế theo từng VPC với thiết kế tập trung. Chọn thiết kế và gửi request để quan sát đường đi.
Nhấn Gửi request để quan sát từng bước xử lý. Thay đổi lựa chọn và chạy lại để so sánh kết quả.
Direct Connect có ba loại virtual interface: private VIF truy cập VPC bằng private IP (gắn với VGW hoặc Direct Connect gateway), public VIF truy cập public endpoint của AWS như S3, và transit VIF truy cập một hoặc nhiều Transit Gateway thông qua Direct Connect gateway. Một Direct Connect gateway đã gắn với VGW hoặc private VIF thì không gắn được với Transit Gateway.
- Nhiều VPC cùng Region và data center qua Direct Connect: một transit VIF tới Direct Connect gateway, gateway associate với Transit Gateway, các VPC attachment bật route propagation.
- Nhiều Region: private VIF tới Direct Connect gateway (toàn cầu, trừ các Region Trung Quốc) và associate VGW của từng Region; Direct Connect gateway không chuyển traffic giữa hai VGW.
- Interface endpoint dùng chung cho nhiều VPC: shared services VPC, tắt private DNS của endpoint, private hosted zone associate với các spoke VPC.
Hub-and-spoke architecture: Transit Gateway, Direct Connect and a shared services VPC
As the number of VPCs and data centers grows, connecting each pair becomes hard to manage; a central hub lets every network connect through it and share common services.
MFTECH now has 25 VPCs for its warehouses, a data center connected with Direct Connect, and has just acquired a company with its own data center and VPC in Europe. Each situation below compares a per-VPC design with a centralized one. Pick a design and send the request to follow its path.
Nhấn Gửi request để quan sát từng bước xử lý. Thay đổi lựa chọn và chạy lại để so sánh kết quả.
Direct Connect has three types of virtual interface: a private VIF reaches a VPC using private IP addresses (attached to a VGW or a Direct Connect gateway), a public VIF reaches AWS public endpoints such as S3, and a transit VIF reaches one or more transit gateways through a Direct Connect gateway. A Direct Connect gateway that is already associated with a VGW or attached to a private VIF cannot be attached to a transit gateway.
- Many VPCs in one Region plus a data center over Direct Connect: one transit VIF to a Direct Connect gateway, the gateway associated with Transit Gateway, and route propagation enabled on the VPC attachments.
- Multiple Regions: private VIFs to a Direct Connect gateway (global, except the China Regions) associated with the VGW in each Region; a Direct Connect gateway does not pass traffic between two VGWs.
- Interface endpoints shared by many VPCs: a shared services VPC, private DNS turned off on the endpoints, and a private hosted zone associated with the spoke VPCs.