og-aws icon indicating copy to clipboard operation
og-aws copied to clipboard

Clarify network costs between EC2 and ALB/CLB (when free vs $0.01/GB)

Open benbridts opened this issue 8 years ago • 11 comments

I think that there's a mistake in https://github.com/open-guides/og-aws/raw/master/figures/aws-data-transfer-costs.png

It indicates that cross-AZ traffic between ALB/CLB and EC2 is $0.01/GB, but I think it should be 0 (at least for the CLB)

From http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html:

When you enable cross-zone load balancing, you are not charged for data transfer between the load balancer nodes and the instances

I couldn't find the same kind of clear language in the ALB docs though

benbridts avatar Nov 08 '16 16:11 benbridts

Thanks for the catch. That quote does indicate you are not charged for traffic between EC2 and CLBs some of the time.

On the other hand, the EC2 pricing page suggests it is $.01 outbound: https://aws.amazon.com/ec2/pricing/on-demand/ https://files.slack.com/files-pri/T2JBBNK18-F2Z7NJEJU/pasted_image_at_2016_11_08_10_05_am.png

Based on that, it sounds like it may be $.01 when cross-zone load balancing is off, and 0 when it is on. We should confirm this, and also confirm what ALB costs really are.

Anyone have confirmed info here?

jlevy avatar Nov 08 '16 20:11 jlevy

Posted a question on the AWS forums, Application Load Balancer: Charge for data transfer cross zone?

rjhintz avatar Nov 09 '16 00:11 rjhintz

Thanks for posting the question, @rjhintz - will keep an eye on the post for answers.

ThanosBaskous avatar Nov 12 '16 03:11 ThanosBaskous

Just to note that I bumped this in the forums some time ago, but still no answer.

rjhintz avatar Nov 29 '16 01:11 rjhintz

Still no official answer in the forum, though someone remarked that:

this has been answered in the LB deep dive session at re:Invent:

https://www.youtube.com/watch?v=qy7zNaDTYGQ

The answer was "no, no charge for cross-AZ traffic sent by ALBs"

rjhintz avatar Jan 07 '17 16:01 rjhintz

Are we willing to accept "no charge for cross-AZ traffic sent by ALBs" is canonically correct, or should I corner an AWS employee at this week's Summit?

QuinnyPig avatar Apr 15 '17 02:04 QuinnyPig

They said in the forums they'd answer there. We got an indirect answer at Re:invent, but not in the forums, although I bumped it once or twice.

Why can't they give us a definitive answer in the forums AWS has established for this sort of clarification or by changing the docs?

Rich +1.510.984.2571

On Apr 15, 2017 2:28 AM, "Corey Quinn" [email protected] wrote:

Are we willing to accept "no charge for cross-AZ traffic sent by ALBs" is canonically correct, or should I corner an AWS employee at this week's Summit?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/open-guides/og-aws/issues/300#issuecomment-294266653, or mute the thread https://github.com/notifications/unsubscribe-auth/AACx_JcXY94ZsrpJsIih3t5XCo3QZuVHks5rwCtcgaJpZM4KsmUb .

rjhintz avatar Apr 15 '17 02:04 rjhintz

Terrific question. Time to shake the bushes...

QuinnyPig avatar Apr 15 '17 02:04 QuinnyPig

How about a tag for that. :)

jlevy avatar Apr 15 '17 02:04 jlevy

Just bumping to mention this still isn't answered in the forum post, though I bumped it there. However, one comment on 8 Dec 2016 is:

If I'm not mistaken, this has been answered in the LB deep dive session at re:Invent:

https://www.youtube.com/watch?v=qy7zNaDTYGQ

The answer was "no, no charge for cross-AZ traffic sent by ALBs"

rjhintz avatar Aug 09 '17 23:08 rjhintz

Hello all - I'm from AWS - thanks for reporting and sorry for the delay in getting this sorted. FAQs have been updated to make this more clear (https://aws.amazon.com/elasticloadbalancing/faqs/) - will also take care of the forum post.

In short, for CLB and ALB Inter-AZ traffic is not charged while using Cross-Zone. For NLB it is.

gbonfiglio avatar Apr 16 '18 08:04 gbonfiglio