10

can anyone say what this charge item is from the account activity?

$0.010 per GB - regional data transfer - in/out/between EC2 Avail Zones or when using public/elastic IP addresses or ELB

i launched ONE and ONLY ONE micro instance of amazon ec2 and am wondering what this charge is exactly? it's very small, but still i do not understand it.

thnx :)

4
  • Do you have an "Elastic IP" or "Elastic Load Balancer"?
    – Rob Olmos
    Nov 5, 2010 at 7:21
  • How many GB of traffic is listed?
    – Rob Olmos
    Nov 9, 2010 at 7:42
  • Which AMI? Amazon's Linux? Did you/it check for updates after boot?
    – Rob Olmos
    Nov 9, 2010 at 8:22
  • no. no elastic ip. no elastic load balancer. 4MB of traffic, or if you want it 0.004GB... and it is ubuntu 10.04, no updates. (just put it in a single comment so they don't get hidden ;)
    – b0x0rz
    Nov 9, 2010 at 9:47

2 Answers 2

16
+25

Your server is talking to itself using it's external IP address. You can keep this to a minimum by configuring your services to work with the internal IP if possible. Anything you do using DNS lookups should use a CNAME record to (or directly reference) the name given by amazon. This way internal lookups will return the internal address and external lookups the external address.

It is not uncommon for linux services to talk to each other even on the same machine using networking layers. Usually this is short circuited by the localhost interface, but not always.

Edit: For further reading see these articles on why CNAME is better and internal elastic ips.

1
  • thnx for the info. most likely this is the case. someone will investigate as soon as possible, but i can see no other solution. again, thank you.
    – b0x0rz
    Nov 15, 2010 at 6:19
3

In addition there are so called Availability zones. You choose them when creating a new EC2 Instance. You can think of it as a different datacenters. So if some instance in Virginia is accessing another instance in Europe then you will be charged.

List of Availability zones available in Amazon (taken from EC2 description page):

  • US – N. Virginia
  • US – N. California
  • EU – Ireland
  • APAC – Singapore
2
  • b0x0rz specifically said he only had one instance launched so this is not actually a case of talking across availability zones. Instead as I mentioned it is a case of using an external IP to talk back to yourself so that the traffic leaves the zone, then gets routed back in.
    – Caleb
    Nov 13, 2010 at 8:27
  • @Caleb. true - on both counts :)
    – b0x0rz
    Nov 15, 2010 at 6:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .