How do I check whether an ECS instance and a Tair instance are of the same network type?

Updated at: 2025-02-17 02:05

To connect an Elastic Compute Service (ECS) instance to a Tair (Redis OSS-compatible) instance over the internal network, make sure that the network types of the two instances are the same. The network type can be classic network or Virtual Private Cloud (VPC). If the network types of the two instances are VPC, make sure that the two instances belong to the same VPC.

View the network type of an ECS instance

  1. Log on to the ECS console.

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

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. Click the ID of an ECS instance to go to the Instance Details tab.

  5. In the Network Information section, view the network type of the instance.

    • Classic Network indicates that the network type of the instance is classic network.

    • VPC indicates that the network type of the instance is VPC. In this case, the VPC ID is also displayed.ECS-vpcID

View 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 in which the instance is deployed. Then, find the instance and click its ID.

  2. In the Basic Information section, view the network type of the instance.

    • Classic Network indicates that the network type of the instance is classic network.

    • VPC indicates that the network type of the instance is VPC.

Check whether an ECS instance and a Tair instance can be connected over the internal network

Scenario

Connectivity over an internal network

Scenario

Connectivity over an internal network

  • The ECS and Tair instances are both of the VPC network type, and they are deployed within the same VPC.

  • The ECS and Tair instances are both of the classic network type.

Supported.

Note

Before you connect to a Tair instance from an ECS instance, add the internal IP address of the ECS instance to a whitelist of the Tair instance.

  • The network types of the ECS and Tair instances are both VPC, but the instances are deployed in different VPCs.

Not supported. You can change the VPC of the Tair instance. For more information, see Change the VPC or vSwitch of an instance.

  • The network types of the ECS and Tair instances are different.

Not supported. We recommend that you change the network types of the ECS and Tair instances to VPC. For more information, see Migrate from classic network to VPC and Change the network type from classic network to VPC.

  • On this page (1, T)
  • View the network type of an ECS instance
  • View the network type of a Tair instance
  • Check whether an ECS instance and a Tair instance can be connected over the internal network
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare