Access modes

ApsaraDB for HBase supports both internal access and Internet access. Internal access is stable and recommended for production use. Internet access has a relatively high latency and can be used for development and testing purposes.

Classic network

In the classic network, you can purchase an ECS instance in any zone of the region where ApsaraDB for HBase Standard Edition is deployed, and set a whitelist to connect the ECS instance to ApsaraDB for HBase Standard Edition.

For example, if ApsaraDB for HBase Standard Edition is deployed in Zone B of the China (Hangzhou) region, you can create an ECS instance in one of the following zones of the same region: Zone B, Zone C, Zone D, and Zone E.

Virtual private cloud (VPC)

In a VPC, you can create an ECS instance in any zone if the ECS instance and ApsaraDB for HBase Standard Edition are in the same VPC. You can connect the ECS instance and ApsaraDB for HBase Standard Edition to the same VPC by creating vSwitches in different zones.

  1. Create a VPC network in a region in the VPC console.

    For example, if you are in Hangzhou, you can create a VPC named myvpc in the China (Hangzhou) region.

  2. In this VPC, create a vSwitch in the zone where ApsaraDB for HBase Standard Edition is deployed.

    For example, if ApsaraDB for HBase Standard Edition is deployed in Hangzhou Zone E, you can create a vSwitch named switch-zone-e in Zone E in myvpc, and then specify a CIDR block as needed.

  3. Set VPC and vSwitch to myvpc and switch-zone-e on the buy page of ApsaraDB for HBase Standard Edition.
  4. Create a vSwitch that is used by the ECS instance.
    1. If you can purchase an ECS instance in the same zone where ApsaraDB for HBase Standard Edition is deployed such as Zone E, go to Step 5.
    2. If you cannot purchase an ECS instance in the same zone where ApsaraDB for HBase Standard Edition is deployed, check the available zones for the ECS instance, for example, Zone B, and then create the corresponding vSwitch switch-zone-b in myvpc.
  5. Create an ECS instance.
    1. If you can select the same zone where ApsaraDB for HBase Standard Edition is deployed such as Zone E, purchase an ECS instance directly. Select the same VPC and vSwitch previously created for ApsaraDB for HBase Standard Edition.
    2. If you cannot select the same zone where ApsaraDB for HBase Standard Edition is deployed, create an ECS instance in the zone selected in Step 4b. For example, you can create an ECS instance in Zone B and set VPC and vSwitch to the previously createdmyvpc and switch-zone-b.

Whitelist

After creating an ECS instance, you must add the internal IP address of the ECS instance to the whitelist in ApsaraDB for HBase Standard Edition. For more information, see Configure a whitelist.

Connectivity test

For more information, see Connectivity test.