El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Cloud Connect/ Best Practices/ Connecting VPCs in the Same Region But in Different Accounts/ Using a Cloud Connection to Connect VPCs in the Same Region But Different Accounts

Using a Cloud Connection to Connect VPCs in the Same Region But Different Accounts

Updated on 2025-01-15 GMT+08:00

Process Description

If you want to connect the VPCs in your account to those in another account, you can create a cloud connection, request permission from the other account to use their VPCs, and load all the VPCs to your cloud connection.

NOTE:

For details about the regions where cloud connections are available, see Region Availability.

Figure 1 How a cloud connection enables VPCs in the same region but different accounts to communicate with each other

Figure 2 illustrates how you can enable VPCs in the same region but in different accounts to communicate with each other using a cloud connection.

Figure 2 Process of enabling communication between VPCs

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.

  1. Sign up for a HUAWEI ID, enable Huawei Cloud services, and complete real-name authentication.
    If you already have a HUAWEI ID, skip this part. If you do not have a HUAWEI ID, perform the following operations to create one:
    1. Sign up for a HUAWEI ID and enable Huawei Cloud services.
    2. Complete real-name authentication.
  2. 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: Create a Cloud Connection

  1. Go to the Cloud Connections page.
  2. In the upper right corner of the page, click Create Cloud Connection.
  3. Configure the parameters based on Table 1.

    Table 1 Parameters for creating a cloud connection

    Parameter

    Example Value

    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 Tag Management Service (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.

  4. Click OK.

Step 2: Request Permission to Use the VPC in the Other Account

In this example, the two VPCs are in different accounts. If the VPC in your account (account A) needs to communicate with that in the other account (account B), ask this other account to grant you the permission to load their VPC to your cloud connection. This other account can take the following steps to grant you the permission to load their VPC:

  1. Go to the Cross-Account Authorization page.
  2. On the Network Instances Authorized by Me tab, click Authorize Network Instance.
  3. Configure the parameters based on Table 2.

    Figure 3 Cross-account authorization
    Table 2 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.

  4. Click OK.

Step 3: Load Network Instances

Load the VPCs that need to communicate with each other to the cloud connection you have created. To load the VPC in the other account, take the following steps:

  1. Go to the Cloud Connections page.
  2. Click the name of the cloud connection to go to the Basic Information page.
  3. Click the Network Instances tab.
  4. Click Load Network Instance. In the displayed dialog, select Peer account.

    Configure other parameters based on Table 3 and click OK.

    Table 3 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.

    NOTE:
    • A network instance can only be loaded to one cloud connection.
    • If a VPC is loaded, the associated virtual gateway cannot be loaded.

  5. 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.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback