To connect an ECS instance to a Tair (Redis OSS-compatible) instance over the internal network, you must ensure that they are in the same network. They must either be in the same classic network or the same Virtual Private Cloud (VPC).
Check the network type of an ECS instance
Log in to the ECS console.
In the left-side navigation pane, choose .
In the upper-left corner of the page, select a region and resource group.
-
Click the ID of the target instance to go to the Instance Details page.
-
In the Network Information section, view the Network Type.
-
If the instance is in a classic network, the type is displayed as Classic Network.
-
If the instance is in a VPC, the type is displayed as VPC. You can also view the VPC ID.
-
Check the network type of a Tair instance
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.
-
In the Basic Information section, view the Network Type.
-
If the instance is in a classic network, the type is displayed as Classic Network.
-
If the instance is in a VPC, the type is displayed as VPC, and the VPC ID is also shown.
-
Check the internal network connection between an ECS instance and a Tair instance
|
Scenario |
Internal network connectivity |
|
Supported. Note
Before you connect, add the internal IP address of the ECS instance to the whitelist of the Tair instance. |
|
Not supported. You can change the VPC of the Tair instance. For instructions, see Change the VPC or vSwitch of an instance. |
|
Not supported. Change the network type of both instances to VPC. For instructions, see Migrate from classic network to VPC and Change the network type from classic network to VPC. |