RDS数据传输花费了公共端点与私有端点 [英] RDS data transfer costs public vs private endpoints
问题描述
鉴于RDS和访问它的实体都在同一可用区中,通过公共端点(公共子网中的RDS)与RDS实例进行通信会比在私有子网中产生更高的数据传输成本吗?
Would communicating with an RDS instance through a public endpoint (RDS in a public subnet) incur more data transfer costs vs one in a private subnet, given that both RDS and the entity accessing it are in the same AZ?
推荐答案
在VPC中使用时,Amazon RDS数据库实例的 DNS名称应该解析为私有IP地址.因此,唯一可能的费用是AZ之间的 2¢/GB (1美分和1美分).
The DNS Name of the Amazon RDS db instance should resolve to a private IP address when used within the VPC. Thus, the only potential charge is 2¢/GB between AZs (1¢ in and 1¢ out).
如果它们都位于相同的可用区中,则无需支付数据传输费用.
If they are both in the same AZ, there should be no data transfer charge.
通过公共IP地址访问将产生1¢/GB的费用,但这不会与"AZ之间"费用加倍收取费用.因此,相同的潜在成本.
Accessing via a public IP address would incur 1¢/GB, but this does not doubly-charge with the "between AZ" charge. So, same potential cost.
如果从Internet访问RDS实例,则出站数据将收取额外的数据传输费用.
If accessing the RDS instance from the Internet, then additional Data Transfer charges would apply for outbound data.
这篇关于RDS数据传输花费了公共端点与私有端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!