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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南