Preparation

更新时间:
复制 MD 格式

Before connecting to ApsaraDB for HBase Standard Edition, set up your network environment, configure a whitelist, and verify connectivity.

Choose an access mode

ApsaraDB for HBase Standard Edition supports two access modes:

Access modeLatencyRecommended for
Internal accessLow, stableProduction
Internet accessRelatively highDevelopment and testing

Use internal access for production workloads. Internet access is available when you need to connect from outside the Alibaba Cloud network during development or testing.

Set up your network

Choose the network type that matches how your ApsaraDB for HBase Standard Edition instance is deployed.

Classic network

In a classic network, create an ECS instance in any zone within the same region as your ApsaraDB for HBase Standard Edition instance.

Example: If ApsaraDB for HBase Standard Edition is deployed in Zone B of the China (Hangzhou) region, create an ECS instance in Zone B, Zone C, Zone D, or Zone E of the same region.

After creating the ECS instance, add its internal IP address to the whitelist. See Configure a whitelist.

Virtual private cloud (VPC)

In a VPC, the ECS instance and ApsaraDB for HBase Standard Edition instance must be in the same VPC. They can be in different zones within the same VPC by using vSwitches.

  1. Create a VPC in the target region using the VPC console. Example: Create a VPC named myvpc in the China (Hangzhou) region.

  2. In the VPC, create a vSwitch in the zone where ApsaraDB for HBase Standard Edition will be deployed. Example: If ApsaraDB for HBase Standard Edition will be deployed in Zone E, create a vSwitch named switch-zone-e in Zone E of myvpc, and specify a CIDR block.

  3. On the ApsaraDB for HBase Standard Edition buy page, set VPC to myvpc and vSwitch to switch-zone-e.

  4. Create a vSwitch for the ECS instance.

    • If you can create the ECS instance in the same zone as ApsaraDB for HBase Standard Edition (Zone E), skip this step and go to step 5.

    • If Zone E is not available for ECS, check which zones support ECS (for example, Zone B) and create a vSwitch named switch-zone-b in myvpc.

  5. Create an ECS instance.

    • If Zone E is available for ECS, create the instance in Zone E and set VPC and vSwitch to myvpc and switch-zone-e.

    • If Zone E is not available, create the instance in the zone from step 4 (for example, Zone B) and set VPC and vSwitch to myvpc and switch-zone-b.

Configure a whitelist

After the ECS instance is running, add its internal IP address to the whitelist in ApsaraDB for HBase Standard Edition.

For the full configuration steps, see Configure a whitelist.

Verify connectivity

Run a connectivity test to confirm that your ECS instance can reach ApsaraDB for HBase Standard Edition before deploying your application.

For the test procedure, see Connectivity test.