Increased SAE1-DataTransfer-OutByes cost after upgrading to SDK v3 in Nodejs

0

Hi everyone!

A few days ago, I noticed a spike in our bill, so I checked what happened. I saw that our S3 costs went up by about 100% compared to the previous month. I started investigating and discovered that SAE1-DataTransfer-OutBytes doubled. After further research, I found that the exact day the cost doubled was when we updated the Node.js SDK to version 3.

This is a fairly small and simple system that uses S3 to store some pictures. These pictures are then visualized on a dashboard and can be downloaded using S3 links directly. All of this works in a single region (sa-east-1) and is part of a VPC containing an ECS cluster with about 4-5 instances.

I configured an S3 endpoint for the VPC to reduce data transfer costs, and using tracert inside the instance seems to be working correctly. I can't find a reason why updating the SDK version could have increased the cost by this much. This is how the graph looks for April (we updated the SDK on the 22nd):

Cost explorer showing s3 by usage type in April

The red bit represents the usage type SAE1-DataTransfer-OutBytes. At first, I thought it might be a security issue, but the usage has remained consistent since that day, as you can see here in the May graph, which makes me think something in the new SDK causes the data transfer to increase?

Cost explorer showing s3 by usage type in April

Any ideas of what can be causing this issue? I'm a bit lost here.

Thanks!

1 Answer
0

Hello, Apologies for any concern. I did find this doc which lists some of the notable changes from AWS SDK for JavaScript v2 to v3, which may provide insight: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/migrating/notable-changes/. If that's not what you're looking for, feel free to contact our Billing team to review any charges: https://console.aws.amazon.com/support/home.

  • Marc O.
AWS
EXPERT
answered 20 days ago
profile picture
EXPERT
reviewed 14 days 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