Where does outbound traffic exit the Amazon network?

1

This seems like an obvious and dumb question, but I've searched documentation and forums and can't find it answered with certainty. Basically, how is egress traffic routed by Amazon? If you have an application on an EC2 server that makes an originating, outbound connection to a server on the internet, where does your stream exit the Amazon network? It seems like there's two different possibilities:

  1. it exits from an internet gateway in the region and zone where your server is located and then traverses the public internet OR
  2. it is routed through the Amazon network to the edge location closest to the destination server and exits there.
    Obviously there are advantages to 2. If 2 isn't the default route, is there a service that provides 2? Global Accelerator clearly does this for connections that originate on the internet and come in to the AWS network, but what if the connection originates on your server within the AWS network? It's not clear to me...
isumatv
질문됨 3년 전555회 조회
1개 답변
1
수락된 답변

Hi isumatv,

It's very good question.

Generally AWS tries to keep packet as long as we can with in AWS network and try to exit it closest to destination. But there are circumstances where we need to exit out of AWS network quickly, possible reason could be.

More bandwidth availability on Local Exit ISP/ reduced latency/traffic manipulation during maintenances. But generally we try to keep traffic on AWS internal network (cold potato routing)as we have full visibility of Network path and AWS network is optimised for best performance but its not always the case.

Doing a trace route from your EC2 to your destination will give you some clue.

Regards,
muhaAtAWS

AWS
답변함 3년 전

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

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

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

관련 콘텐츠