- Newest
- Most votes
- Most comments
Hello.
I think your understanding is correct because outbound communication to the internet incurs charges.
This means that you are charged for the applications that communicate over the Internet.
By the way, if the database server and application server are running in different availability zones, charges will also be incurred for the portion between the database and the application.
Communication within the same availability zone is free.
https://aws.amazon.com/ec2/pricing/on-demand/?nc1=h_ls
Data transferred between Amazon EC2, Amazon RDS, Amazon Redshift, Amazon ElastiCache instances, and Elastic Network Interfaces in the same Availability Zone is free.
Your understanding is correct, you get charged for Outbound Traffic (out of AWS) but not charged for Inbound traffic (coming in to AWS). Note for outbound AWS offers 100 GB of free data transfer out to the internet each month. This applies to all AWS services and regions, except China and GovCloud.
Other points to take note of:
- Per the previous post you need to be aware of inter AZ if your DB & Application are in communicating across AZ's there is dta transfer charges
- If your DB and Applications are in different regions there is a Interregion Data Transfer cost
- If your resrouces (EC2 instances) are communicating with each other using public/elastic IP addresses there is both incoming/outgoing data charge.
This blog provides a comprehensive view of data transfer charges. https://aws.amazon.com/blogs/architecture/overview-of-data-transfer-costs-for-common-architectures/
Relevant content
asked 4 years ago
asked a year ago

Thankyou for answering.