# US 2014/0351106 A1 · Bandwidth metering in large-scale networks

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0351106 A1
- Document ID: US20140351106A1
- Status: Published application
- Kind: A1
- Application number: 13/898,570
- Filed: 2013-05-21
- Published: 2014-11-27
- Earliest claimed: 2013-05-21
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: MICHAEL BROOKE FURR; CHRISTOPHER IAN HENDRIE; KEVIN CHRISTOPHER MILLER; RYAN DAVID MURPHY; SANDEEP SHANTHARAJ
- Web page: https://patentgrep.com/patent/US20140351106A1

## CPC

- H04L 43/20: the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
- G06Q 20/145: {Payments according to the detected use or quantity}
- H04L 12/14: Charging, metering or billing arrangements specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
- H04L 12/1403: {Architecture for metering, charging or billing}
- H04L 12/1407: {Policy-and-charging control [PCC] architecture}
- H04L 43/04: Processing captured monitoring data, e.g. for logfile generation
- H04M 15/31: {Distributed metering or calculation of charges}
- H04M 15/41: {Billing record details, i.e. parameters, identifiers, structure of call data record [CDR]}
- H04M 15/43: {Billing software details}
- H04M 15/61: {based on the service used}
- H04M 15/66: {Policy and charging system}
- H04M 15/8214: {Data or packet based}
- H04M 15/825: {based on the number of used channels, e.g. bundling channels, frequencies or CDMA codes}
- G06Q 20/14: specially adapted for billing systems
- G06Q 30/04: Billing or invoicing
- H04L 12/1435: {volume-based}
- H04L 41/122: of virtualised topologies, e.g. software-defined networks [SDN] or network function virtualisation [NFV]
- H04L 41/40: using virtualisation of network functions or resources, e.g. SDN or NFV entities
- H04L 61/2514: between local and global IP addresses
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

Methods and apparatus for bandwidth metering in large-scale networks are disclosed. Metadata for a network transmission involving a virtualized resource at a host of a provider network, including endpoint address information and a traffic metric, is determined at a metering component. The metadata is aggregated at another metering component and provided to a traffic classification node. The traffic classification node generates a categorized usage record for the network transmission, based at least in part on network topology information associated with the provider network. The categorized usage record is used to determine a billing amount for the network transmission.

## Claims

### Claim 1

A system, comprising a plurality of computing devices configured to:
determine, at a first metering component on a host of a provider network comprising a plurality of hosts, networking metadata comprising (a) endpoint address information and (b) a traffic metric, wherein the networking metadata is associated with one or more network transmissions for which at least one endpoint comprises a virtualized resource instantiated at the host;
provide, by the first metering component to a second metering component on the host, at least a subset of the networking metadata determined at the first metering component;
aggregate networking metadata from at least the first metering component at the second metering component in accordance with an on-host aggregation policy;
transmit, from the second metering component to a traffic classification node of the provider network, aggregated networking metadata;
generate, at the traffic classification node, a set of categorized usage records based at least in part on aggregated networking metadata obtained from at least a subset of the plurality of hosts and based at least in part on a representation of a network topology associated with the provider network, wherein a particular usage record of the set of categorized usage records indicates a particular billable usage category to be associated with the one or more network transmissions;
provide the set of categorized usage records from the traffic classification node to a billing node of the provider network; and
determine, using the set of categorized usage records, a billing amount to be charged for the one or more network transmissions at the billing node.

### Claim 2 (depends on 1)

The system as recited in claim 1, wherein the first metering component comprises a kernel-mode component of a management software stack at the host, and wherein the second metering component comprises a user-mode component of the management software stack.

### Claim 3 (depends on 1)

The system as recited in claim 1, wherein the one or more network transmissions comprise a set of network packets for which one endpoint comprises the virtualized resource instantiated at the host, wherein a second endpoint of the set has a particular Internet Protocol (IP) address, wherein the address endpoint information comprises the particular IP address, wherein the traffic metric comprises a number of bytes transmitted in the set of network packets, and wherein the networking metadata includes identification information of the virtualized resource distinguishing the virtualized resource from a different virtualized resource instantiated on the host.

### Claim 4 (depends on 1)

The system as recited in claim 1, wherein the on-host aggregation policy comprises one or more of (a) a chunk size determination policy usable to determine an amount of aggregated networking metadata to be transmitted to the classification node, (b) a chunk scheduling policy usable to determine a schedule in accordance with which the aggregated networking metadata is to be transmitted to the classification node, (c) a classification node selection policy, (d) a compression policy for transmission of the aggregated networking metadata, (e) a grouping policy usable to combine networking metadata for a set of IP addresses prior to transmitting the aggregated networking metadata, or (f) a sampling policy usable to select a subset of the aggregated networking metadata to be transmitted to the classification node.

### Claim 5 (depends on 1)

The system as recited in claim 1, wherein the plurality of computing devices are configured to:
collect, at one or more topology observer nodes of the provider network, network configuration information comprising routing information associated with at least a portion of the provider network; and
transmit the network configuration information and an associated timestamp to a topology authority node configured to, generate the representation of the network topology based at least in part on the routing information and the associated timestamp.

### Claim 6 (depends on 1)

The system as recited in claim 1, wherein the particular billable usage category comprises at least one of: (a) a local-provider-network category, (b) an inter-region-provider-network category (c) an extra-provider-network category, (d) a category associated with a particular multi-tenant service implemented at the provider network, (e) a category associated with a private network established within the provider network on behalf of a client, or (f) a category associated with a direct physical network link established at an edge node of the provider network to connect a client network with the provider network.

### Claim 7

A method, comprising:
determining, at a first metering component on a host of a provider network comprising a plurality of hosts, networking metadata comprising (a) endpoint address information and (b) a traffic metric, wherein the networking metadata is associated with one or more network transmissions for which at least one endpoint comprises a virtualized resource instantiated at the host;
aggregating networking metadata from at least the first metering component at a second metering component in accordance with an aggregation policy;
generating, at a traffic classification node of the provider network, one or more categorized usage records corresponding to the one or more network transmissions, based at least in part on aggregated networking metadata obtained from at least the second metering component and based at least in part on a representation of a network topology associated with the provider network; and
determining, using the one or more categorized usage records, a billing amount to be charged for the one or more network transmissions.

### Claim 8 (depends on 7)

The method as recited in claim 7, wherein the first metering component comprises a kernel-mode component of a management software stack at the host, and wherein the second metering component comprises a user-mode component of the management software stack.

### Claim 9 (depends on 7)

The method as recited in claim 7, wherein the one or more network transmissions comprise a set of network packets for which one endpoint comprises the virtualized resource instantiated at the host, wherein a second endpoint of the set has a particular Internet Protocol (IP) address, wherein the address endpoint information comprises the particular IP address, wherein the traffic metric comprises a number of bytes transmitted in the set of network packets, and wherein the networking metadata includes identification information of the virtualized resource distinguishing the virtualized resource from a different virtualized resource instantiated on the host.

### Claim 10 (depends on 7)

The method as recited in claim 7, wherein the aggregation policy comprises one or more of (a) a chunk size determination policy usable to determine an amount of aggregated networking metadata to be transmitted to the classification node, (b) a chunk scheduling policy usable to determine a schedule in accordance with which the aggregated networking metadata is to be transmitted to the classification node, (c) a classification node selection policy, (d) a compression policy for transmission of the aggregated networking metadata, (e) a grouping policy usable to combine networking metadata for a set of IP addresses prior to transmitting the aggregated networking metadata, or (f) a sampling policy usable to select a subset of the aggregated networking metadata to be transmitted to the classification node.

### Claim 11 (depends on 7)

The method as recited in claim 7, further comprising:
collecting, at one or more topology observer nodes of the provider network, networking configuration information associated with at least a portion of the provider network; and
transmitting the networking configuration information and an associated timestamp to a topology authority node configured to generate the representation of the network topology based at least in part on the networking configuration information and the associated timestamp.

### Claim 12 (depends on 7)

The method as recited in claim 7, wherein the one or more categorized usage records include a particular usage record indicating a billable usage category of the one or more network transmissions, wherein the billable usage category comprises at least one of: (a) a local-provider-network category, (b) an inter-region-provider-network category, (c) an extra-provider-network category, (d) a category associated with a particular multi-tenant service implemented at the provider network, (e) a category associated with a private network established within the provider network on behalf of a client, or (f) a category associated with a direct physical network link established at an edge node of the provider network to connect a client network with the provider network.

### Claim 13

A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors:
generate a plurality of networking metadata records at a host of a provider network, wherein a particular networking metadata record of the plurality of networking metadata records corresponds to one or more network transmissions detected at the host, wherein the particular networking metadata record comprises (a) endpoint address information of the one or more network transmissions and (b) a traffic metric;
aggregate the plurality of networking metadata at the host based at least in part on the endpoint address information; and
transmit aggregated networking metadata from the host to a traffic classification node of the provider network, wherein the traffic classification node is configured to generate a categorized usage record corresponding to the one or more network transmissions based at least in part on a representation of a network topology associated with the provider network.

### Claim 14 (depends on 13)

The non-transitory computer-accessible storage medium as recited in claim 13, wherein the program instructions when executed on the one or more processors communicate with a kernel-mode component executing at the host to generate the particular networking metadata record.

### Claim 15 (depends on 13)

The non-transitory computer-accessible storage medium as recited in claim 13, wherein the one or more network transmissions comprise a set of network packets for which one endpoint comprises a virtualized resource instantiated at the host, wherein a second endpoint of the set has a particular Internet Protocol (IP) address, wherein the address endpoint information comprises the particular IP address, wherein the traffic metric comprises a number of bytes transmitted in the set of network packets, and wherein the particular networking metadata record includes identification information of the virtualized resource distinguishing the virtualized resource from a different virtualized resource instantiated on the host.

### Claim 16 (depends on 13)

The non-transitory computer-accessible storage medium as recited in claim 13, wherein the program instructions when executed on the one or more processors aggregate the plurality of networking metadata records based at least in part on an aggregation policy comprising one or more of (a) a chunk size determination policy usable to determine an amount of aggregated networking metadata to be transmitted to the classification node, (b) a chunk scheduling policy usable to determine a schedule in accordance with which the aggregated networking metadata is to be transmitted to the classification node, (c) a classification node selection policy, (d) a compression policy for transmission of the aggregated networking metadata, (e) a grouping policy usable to combine networking metadata for a set of IP addresses prior to transmitting the aggregated networking metadata, or (f) a sampling policy usable to select a subset of the aggregated networking metadata to be transmitted to the classification node.

### Claim 17 (depends on 13)

The non-transitory computer-accessible storage medium as recited in claim 13, wherein the program instructions when executed on the one or more processors:
determine whether networking metadata records are to be collected corresponding to each network transmission during a particular time period, based at least in part on a count of a number of distinct endpoint addresses associated with network transmissions detected during another time period; and
in response to a determination that networking metadata records corresponding to each network transmission are not to be collected, utilize a sampling methodology to generate one or more networking metadata records during the particular time period.

### Claim 18

A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors:
obtain a representation of a network topology corresponding to at least a portion of a provider network, wherein the representation is generated by a topology authority of the provider network and is based at least in part on network configuration information collected by one or more topology observer nodes of the provider network;
receive, from metering components at one or more virtualization hosts of the provider network, a plurality of networking metadata records associated with network transmissions detected at the one or more virtualization hosts, wherein a particular networking metadata record of the plurality of networking metadata records comprises endpoint address information and a traffic metric;
generate a set of categorized usage records based at least in part on the plurality of networking metadata records and based at least in part on the representation of the network topology, wherein the set of categorized usage records is usable for determining billing amounts associated with the network transmissions detected at the one or more virtualization hosts.

### Claim 19 (depends on 18)

The non-transitory computer-accessible storage medium as recited in claim 18, wherein the network configuration information comprises one or more timestamps associated with a routing change, and wherein the representation of the network topology is time-indexed.

### Claim 20 (depends on 18)

The non-transitory computer-accessible storage medium as recited in claim 18, wherein a particular categorized usage record of the set comprises an indication of a billable usage category comprising at least one of: (a) a local-provider-network category, (b) an inter-region-provider-network category, (c) an extra-provider-network category, (d) a category associated with a particular multi-tenant service implemented at the provider network, (e) a category associated with a private network established within the provider network on behalf of a client, or (f) a category associated with a direct physical network link established at an edge node of the provider network to connect a client network with the provider network.
