All Products
Search
Document Center

Elastic Compute Service:Share a private pool

Last Updated:Aug 29, 2026

You can share a private pool with other Alibaba Cloud accounts, or share it within an enterprise organization based on a resource directory. Other Alibaba Cloud accounts can use your shared private pool to create ECS instances, which improves resource utilization and reduces costs. This topic describes sharing private pools and the related procedure.

Prerequisites

A resource share whose resource type is capacity reservation or elasticity assurance is created. For more information, see Create a resource share.

Billing

Sharing a private pool is free of charge and does not incur additional fees.

Private pools generated from immediate capacity reservations

  • The capacity used by created instances is billed to the instance creator.

  • Unused capacity is billed to the owner of the private pool.

Assume that Account A is the owner of a private pool and Account B is the sharee. The capacity and sharing status of the private pool are as follows.

Total private pool capacity

Number of instances created by Account A

Number of instances created by Account B

Unused capacity

10

3

2

5

Account A is billed for 3 instances and for 5 units of unused capacity.

Account B is billed for 2 instances.

Private pools generated from elasticity assurances

  • The capacity used by created instances is billed to the instance creator.

  • The reservation fee of the elasticity assurance is billed to the owner.

Assume that Account A is the owner of a private pool and Account B is the sharee. The capacity and sharing status of the private pool are as follows.

Total private pool capacity

Number of instances created by Account A

Number of instances created by Account B

Unused capacity

10

3

2

5

Account A is billed for the reservation fee of the elasticity assurance with a capacity of 10 and for 3 instances.

Account B is billed for 2 instances.

Permissions

The following table describes the permissions of the owner and the sharee of a private pool.

Permission

Owner

Sharee

View the basic information of a private pool

Supported

Supported

Modify the basic information of a private pool

Supported

Not supported

Create a resource share

Supported

Not supported

View the sharing records of a private pool

Supported

Not supported

View all instances under the private pool capacity

Supported

Can view only the instances under the sharee's own account

View the capacity usage of a private pool - Total

Supported

Can view only the total capacity under the sharee's own account

View the capacity usage of a private pool - By account

Supported

Can view only the usage under the sharee's own account

Unshare

Supported

Not supported

From the owner's perspective, the used capacity of a private pool includes all instances created by the owner and the sharees, and the total capacity is the total capacity of the private pool. From the sharee's perspective, the used capacity is the number of instances created by the sharee, and the total capacity is the number of instances created by the sharee plus the available capacity of the entire private pool.

For example, if the total capacity of a private pool is 5, the owner creates 2 instances, and the sharee creates 1 instance, then the owner's used capacity/total capacity = 3/5, and the sharee's used capacity/total capacity = 1/(1+2) = 1/3.

Share a private pool

The following procedure uses an example in which Alibaba Cloud Account A shares a private pool with Alibaba Cloud Account B.

  1. Account A accesses ECS console - Resource Advisor.

  2. In the upper-left corner of the page, select a region and resource group.

  3. On the Share Private Pool screen, select a resource share, and then click Share.

  4. Check the sharing status of the private pool.

  5. On the Private Pools tab, click Private Pool ID or View Details in the Actions column.

  6. View the details and sharing status of the private resource pool.

  7. The Resource Details tab displays the basic information and private resource pool information of the private pool, as well as the instances associated with the private pool.

    Specifically:

    • The basic information includes Capacity Reservation ID, Instance Type, Billing Method of Instances, Number of Instances, Effective Time, Region, Release Mode, Zone, Operating System, Tags, and Description.

    • The private resource pool information includes Private Resource Pool ID, Status, Private Resource Name, Available Quantity, Provisioning Method, and Pool Type.

    • In the associated instances section, you can click the Purchase Instance button to create instances associated with the private pool.

  8. The Sharing Relationships tab displays the resource shares that the private pool has joined and the usage of the shared capacity of the private pool.

    The resource share list contains Resource Share ID/Name, Status (Associated or Disassociated), Last Modified, and Actions columns. You can click Initiate Share to add the private pool to a new resource share, or click Unshare in the Actions column to disassociate it.

Use a shared private pool

  • If Alibaba Cloud Account B and Alibaba Cloud Account A are in the same resource directory, after the private pool is shared, Account B can directly use the shared private pool.

  • If Alibaba Cloud Account B and Alibaba Cloud Account A are not in the same resource directory, Account B must accept the shared private pool invitation sent by Alibaba Cloud Account A for the sharing to succeed. For more information about resource directory, see What is Resource Directory?.

Accept a shared private pool

  1. Account B logs on to the Resource Sharing console.

  2. In the left-side navigation pane, choose Resource Sharing > Shared to Me.

  3. In the upper-left corner of the top menu bar, select the region where the shared private pool resides.

  4. On the Shared to Me page, click Accept in the Status column of the target resource share.

  5. In the Accept Resource Sharing dialog box, click OK.

After the invitation is accepted, Account B can use the shared private pool, and resources subsequently added to the resource share are accepted by default.

Use a shared private pool

  1. Account B accesses ECS console - Resource Advisor.

  2. In the upper-left corner of the page, select a region and resource group.

  3. Click View Details in the Actions column to view the details of the private pool shared to you.

  4. Click Purchase Instance in the Actions column to create ECS instances by using the private pool.

Unshare a private pool

If Alibaba Cloud Account A no longer needs to share a private pool with Alibaba Cloud Account B, Account A can unshare the private pool.

After Alibaba Cloud Account A unshares a private pool, Alibaba Cloud Account B can no longer use the private pool to create ECS instances, and existing ECS instances can no longer use the capacity of the private pool.

  1. Account A accesses ECS console - Resource Advisor.

  2. In the upper-left corner of the page, select a region and resource group.

  3. In the upper part of the Resource Reservations page, click the Private Pools tab, and then click the ID of the private resource pool to be unshared or View Details in the Actions column.

  4. On the Resource Reservation Details page, click the Sharing Relationships tab.

  5. Select the resource share to be cancelled and click Unshare in the Actions column.

  6. In the Unshare dialog box that appears, click OK.

If the sharing account has running instances in the resource pool, after the sharing is stopped, those instances are removed from the private resource pool. If the system encounters insufficient inventory when replenishing the capacity of the private pool, the capacity of the private pool is reduced. Proceed with caution.