- Newest
- Most votes
- Most comments
Based on how AWS Global Accelerator works, there are important considerations for your use case. Global Accelerator provides static IP addresses that are anycast from the AWS edge network - specifically, two static IPv4 addresses for IPv4 configurations, or four total addresses (two IPv4 and two IPv6) for dual-stack configurations.
The key challenge with your setup is that Global Accelerator's static IP addresses are designed to accept incoming traffic onto the AWS global network from edge locations that are closest to users on the public internet. The service is optimized to route traffic through the AWS global network to improve performance and availability by maximizing the time traffic stays on AWS's network.
However, when using a private APN/MPLS network connected via AWS Direct Connect, your traffic is already on a private network path that doesn't traverse the public internet or AWS edge locations in the same way. Global Accelerator's anycast addresses are announced from AWS edge network locations, which are part of the public internet infrastructure, not the private Direct Connect connection.
For your architecture where you need a single static IP address to route to multiple EC2 instances across regions over a private network connection, you may need to consider alternative approaches. One option would be to use Elastic IP addresses with your EC2 instances or load balancers within your VPC, and manage routing through your Direct Connect connection. You could also explore using Network Load Balancers or Application Load Balancers in each region with static IP addressing, and implement DNS-based routing or your own traffic management logic at the application layer.
The fundamental issue is that Global Accelerator is designed for public internet traffic routing through AWS edge locations, which doesn't align with private APN/MPLS connectivity patterns through Direct Connect.
Sources
AWS Global Accelerator components - AWS Global Accelerator
How AWS Global Accelerator works - AWS Global Accelerator
But we cannot assign the Same IPv6 on two different EC2 instances deployed in two regions. Also we have no option of Elastic IPv6 in AWS
Relevant content
- asked 2 years ago
- asked 7 years ago
- asked 6 months ago
