You can use the intra-region traffic analysis capability to analyze the inbound traffic and outbound traffic that pass through transit routers when the transit routers are connected to virtual private clouds (VPCs) within the same region. The intra-region traffic analysis capability helps you analyze the intra-region traffic related to your services.
Enable the intra-region traffic analysis capability
Log on to the NIS console.
In the left-side navigation pane, choose .
On the Traffic Activation Management page, click the . Configure the parameters described in the following table and click OK.
ImportantWhen you enable the intra-region traffic analysis capability, the VPC flow log feature is automatically enabled. You are charged for using the flow log feature and storage. For more information, see Billing of flow logs.
Parameter
Description
Region
Select the region for which you want to enable the intra-region traffic analysis capability.
Select Scenario
Select the scenario of the intra-region traffic analysis capability.
By default, Transit Router (TR) is selected.
Local VPC
Select a local VPC that sends traffic.
Peer VPC
Select one or more remote VPCs that receive traffic.
After you select a local VPC, you can select only remote VPCs that are deployed in the same region as the local VPC. You can select multiple remote VPCs.
Project
Select an existing Simple Log Service project from the drop-down list or create a Simple Log Service project. The project belongs to the same region as the selected local VPC. For more information, see Manage a project.
Logstore
Select an existing Logstore of Simple Log Service from the drop-down list, or create a Logstore of Simple Log Service. For more information, see Manage a Logstore.
You can view the intra-region traffic data on the Traffic Activation Management page.
If you do not need to view the data of intra-region traffic for a specific VPC, you can click Close in the Actions column to disable this capability.
View intra-region traffic
In the left-side navigation pane, choose .
On the Intra-region Traffic page, specify the parameters that are described in the following table and press Enter.
Parameter
Description
Region
Select the region for which you want to view intra-region traffic from the drop-down list.
Local VPC
Select the local VPC for which you want to view intra-region traffic from the drop-down list.
Peer VPC
Select the remote VPC for which you want to view intra-region traffic from the drop-down list.
Connection/Networking Method
Select the connection or networking mode for intra-region traffic.
By default, TR is selected.
Transit Router ID
Select the ID of the transit router from the drop-down list.
Time
Select the time range of the data to query.
By default, the monitoring data within the previous 15 minutes is displayed.
You need to select a consecutive time range for analysis. The maximum timespan of each time range is 24 hours. You can retrieve data within the last 7 days.
For example, if the current time was 13:57 on November 29, 2022,
the default time range is from 13:42 on November 29, 2022, to 13:57 on November 29, 2022.
The maximum timespan of each time range is 24 hours. For example, you could retrieve data from 13:57 on November 28, 2022, to 13:57 on November 29, 2022. You cannot retrieve data generated before 13:57 on November 23, 2022.
After you complete the configuration, you can view the information about the parameters that are described in the following table.
Parameter
Description
Total Traffic
Displays the total inbound and outbound traffic that flows through the transit router within the specified time range.
ProtocolTopN
Displays the ranking of intra-region traffic volumes by protocol within the specified time range. All protocols are supported.
VPC TopN
Displays the ranking of traffic volumes in VPCs within the specified time range.
The traffic volume of the local VPC is displayed on the left side and the traffic volume of the remote VPC is displayed on the right side.
5-tuple Top N Metric
Displays top-N cumulative traffic volumes of the local and remote VPCs in the form of 5-tuples, including the source IP address, destination IP address, source port, destination port, and protocol.
References
How transit routers work: Transit routers can be used to connect network instances and forward network traffic within a region or across regions.
Create a VPC connection: You can connect a VPC to a transit router. Then, the VPC can communicate with other network instances that are also connected to the transit router.
Use CEN and Enterprise Edition transit routers to enable intra-region communication between on-premises and cloud networks: You can use Cloud Enterprise Network (CEN) and Enterprise Edition transit routers to enable intra-region communication between on-premises and cloud networks.