

# 了解账单和使用情况报告中的 Amazon VPC 代码
<a name="vpc-billing-usage-reports"></a>

当您使用 Amazon VPC 时，我们会在 Amazon 账单和使用情况报告中包含相关代码。查看这些代码有助于您了解 Amazon VPC 的成本和使用模式。跟踪和管理支出对于优化成本至关重要。

下表列出了账单和使用情况报告中出现的 Amazon VPC 代码。有关账单和使用情况报告中使用的区域代码列表，请参阅 [Amazon Region billing codes](https://docs.amazonaws.cn/global-infrastructure/latest/regions/aws-region-billing-codes.html)。

**Topics**
+ [IP 地址管理](#ip-billing-usage-reports)
+ [VPC 端点](#vpce-billing-usage-reports)
+ [中转网关](#tgw-billing-usage-reports)
+ [网络分析](#analysis-billing-usage-reports)
+ [流量镜像](#mirroring-billing-usage-reports)
+ [VPC Lattice](#lattice-billing-usage-reports)
+ [跨账户/跨区域资源](#cross-billing-usage-reports)

**相关资源**
+ [Amazon VPC 定价](https://www.amazonaws.cn/vpc/pricing/)
+ [Amazon PrivateLink 定价](https://www.amazonaws.cn/privatelink/pricing/)
+ [Amazon Transit Gateway 定价](https://www.amazonaws.cn/transit-gateway/pricing/)
+ [Amazon VPC Lattice 定价](https://www.amazonaws.cn/vpc/lattice/pricing/)

## IP 地址管理
<a name="ip-billing-usage-reports"></a>


| 代码 | 描述 | 单位 | 粒度 | 
| --- | --- | --- | --- | 
| {{region}}-PublicIPv4:InUseAddress | 某个资源使用公有 IPv4 地址的时间。 | Hours | 每秒 | 
| {{region}}-PublicIPv4:IdleAddress | 某个资源未使用公有 IPv4 地址的时间。 | Hours | 每秒 | 
| {{region}}-PublicIPv4:ContiguousBlock | 使用了 Amazon 提供的连续 IPv4 块中的公有 IPv4 地址。 | Hours | 每小时 | 
| {{region}}-IPAddressManager-IP-Hours | IPAM 高级套餐管理 IP 地址的时间。 | Hours | 每小时 | 



## VPC 端点
<a name="vpce-billing-usage-reports"></a>


| 代码 | 描述 | 单位 | 粒度 | 
| --- | --- | --- | --- | 
| {{region}}-VpcEndpoint-Hours | 预置接口 VPC 端点的时间。 | Hours | 每小时 | 
| {{region}}-VpcEndpoint-Bytes | 接口 VPC 端点处理的数据。 | GB | 每小时 | 
| {{region}}-VpcEndpoint-GWLBE-Hours | 预置网关负载均衡器端点的时间。 | Hours | 每小时 | 
| {{region}}-VpcEndpoint-GWLBE-Bytes | 网关负载均衡器端点处理的数据。 | GB | 每小时 | 



## 中转网关
<a name="tgw-billing-usage-reports"></a>


| 代码 | 描述 | 单位 | 粒度 | 
| --- | --- | --- | --- | 
| {{region}}-TransitGateway-Hours | 使用了中转网关连接。 | Hours | 每小时 | 
| {{region}}-TransitGateway-Bytes | 中转网关处理的数据。 | GB | 每小时 | 
| {{region}}-TGW-Multicast-Consumer-Bytes | 组播接收器实例处理的数据。 | GB | 每小时 | 



## 网络分析
<a name="analysis-billing-usage-reports"></a>


| 代码 | 描述 | 单位 | 粒度 | 
| --- | --- | --- | --- | 
| {{region}}-Analysis-Runs | Reachability Analyzer 分析的网络路径数量。 | 计数 | 每次分析 | 
| {{region}}-NetworkInterface-Assessment | 网络访问分析器分析的网络接口数量。 | 计数 | 每次评测 | 



## 流量镜像
<a name="mirroring-billing-usage-reports"></a>


| 代码 | 描述 | 单位 | 粒度 | 
| --- | --- | --- | --- | 
| {{region}}-ENI-Mirror | 为流量镜像配置网络接口的时间。 | Hours | 每小时 | 



## VPC Lattice
<a name="lattice-billing-usage-reports"></a>


| 代码 | 描述 | 单位 | 粒度 | 
| --- | --- | --- | --- | 
| {{region}}-VPCLattice-Service-Hourly | VPC Lattice 服务的运行时间。 | Hours | 每小时 | 
| {{region}}-VPCLattice-DataProcessing-Bytes | VPC Lattice 服务处理的数据。 | GB | 每小时 | 
| {{region}}-VPCLattice-RequestCount-Free | 免费 HTTP 请求和 TCP 连接。 | 计数 | 每小时 | 
| {{region}}-VpcLattice-Service-Network-Resource-Hours | VPC Lattice 服务网络的运行时间。 | Hours | 每小时 | 



## 跨账户/跨区域资源
<a name="cross-billing-usage-reports"></a>


| 代码 | 描述 | 单位 | 粒度 | 
| --- | --- | --- | --- | 
| {{region}}-VpcResource-Provider-Bytes | 从提供器资源跨账户或跨区域传输的数据。 | GB | 每小时 | 
| {{region}}-VpcResource-Consumer-Bytes | 消费器资源跨账户或跨区域传输的数据。 | GB | 每小时 | 

