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
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
On this page

Creating a Resource Share

Updated on 2024-09-13 GMT+08:00

Scenario

To share resources with other accounts, you need to first create a resource share. During the creation, you need to specify the resources to share, associate permissions with each resource type, specify the principals to grant access, and confirm the configuration details.

Procedure

  1. Log in to the Huawei Cloud management console.
  2. Click in the upper left corner and choose Management & Governance > Resource Access Manager. The Resource Access Manager page is displayed.
  3. Choose Shared by Me > Resource Shares.
  4. Click Create Resource Share in the upper right corner.
    Figure 1 Creating a resource share
  5. On the displayed Specify Resource Share Details page, configure basic information and specify the resources to share, and then click Next: Associate Permissions in the lower right corner.

    You can use either of the following methods to specify resources to share:

    • Select Resources: Select a resource type and region, or enter a resource name to search for the resource, and then select the resource from the list. You can use this method only to select resources specific to a region. If any resource to be shared cannot be found in the list, you can directly enter the resource URN.
    • Enter URNs: Enter a resource URN. Separate multiple URNs with semicolons (;).

      Each URN is in the format of service name:region ID:account ID:resource type:resource ID. For example, a URN can be pca:cn-north-7:05c734152f00d4200f2bc0179ac6c5e0:ca:305fd6b0-c15f-42f8-81b4-b41de0fccd93. Note that the region ID in the URN of a global resource is left blank, for example, anc::05c734152f00d4200f2bc0179ac6c5e0:anc:3ad31999-1a97-4282-901e-63706f122b4d.

    NOTE:

    When creating a resource share, you can specify up to 20 resources to share at a time. However, you can update the resource share you created to add more resources. For details, see Updating a Resource Share.

    Figure 2 Specifying resources to share
  6. On the Associate Permissions page, associate a RAM managed permission with each resource type, and then click Next: Specify Principals in the lower right corner.

    RAM managed permissions available for your selection are system permissions predefined by RAM. Some resource types may have multiple permissions available. You can select as needed. For the details of each permission, see Viewing the RAM Permissions Library.

    Figure 3 Associating permissions
  7. On the Grant Access to Principals page, specify the principals that you want to have access to the resources, and then click Next: Confirm in the lower right corner.

    In this step, you can select either Allow sharing with any Huawei Cloud principal or Allow sharing only within your organization. If you select the latter, choose any principals that are within your organization.

    You can set Principal Type to Organization or Huawei Cloud account ID. The Organization option is available only when the toggle key Sharing with Organizations is turned on. For details, see Enabling Sharing with Organizations.

    Figure 4 Granting access to any Huawei Cloud principal
    Figure 5 Granting access to principals within your organization
  8. Review and confirm the configuration details of your resource share and select I have read and agree to Privacy Statement on the Confirm page. Then, click Submit in the lower right corner.
    Figure 6 Confirming configurations

    After a resource share is created, RAM sends a sharing invitation to the specified principals. The principals can access and use the shared resources only after they accept the invitation. If the specified principals are within your organization and sharing with Organizations is enabled, the principals can access and use the shared resources without accepting the invitation.

    NOTE:

    Each principal can be shared with a maximum of 100 VPC subnets.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback