Using a Cloud Connection and Direct Connect to Connect On-Premises Data Centers and VPCs
To enable on-premises data centers to communicate with VPCs in different regions, you first need to connect each on-premises data center to a VPC using Direct Connect and the load the VPCs and virtual gateways to a cloud connection. If there are VPCs in other accounts, you must request permission for these VPCs from the other accounts before you load them to the cloud connection. You also need to purchase bandwidth packages and assign inter-region bandwidths.
If a VPC or on-premises data center is outside the Chinese mainland, you need to apply for a cross-border permit before you purchase bandwidth packages.
Figure 1 shows an example.
For details about the regions where cloud connections are available, see Region Availability.
Procedure
Step |
Description |
---|---|
Before using cloud services, sign up for a HUAWEI ID, enable Huawei Cloud services, complete real-name authentication, and top up your account. |
|
Step 1: Connect On-Premises Data Centers to the Cloud Using Direct Connect |
Connect each on-premises data center to a nearest VPC over a Direct Connect connection. |
If a VPC or on-premises data center you want to connect is outside the Chinese mainland, you need to apply for a cross-border permit. Skip this step if cross-border communication is not required. |
|
Create a cloud connection. |
|
Step 4: Request Permission to Use the VPCs in the Other Account |
If the VPCs in your account need to communicate with the VPCs in other accounts, you need to ask the other accounts to grant you the permission to load their VPCs to your cloud connection. Skip this step if the VPCs in your account do not need to communicate with the VPCs in other accounts. |
Load the VPCs and virtual gateways to the created cloud connection based on your network plan. |
|
To enable normal communication between regions in the same geographic region or different geographic regions, you need to purchase bandwidth packages and bind them to the cloud connection. |
|
Preparations
Before creating a cloud connection, you need to sign up for a HUAWEI ID, enable Huawei Cloud services, complete real-name authentication, and top up your account. Ensure that your account has sufficient balance.
- Sign up for a HUAWEI ID, enable Huawei Cloud services, and complete real-name authentication.
- Top up your account.
Ensure that your account has sufficient balance. For details about how to top up an account, see Topping up an Account.
Step 1: Connect On-Premises Data Centers to the Cloud Using Direct Connect
Connect each on-premises data center to a nearest VPC over a Direct Connect connection.
For details, see Direct Connect Quick Start.
When you create a virtual gateway, specify the VPC CIDR block that the on-premises data center needs to access as a local subnet.
Step 2: Apply for a Cross-Border Permit
If a VPC or on-premises data center you want to connect is outside the Chinese mainland, you need to apply for a cross-border permit.
Skip this step if cross-border communication is not required.
- Go to the Bandwidth Packages page.
- On the displayed page, click apply now.
If the registered address of your business entity is in the Chinese mainland, click here to go to the Cross-Border Service Application System page.
If the registered address of your business entity is outside the Chinese mainland, click here to go to the Cross-Border Service Application System page.
Select the address for applying for the cross-border permit based on the registration address of your business entity.
- On the displayed page, select an applicant type, configure the parameters as prompted, and upload the required materials.
Prepare and upload the materials required on the application page.
Table 1 Online cross-border permit application Parameter
Description
Applicant Name
The applicant name must be the same as the company name in the Letter of Commitment to Information Security.
Huawei Cloud UID
The account ID to log in to the management console. You can take the following steps to obtain your account ID.- Log in to the management console.
- Click the username in the upper right corner and select My Credentials from the drop-down list.
- On the API Credentials page, view the Account ID.
Bandwidth (Mbit/s)
For reference only
Start Date
For reference only
Termination Date
For reference only
Customer Type
Select a type based on the actual situation.
Country of the Customer
Country where the applicant is located.
Contact Name
-
Contact Number
-
Type of ID
-
ID Number
-
Scope of Business
Briefly describe the main business.
Number of Employees
For reference only
Branch Location Country
Country where the applicant branch is located. Set this parameter based on the actual situation.
Table 2 Required materials Parameter
Description
Required Material
Signature
Company Seal
Business License
Upload a photo of the business license with the official seal.
For the position of the seal, see the template.
A scanned copy of your company's business license
-
√
Service Agreement
Download the Huawei Cloud Cross-Border Circuit Service Agreement, fill in the blank, upload the copy of agreement with the signature and official seal.
- Sign the material on the signature block.
- Stamp the seal over the signature.
A scanned copy of the Huawei Cloud Cross-Border Circuit Service Agreement
√
√
Letter of Commitment to Information Security
Download the China Unicom Letter of Commitment to Information Security of the Cross-Border Circuit Service, fill in the blank, and upload the copy of the letter with the signature and seal.
- Sign the material on the signature block.
- Stamp the seal over the signature.
- Specify the bandwidth you estimated and your company name.
A scanned copy of the China Unicom Letter of Commitment to Information Security of the Cross-Border Circuit Service
√
√
- Click Submit.
Step 3: Create a Cloud Connection
- Go to the Cloud Connections page.
- In the upper right corner of the page, click Create Cloud Connection.
- Configure the parameters based on Table 3.
Table 3 Parameters for creating a cloud connection Parameter
Description
Name
Specifies the cloud connection name.
The name can contain 1 to 64 characters. Only letters, digits, underscores (_), hyphens (-), and periods (.) are allowed.
Enterprise Project
Provides a cloud resource management mode, in which cloud resources and members are centrally managed by project.
Scenario
VPC: VPCs or virtual gateways can use this cloud connection.
Tag
Identifies the cloud connection. A tag consists of a key and a value. You can add 20 tags to a cloud connection.
NOTE:If a predefined tag has been created on TMS, you can directly select the corresponding tag key and value.
For details about predefined tags, see Predefined Tags.
Description
Provides supplementary information about the cloud connection.
The description can contain no more than 255 characters.
- Click OK.
Step 4: Request Permission to Use the VPCs in the Other Account
If the VPCs in your account need to communicate with the VPCs in other accounts, you need to ask the other accounts to grant you the permission to load their VPCs to your cloud connection.
Skip this step if the VPCs in your account do not need to communicate with the VPCs in other accounts. The following are steps that other accounts can take to grant you the permission.
A VPC can only be authorized to one account. After the other account grants you the permission, you can load the VPC to your cloud connection so that your network can communicate with this VPC.
- Go to the Cross-Account Authorization page.
- On the Network Instances Authorized by Me tab, click Authorize Network Instance.
- Configure the parameters based on Table 4.
Figure 2 Cross-account authorization
Table 4 Parameters for the other account to grant you the permission to load their VPC to your cloud connection Parameter
Description
Region
Specifies the region where the VPC is located.
VPC
Specifies the VPC to be loaded to your cloud connection.
Peer Account ID
Specifies the ID of your account.
Peer Cloud Connection ID
Specifies the ID of your cloud connection that the VPC is to be loaded to.
Remarks
Provides supplementary information about cross-account authorization.
- Click OK.
Step 5: Load Network Instances
Load the VPCs and virtual gateways to the created cloud connection based on your network plan.
- Go to the Cloud Connections page.
- Click the name of the cloud connection to go to the Basic Information page.
- Click the Network Instances tab.
- Click Load Network Instance.
- If the network instance to be loaded is in your account that was used to create the cloud connection, select Current account.
Configure the parameters based on Table 5 and click OK.
Table 5 Parameters for loading a network instance to a cloud connection Parameter
Description
Account
Specifies the account that provides the network instance.
Select Current account.
Region
Specifies the region where the VPC you want to connect is located.
Instance Type
Specifies the type of the network instance that needs to be loaded to the cloud connection. There are two options:
- VPC
- Virtual gateway
Select VPC.
VPC
Specifies the VPC you want to load to the cloud connection.
This parameter is mandatory if you have set Instance Type to VPC.
VPC CIDR Block
Specifies the subnets in the VPC and custom CIDR blocks.
If you have set Instance Type to VPC, you need to configure the following two parameters:
- Subnet: Select one or more subnets in the VPC.
- Other CIDR Block: Add one or more custom CIDR blocks as needed.
Remarks
Provides supplementary information about the network instance.
- If the network instance is in another account, select Peer account.
Configure the parameters based on Table 6 and click OK.
Table 6 Parameters for loading network instances across accounts Parameter
Description
Account
Specifies the account that provides the network instance.
Select Peer account.
Peer Account ID
Specifies the ID of the other account.
Region
Specifies the region where the VPC you want to connect is located.
Peer Project ID
Specifies the project ID of the VPC in the other account.
Instance Type
VPC
Specifies the type of the network instance that needs to be loaded to the cloud connection.
Peer VPC
Specifies the VPC to be loaded.
VPC CIDR Block
Specifies the subnets in the VPC you want to load and custom CIDR blocks.
Remarks
Provides supplementary information about the network instance.
- A network instance can only be loaded to one cloud connection.
- If a VPC is loaded, the associated virtual gateway cannot be loaded.
- If the network instance to be loaded is in your account that was used to create the cloud connection, select Current account.
- Click Continue Loading if you need to load another network instance. If you do not need to load another network instance now, close the dialog box and view the loaded network instance on the Network Instances tab.
Step 6: Buy Bandwidth Packages
By default, a cloud connection provides 10 kbit/s of bandwidth for testing cross-region network connectivity. To enable normal communication between regions in the same geographic region or different geographic regions, you need to purchase a bandwidth package and bind it to the cloud connection.
- One cloud connection can only have one bandwidth package regardless of if the cloud connection is used for communication within a geographic region or between geographic regions. For example, if network instances are in the Chinese mainland and Asia Pacific, your cloud connection can only have one bandwidth package.
- A bandwidth package can only be bound to one cloud connection.
- Go to the Buy Bandwidth Package page.
- Configure the parameters based on Table 7 and click Buy Now.
Table 7 Parameters for buying a bandwidth package Parameter
Description
Billing Mode
The only option is Yearly/Monthly.
You can purchase it by year or month as needed.
Name
Specifies the bandwidth package name.
The name can contain 1 to 64 characters. Only digits, letters, underscores (_), hyphens (-), and periods (.) are allowed.
Billed By
Specifies by what you want the bandwidth package to be billed.
Applicability
Specifies whether you want to use the bandwidth package for communication within a geographic region or between geographic regions. There are two options:
- Single geographic region: Use the bandwidth package between regions in the same geographic region.
- Across geographic regions: Use the bandwidth package between regions in different geographic regions.
Geographic Region
Specifies the geographic region(s).
Bandwidth
Specifies the bandwidth you require for communication between regions, in Mbit/s. The sum of all inter-region bandwidths you assign cannot exceed the total bandwidth of the bandwidth package. Assign the bandwidth based on your network plan.
Tag
Identifies the bandwidth package. A tag consists of a key and a value. You can add 20 tags to a bandwidth package.
NOTE:If a predefined tag has been created on TMS, you can directly select the corresponding tag key and value.
For details about predefined tags, see Predefined Tags.
Required Duration
Specifies how long you require the bandwidth package for.
Auto renewal is supported.
Cloud Connection
Specifies the cloud connection you want to bind the bandwidth package to. There are two options:
- Bind now
- Bind later
- Confirm the configuration and click Pay Now.
- On the payment information page, click Confirm.
View the bandwidth package in the bandwidth package list. If the status changes to Normal, the purchase is successful.
Bind a bandwidth package to a cloud connection.
Bind the purchased bandwidth package to the created cloud connection.
- Go to the Cloud Connections page.
- Click the name of the cloud connection to go to the Basic Information page.
- Click the Bandwidth Packages tab.
- Select the purchased bandwidth package and bind it to the cloud connection.
Step 7: Assign Inter-Region Bandwidth
By default, a cloud connection provides 10 kbit/s of bandwidth for testing cross-region network connectivity.
- Go to the Cloud Connections page.
- Click the name of the cloud connection to go to the Basic Information page.
- Click the Inter-Region Bandwidths tab.
- Click Assign Inter-Region Bandwidth and configure the parameters based on Table 8.
Table 8 Parameters required for assigning inter-region bandwidth Parameter
Description
Regions
Specifies the regions of the network instances that need to communicate with each other.
Select two regions.
Bandwidth Package
Specifies the purchased bandwidth package that will be bound to the cloud connection.
Bandwidth
Specifies the bandwidth you require for communication between regions, in Mbit/s.
The sum of all inter-region bandwidths you assign cannot exceed the total bandwidth of the bandwidth package. Plan the bandwidth in advance.
- Click OK.
Now the network instances in the two regions can communicate with each other.
The default security group rules deny all the inbound traffic. Ensure that security group rules in both directions are correctly configured for resources in the regions to ensure normal communication.
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