All Products
Search
Document Center

Tair (Redis® OSS-Compatible):How do I check whether an ECS instance and a Tair instance are of the same network type?

Last Updated:Mar 28, 2026

To connect an Elastic Compute Service (ECS) instance to a Tair (Redis OSS-compatible) instance over the internal network, both instances must use the same network type — either classic network or Virtual Private Cloud (VPC).

Important

If both instances use VPC, they must also belong to the same VPC. Instances in different VPCs cannot communicate over the internal network.

Check the network type of an ECS instance

  1. Log on to the ECS console.

  2. Log on to the ECS console.

  3. In the left-side navigation pane, choose Instances & Images > Instances.

  4. In the top navigation bar, select the region and resource group. Region selector

  5. Click the ID of the ECS instance to open the Instance Details tab.

  6. In the Network Information section, check the network type:

    • Classic Network — the instance uses the classic network.

    • VPC — the instance uses VPC. Note the VPC ID shown in this section for use in the next step. ECS-vpcID

Check the network type of a Tair instance

  1. Log on to the console and go to the Instances page. In the top navigation bar, select the region, then find the instance and click its ID.

  2. In the Basic Information section, check the network type:

    • Classic Network — the instance uses the classic network.

    • VPC — the instance uses VPC. Note the VPC ID shown in this section and compare it with the ECS VPC ID.

Determine whether the instances can connect

After checking both network types, use the following table to determine connectivity and the required action.

ScenarioInternal network connectivityAction
Both instances use VPC and belong to the same VPCSupportedAdd the internal IP address of the ECS instance to a whitelist of the Tair instance.
Both instances use the classic networkSupportedAdd the internal IP address of the ECS instance to a whitelist of the Tair instance.
Both instances use VPC but belong to different VPCsNot supportedChange the VPC of the Tair instance. See Change the VPC or vSwitch of an instance.
The instances use different network typesNot supportedWe recommend that you change the network types of both instances to VPC. See Migrate from classic network to VPC (ECS) and Change the network type from classic network to VPC (Tair).