What is the source of Aws Data Transfer [Global-DataTransfer-Regional-Bytes]

1

I am currently testing AWS in the Free Tier and have received a warning that the free 1 GB AWS Data Transfer (Global-DataTransfer-Regional-Bytes) is 85% used up. What is causing this traffic?

I am only using a elastic search instance inside of Aws open search service in the Asia Pacific (Mumbai) ap-south-1 region which can be accessed publicly. The elastic search is running in only 1 AZ with only 1 node which is under the free tier. I have a golang program which runs on my local machine which interacts with the elastic search instance with the public address.

I also had a ec2 instance a week ago which was active for just a few hours, which never interacted with the elastic search instance.

As far as I understand Global-DataTransfer-Regional-Bytes are used up only when some data is transferred regionally, but I don't have anything like that. What can be the reason for this traffic?

1 Answer
1

I found this answer that seems closely related to your question.

The key thing to note here is that DataTransfer-Regional-Bytes refers to inter-zone traffic, so it's very likely your OpenSearch instance is sending and/or receiving data to another AZ within the region.

You mentioned that your OpenSearch instance is accessed publicly. Is it located in a public subnet, or are you hosting in a private subnet and using a proxy in the public subnet to route requests to it? If OpenSearch is in a private subnet, make sure you have a NAT Gateway in the same AZ as your OpenSearch instance, so that any Internet-bound requests from OpenSearch will be routed to the local NAT Gateway, instead of to the NAT Gateway in another AZ.

As the article above states, the best way to pinpoint the source of traffic is to implement some form of network monitoring. You won't be able to run iftop on your OpenSearch instance, so I would instead enable VPC Flow Logs and see what traffic is being generated and try to pinpoint the traffic traveling across AZs.

AWS
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions