I have an EC2 and RDS in the same region US East(N. Virginia) but both resources are in different zones; RDS in us-east-1a and EC2 in us-east-1b.
Now the question is that if I put both resources within the same zone then would it speed up the data transfer to/from DB? I receive daily around 20k-30k entries from app to this instance.
EDIT
I read here that:
Each Availability Zone is isolated, but the Availability Zones in a region are connected through low-latency links.
Now I am wondering if these low-latency links are very minor or should I consider shifting my resources in the same zone to speed up the data transfer?
Conclusion
As discussed in answers and comments:
- Since I have only one instance of
EC2andRDS, failure of one service in azonewill affect the whole system. So there is no advantage to keeping them in a separate zone. - Even though
zonesare connected together withlow-latency linksbut there is still some latency which is neglectable in my case. - There is also a minor data transfer charge of USD 0.01/GB between
EC2andRDSin different zones.
