Migrating Big Data Without Using the Internet
This section describes how to use NAT gateways and VPNs to migrate and synchronize big data when Edge has no Internet access. The following assumes that Alibaba Cloud is the source and Edge is installed on the Alibaba Cloud ECS.
Step 1: Configure a Huawei Cloud VPN
- Log in to the Huawei Cloud console and, in the service list, choose Networking > Virtual Private Network.
- Configure a VPN gateway
- In the navigation pane, choose Virtual Private Network > Enterprise – VPN Gateways.
- Click Buy S2C VPN Gateway and set parameters by following the on-screen instructions.
- Configure all required parameters and click Buy Now.
- Configure customer gateways. You need to create an active and a standby customer gateway.
- In the navigation pane on the left, choose Virtual Private Network > Enterprise – Customer Gateways.
- Click Create Customer Gateway and set parameters by following the on-screen instructions. Select IP Address for Identifier and enter the public IP address of the Alibaba Cloud gateway.
- Click Create Now.
- Create VPN connections. Create two VPN connections to connect to the Huawei Cloud VPN gateway and Alibaba Cloud customer gateway, respectively.
- In the navigation pane on the left, choose Virtual Private Network > Enterprise – VPN Connections.
- Click Create VPN Connection. On the displayed page, select the created VPN gateway and a customer gateway, and enter the subnet address of the customer gateway. Ensure that the subnet addresses do not overlap.
Select Custom for Policy Settings and ensure that the settings are the same as those on Alibaba Cloud.
- Configure all required parameters and click Buy Now.
Step 2: Configure an Alibaba Cloud VPN
- Sign in to the Alibaba Cloud console and choose Products and Services > Networking and CDN > Hybrid Cloud Network > VPN Gateway.
- Configure a VPN gateway
- Click Create VPN Gateway and set parameters by following the on-screen instructions.
- Configure all required parameters and click Buy Now.
- Configure the customer gateway.
- In the navigation pane, choose VPN > Customer Gateways.
- Click Create Customer Gateway and set parameters by following the on-screen instructions.
- Click OK.
- Create a VPN connection.
- In the navigation pane, choose VPN > IPsec Connections.
- Click Create IPsec Connection, select the VPN gateway configured in step 2, and keep the policy settings the same as those on Huawei Cloud.
- Click OK.
- Configure a route to the Huawei Cloud VPC subnet.
- In the navigation pane, choose VPN > VPN Gateways.
- Click the VPN gateway name. On the Destination-based Route Table tab, click Add Route Entry and set parameters based on the instructions.
Step 3: Configure an Alibaba Cloud NAT Gateway
Create an Alibaba Cloud NAT gateway and configure SNAT and DNAT entries. For details, see Creating and Managing an Internet Public NAT Gateway.
- Sign in to the Alibaba Cloud console and choose Products and Services > Networking and CDN > Hybrid Cloud Network > VPN Gateway.
- Create an Internet NAT gateway.
- On the Internet NAT Gateway page, click Create Internet NAT Gateway and configure parameters based on the instructions.
- Configure all required parameters and click Buy Now.
- Configure an SNAT entry.
- On the Internet NAT Gateway page, locate the Internet NAT gateway created in step 2 and click Configure SNAT in the Actions column.
- On the SNAT Management tab, click Create SNAT Entry and set parameters based on the instructions.
- Click OK.
- Configure a DNAT entry.
- On the Internet NAT Gateway page, locate the Internet NAT gateway created in step 2 and click Configure DNAT in the Actions column.
- On the DNAT Management tab, click Create DNAT Entry and set parameters based on the instructions.
- Click OK.
Step 4: Configure Security Groups
You need to configure security groups on Huawei Cloud and Alibaba Cloud.
- On the Huawei Cloud console, configure the involved security group to allow access from the private IP address of the server where Edge is installed.
- Sign in to the Huawei Cloud console.
- In the Service List, choose Networking > Virtual Private Cloud.
- In the navigation pane, choose Access Control > Security Groups.
- In the security group list, locate the security group where the target big data cluster is managed and click Manage Rules in the Operation column.
- On the Inbound Rules tab, click Add Rule.
- In the displayed dialog box, add a rule that allows TCP traffic to port 27080. Enter the private IP address of the server where Edge is installed in the Source text box.
- Click OK.
- On the Alibaba Cloud console, configure the involved security group to allow access from the private IP address of the server where Edge is installed.
- Sign in to the Alibaba Cloud ECS console.
- In the navigation pane, choose Network & Security > Security Groups.
- Locate the security group that the server with Edge installed belongs to and click Manage Rules in the Operation column.
- On the Inbound tab, click Quick Add. Set Action to Allow, Authorization Object to the public IP address of the server where Edge is installed, and Port Range to All.
- Click OK.
Step 5: Set Up a Migration Environment
Set up a migration environment by referring to Preparations. Purchase an ECS on Alibaba Cloud. Configure an SNAT rule for the NAT gateway to allow the ECS to access the Internet using its private IP address. Install Edge on the ECS, register an account, and connect Edge to MgC.
Step 6: Create a Big Data Migration Task
Review and understand the notes about big data verification tasks. Perform the following steps to create a big data migration task:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot