To design a system I need to decide on where to deploy the instances (suppose that I don't really care where they are but only want to optimize costs).
The on-demand page mentions several billing items:
- Data Transfer IN To Amazon EC2 From Internet
- Data Transfer OUT From Amazon EC2 To Internet
- Data Transfer OUT From Amazon EC2 To (a list of regions)
- Data Transfer Across AZ within this Region
My questions:
- About item 1 - they say this is free, is it? does it make sense that from Internet to Amazon is free while from Amazon to Amazon is not free? (I'm talking on the inbound data here, not the outbound).
- In items 2-3: does "Amazon" refer to all AWS services, including another EC2 instance?
- Regarding item 4: it is written
"Data transferred "in" to and "out" of Amazon EC2, Amazon RDS, Amazon Redshift , Amazon DynamoDB Accelerator (DAX), and Amazon ElastiCache instances or Elastic Network Interfaces across VPC peering connections in the same AWS region is charged at $0.01/GB."
Is that meaning that if I run a process between 2 EC2 instances on the same region then I pay for each GB twice? first for outbound from one instance and second for the inbound on the other instance.