An overview of billing and pricing on AWS
AWS charges you based on three core components, which are the amount of computing, storage, and outbound data transfers you perform. There are some deviations to this, but these are the primary cost drivers. With compute, this could represent the number of hours that your On-Demand Instance is in the running state or the number of Lambda executions you perform. With storage, you are charged per GB. In both cases, you are charged for any data transferred out of the Region or AWS. The data transfer out rate is dependent on the service and the Region from which the data originates.
A couple of key points to note here are as follows:
- For data transfer within a Region:
- If an internet gateway is used to send data to an AWS public service (Amazon S3, DynamoDB, and so on) in the same Region, then there are no data transfer charges.
- If a NAT gateway is used to access those public services in the same Region, then there is a data processing...