AWS Global Accelerator Response IP does not Match Accelerator IP

0

I have a Global Accelerator (52.223.XXX.XXX) with an Endpoint targeting my EC2 instance (3.134.XXX.XXX). When clients send UDP traffic via the Global Accelerator, the response IP is that of the EC2 instance rather than the Global Accelerator. Since the client application expects the response IP to match the request IP, it does not work correctly. I have no control over the client application. Is there some way to configure the services to behave how I need it to? To be clear:

  • Current behavior: Client sends UDP traffic to 52.223.XXX.XXX (Global Accelerator) and receives a response from 3.134.XXX.XXX (EC2 instance).
  • Wanted behavior: Client sends UDP traffic to 52.223.XXX.XXX (Global Accelerator) and receives a response from 52.223.XXX.XXX (Global Accelerator).
  • Are you using Standard accelerator or custom routing accelerator?

2개 답변
0

What is your Endpoint Type configuration? It should be EC2 Instance and not Elastic IP.

답변함 2년 전
  • Thanks for the response. The Endpoint Type is set to the EC2 Instance. After some more testing, it seems the response IP is inconsistent. Sometimes the response comes from the Global Accelerator, while other times it comes from the EC2 instance. Could it be a routing problem?

0

We are using GA for DNS (UDP and TCP) and it works as expected. I would check the behaviour of your application. If your app is replying to existing inbound UDP traffic, it would use the GA IPs. If your app is trying to establish new connections outbound as a result of inbound packets from GA, then you would see the IP of the instance.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인