You can share a private pool with other Alibaba Cloud accounts or with members in your organization by using Resource Directory. This allows other accounts to create ECS instances in your shared private pool, which improves resource utilization and reduces costs. This topic describes how to share, use, and stop sharing a private pool.
Prerequisites
You have created a resource share for a capacity reservation or an elasticity assurance. For more information, see Create a resource share.
Billing
Sharing a private pool incurs no additional fees.
Private pools from immediate capacity reservations
-
The account that creates an instance is billed for that instance.
-
The owner of the private pool is billed for unused capacity.
For example, Account A is the owner of a private pool and shares it with Account B, a participant. The capacity and usage of the private pool are shown in the following table.
|
Total pool capacity |
Instances created by Account A |
Instances created by Account B |
Unused capacity |
|
10 |
3 |
2 |
5 |
Account A is billed for 3 instances and 5 units of unused capacity.
Account B is billed for 2 instances.
Private pools from elasticity assurances
-
The account that creates an instance is billed for that instance.
-
The owner is billed for the reservation fee of the elasticity assurance.
For example, Account A is the owner of a private pool and shares it with Account B, a participant. The capacity and usage of the private pool are shown in the following table.
|
Total pool capacity |
Instances created by Account A |
Instances created by Account B |
Unused capacity |
|
10 |
3 |
2 |
5 |
Account A is billed for the reservation fee of the elasticity assurance for 10 units of capacity and for 3 instances.
Account B is billed for 2 instances.
Permissions
The following table describes the permissions of the private pool owner and participants.
|
Permission |
Owner |
Participant |
|
View basic information of the private pool |
Yes |
Yes |
|
Modify basic information of the private pool |
Yes |
No |
|
Create a resource share |
Yes |
No |
|
View the sharing history of the private pool |
Yes |
No |
|
View all instances in the private pool |
Yes |
Can view only the instances in their own account |
|
View total capacity usage of the private pool |
Yes |
Can view only the total capacity calculated for their account |
|
View capacity usage by account |
Yes |
Can view only the capacity used by their own account |
|
Stop sharing the private pool |
Yes |
No |
Capacity metrics differ based on your role. For the owner, used capacity includes all instances created by both the owner and all participants, and total capacity is the full capacity of the private pool. For a participant, used capacity is the number of instances created by the participant, and total capacity is the sum of the instances created by the participant and the available capacity in the private pool.
For example, if a private pool has a total capacity of 5, the owner creates 2 instances, and a participant creates 1 instance, the capacity view is as follows: For the owner, used/total capacity = 3/5. For the participant, the used/total capacity is 1/3, which is calculated based on their 1 created instance and the 2 available instances in the pool.
Share a private pool
This section provides an example where Alibaba Cloud account A (the owner) shares a private pool with Alibaba Cloud account B (the participant).
-
Log on to the ECS console - Resource Advisor with Alibaba Cloud account A.
In the upper-left corner of the page, select a region and resource group.
-
In the left-side navigation pane, choose .
-
On the Resource Reservations page, click the Private Pools tab.
-
Find a private pool that is in the Active state. In the Actions column, click the icon and select Create Share.

-
In the Share Private Pool dialog box, select a resource share and click Share.

-
Verify the sharing status.
-
On the Private Pools tab, click the Private Pool ID or click View Details in the Actions column.

-
View the details and sharing status of the private pool.
-
The Resource Details tab displays basic information about the private pool and its associated instances.

-
The Sharing Relationships tab displays the resource share that the private pool is added to and the usage of the shared capacity.

-
-
Use a shared private pool
-
If Alibaba Cloud account B and Account A are in the same Resource Directory, Account B can use the shared private pool immediately.
-
If Alibaba Cloud account B and Account A are not in the same Resource Directory, Account B must accept the invitation from Account A to use the shared private pool. For more information about Resource Directory, see What is Resource Directory?.
Accept a sharing invitation
-
Log on to the Resource Management console with Alibaba Cloud account B.
-
In the left-side navigation pane, choose .
-
In the top navigation bar, select the region where the shared private pool is located.
-
On the Resources Shared with Me page, find the target resource share and click Accept in the Status column.
-
In the Accept Resource Sharing Invitation dialog box, click OK.
After accepting the invitation, Alibaba Cloud account B can use the shared private pool. You automatically accept any new resources added to this resource share.
Use the shared private pool
-
Log on to the ECS console - Resource Advisor with Alibaba Cloud account B.
In the upper-left corner of the page, select a region and resource group.
-
In the left-side navigation pane, choose .
-
On the Resource Reservations page, click the Private Pools tab to view the shared private pools.
-
In the Actions column, click View Details to view the details of a shared private pool.

-
In the Actions column, click Purchase Instance to create an ECS instance in the private pool.

-
Stop sharing a private pool
If Alibaba Cloud account A no longer needs to share the private pool with Account B, they can stop sharing it.
After Account A stops sharing the private pool, Account B can no longer use it to create new ECS instances. Existing instances created by Account B can no longer use the capacity from the private pool.
-
Log on to the ECS console - Resource Advisor with Alibaba Cloud account A.
In the upper-left corner of the page, select a region and resource group.
-
In the left-side navigation pane, choose .
-
On the Resource Reservations page, click the Private Pools tab. Find the private pool that you want to stop sharing and click its pool ID or click View Details in the Actions column.

-
On the Resource Reservation Details page, click the Sharing Relationships tab.
-
Find the resource share you want to stop sharing with and click Unshare in the Actions column.

-
In the Unshare dialog box, click OK.
ImportantIf the participant has running instances in the private pool when you stop sharing, these instances are removed from the pool. If the private pool capacity cannot be replenished due to insufficient inventory, its total capacity is reduced. Proceed with caution.







