Cross-account management for DCDN
Updated at:
Alibaba Cloud DCDN offers a cross-account management feature for the centralized management of resources across multiple accounts and products. This topic describes how to enable and use this feature.
Use cases
- Your organization has multiple branches, and each branch uses a different Alibaba Cloud UID. You want to manage resources across these accounts centrally.
- You have purchased various content delivery products, such as CDN, DCDN, and IPA, under multiple Alibaba Cloud UIDs and want to manage these resources centrally across different products.
Note A UID is a User ID that the system automatically assigns when you register for an Alibaba Cloud account.
Prerequisites
You must create a new UID as the management account. This account must complete enterprise verification and have Resource Directory enabled. For more information, see Invite an Alibaba Cloud account to join a Resource Directory.
Note The management account is a new account used to enable the cross-account management feature.
Procedure
- Create a new UID as the management account. This account must complete enterprise verification and enable Resource Directory.
- Add the Alibaba Cloud UIDs that you want to manage to the Resource Directory as member accounts.Note
- If a member account and the management account have different verified entity names, you can resolve this by filling in the information or .
- The system synchronizes the list of managed domains from member accounts hourly. Therefore, it can take up to one hour for a newly added member account to be fully managed.
- From the management account, enable the cross-account management feature. You can do this by calling the
EnableDcdnRdAccessAPI operation, or by filling in the information or . - You can perform the following operations from the management account:
- Query domains across accounts: Call the
DescribeRDDomainsoperation to query all DCDN, CDN, and IPA domains across all accounts in your Resource Directory. If this feature is not enabled, the API call returns an error. - Configure IP blocklists across accounts: Call the
BatchSetRDBlockIPoperation to apply blocking rules to multiple domains. This operation allows you to block or unblock IPs by specifying parameters for the target domains, IP lists, operation type, and duration.
Important- DCDN cross-account management creates a service-linked role,
AliyunServiceRoleForDCDNMultiAccount, in both the management account and member accounts within your Resource Directory. This role enables centralized resource management across accounts and products. When you disable the service, the service-linked role is deleted. Do not delete the service-linked role while the service is in use. - Service-linked role (
AliyunServiceRoleForDCDNMultiAccount): A service-linked role for DCDN cross-account management. This role allows DCDN to access your resources in other Alibaba Cloud services. - The service-linked role includes permissions for the following API operations:
resourcemanager:GetAccount,resourcemanager:ListAccountsForParent,resourcemanager:ListAccounts,resourcemanager:GetFolder,resourcemanager:ListFoldersForParent,resourcemanager:ListAncestors,resourcemanager:GetResourceDirectory,cdn:DescribeUserCdnStatus,dcdn:DescribeUserDcdnStatus,dcdn:DescribeUserDcdnIpaStatus,cdn:DescribeUserDomains, dcdn:DescribeDcdnUserDomains,dcdn:DescribeDcdnIpaUserDomains,cdn:SetCdnBlockIP,dcdn:SetDcdnBlockIP, andram:DeleteServiceLinkedRole.
- Query domains across accounts: Call the
- From the management account, disable the cross-account management feature. You can do this by calling the
DisableDcdnRdAccessAPI operation, or by filling in the information or .
API reference
EnableDcdnRdAccess: Enables the integration service between DCDN and Resource Directory.DisableDcdnRdAccess: Disables the integration service between DCDN and Resource Directory.DescribeRDDomains: Queries the list of domains across different accounts and products.BatchSetRDBlockIP: Sets the IP blocklist for domains across different accounts and products. This is currently the only supported cross-account domain configuration.
Is this page helpful?