All Products
Search
Document Center

Simple Log Service:Select a network type

Last Updated:Jul 02, 2024

This topic describes how to select a network type when you use Logtail to collect logs.

Network types

  • Alibaba Cloud internal network: An Alibaba Cloud internal network provides gigabits of shared bandwidth. Transmission of log data over an internal network is stable and fast. Alibaba Cloud internal networks include virtual private clouds (VPCs) and the classic network.

  • Internet: Transmission of log data over the Internet is limited by the network bandwidth. Network issues such as jitters, latency, and packet loss may also occur. This affects the speed and stability of data transmission.

  • Transfer acceleration: This network type can be used to accelerate log collection by using the edge nodes of Alibaba Cloud CDN (CDN). Compared with log collection over the Internet, log collection based on transfer acceleration is more stable, and the transmission latency is lower.  

Select a network type

  • Internal network: Make sure that your Elastic Compute Service (ECS) instance resides in the same region as your Simple Log Service project.

    Note

    We recommend that you create your Simple Log Service project in the region where your ECS instance resides. This way, Simple Log Service can collect logs from the ECS instance over an Alibaba Cloud internal network without consuming public bandwidth.

  • Internet: You can select this network type in the following scenarios:

    • Your ECS instance and Simple Log Service project reside in different regions.

    • You use a server from a third-party cloud service provider or in a data center.

  • Transfer acceleration

    If your server and Simple Log Service reside in different regions, such as in and outside China, network latency is high and transmission is unstable when data is transmitted over the Internet. In this case, you can select transfer acceleration as the network type.

Scenario

Network type

Your ECS instance and Simple Log Service project reside in the same region.

Internal network

Your ECS instance and Simple Log Service project reside in different regions.

Internet or transfer acceleration

You use a server from a third-party cloud service provider or in a data center.

Internet or transfer acceleration

Examples

网络选择示例

Scenario

Network type

The Simple Log Service project and ECS instance reside in the same region.

  • Project: China (Hangzhou)

  • ECS instance: China (Hangzhou)

Internal network

The Simple Log Service project and ECS instance reside in different regions.

  • Project: China (Shanghai)

  • ECS instance: China (Beijing)

Internet

A server in a data center is used.

  • Project: China (Shenzhen)

  • Data center: in China

Internet

A server in a data center is used.

  • Project: China (Hong Kong)

  • Data center: outside China

Internet or transfer acceleration

Note

If your Simple Log Service project is located in China and your server is located outside China, we recommend that you use transfer acceleration to collect logs from the server. In this scenario, log collection based on transfer acceleration is more stable and provides higher performance than log collection over the Internet.