Skip to content

Investigating High InterZone-In cost

0

Hi,

We are recently seeing high EC2-Other cost, specifically "InterZone-In" costs. It started after making some infra changes (not sure if both could be related)

Our infra change is that we moved from dedicated cluster to shared cluster and instead of using a maximum of 12 m5a.large we are now using at max 5 m5a.2xlarge.

I understand that high INterzone-in cost implies data transfer has increased betweeen different AZs. However, do you have some guidelines on how we can get more details as to what has caused the increase in this cost (like what data transfer or between which AZs ). Monthly cost of InterZone-In has increased from $53 to $350.

Thanks in advance

  • What dedicated to shared cluster is this? Are your machines in a ASG?

  • Yes, It is in ASG

2 Answers
2

Hello.

I don't know the exact configuration of the AWS resources within the VPC, so I don't know the exact details, but I think you can get some idea of ​​the communication between EC2 by enabling the VPC flow log.
This may allow you to investigate whether communication between AZs is occurring.
https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html

EXPERT

answered 2 years ago

AWS
EXPERT

reviewed 2 years ago

1

"InterZone-In" costs, usually indicate an increase in data transfer between different Availability Zones (AZs). Since you mentioned infrastructure changes, it's likely that these changes are affecting the data transfer patterns within your AWS environment. Here are some steps to help you identify and manage the increased costs:

Review CloudWatch Metrics: NetworkIn/NetworkOut Metrics:ThatNetworkIn and NetworkOutof Data Transfer by AZ: Look for metrics that might indicate data transfer between AZs. CloudWatch does not provide a direct metric for inter-AZ data transfer, but you can infer this by looking at the traffic patterns.

Cost Breakdown: Use AWS Cost Explorer to get a detailed breakdown of your costs. Filter by service and look at the EC2-Other costs to see which resources are incurring the most charges. Data Transfer: Within Cost Explorer, you can filter and group costs by Usage Type to identify data transfer charges. Look for InterZone-In costs specifically.

Enable VPC Flow Logs: Use Athena or a third-party tool to analyze VPC Flow Logs. Look for patterns indicating large data transfers between different subnets/AZs. https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html

Check Your Network Configuration: If you use placement groups, ensure that they are configured correctly. A misconfigured placement group could lead to unintended cross-AZ traffic.

EXPERT

answered 2 years ago

AWS
EXPERT

reviewed 2 years 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.