All Products
Search
Document Center

Elastic Compute Service:Share a private pool

Last Updated:Jul 16, 2026

Grant other Alibaba Cloud accounts access to your reserved capacity so they can launch ECS instances from the shared pool.

Prerequisites

You have created one of the following resource shares:

  • A resource share of type capacity reservation

  • A resource share of type elasticity assurance

See Create a resource share.

Billing

Sharing a private pool is free. The owner pays for unused capacity and their own ECS instances; each sharee pays only for their own instances. Exact fees depend on how the pool was created.

Private pool from an immediate capacity reservation

  • The owner and each sharee are billed for the ECS instances they create.

  • The owner is also billed for the pool's unused capacity.

Example: Account A (owner) shares the pool with Account B.

Total pool capacity

ECS instances created by Account A

ECS instances created by Account B

Unused capacity

10

3

2

5

Account A is billed for 3 instances and unused capacity equivalent to 5 instances.

Account B is billed for 2 created instances.

Private pool from an elasticity assurance

  • The owner and each sharee are billed for the ECS instances they create.

  • The owner is also billed the assurance fee for the full capacity of the associated elasticity assurance.

Example: Account A (owner) shares the pool with Account B.

Total pool capacity

ECS instances created by Account A

ECS instances created by Account B

Unused capacity

10

3

2

5

Account A is billed the assurance fee for the total capacity of 10 instances, plus the cost of 3 instances.

Account B is billed for 2 created instances.

Permissions

The following table lists actions available to the owner and sharees.

Permission

Owner

Sharee

View private pool information

Supported

Supported

Modify private pool information

Supported

Not supported

Create resource shares

Supported

Not supported

View sharing records

Supported

Not supported

View associated ECS instances

All instances (owner and sharees)

Sharee's own instances only

View total capacity

Full pool capacity

Sharee's instances + unused capacity

View capacity used by each account

All accounts

Sharee account only

Unshare the pool

Supported

Not supported

Capacity metrics differ by role. Owner: used capacity = all instances created by owner and sharees; total capacity = full pool. Sharee: used capacity = sharee's own instances; total capacity = sharee's instances + unused capacity. Example: a pool has 5 slots. The owner creates 2 instances, one sharee creates 1 instance, 2 slots remain unused. Owner sees used = 3, total = 5. Sharee sees used = 1, total = 3.

Share a private pool

The following steps show how Account A (owner) shares a private pool with Account B.

  1. Log on to the ECS console - Resource Advisor with Account A.

  2. In the top navigation bar, select a region and resource group. Region

  3. In the left-side navigation pane, choose Guaranteed Provision > Resource Reservations.

  4. On the Resource Reservations page, click the Private Pools tab.

  5. Find an Active private pool, then in the Actions column, choose image > Initiate Share.

    Confirm that the target private pool's Provisioning Method is Capacity Reservation - Immediate and the Pool Type is Targeted. Then, in the Actions column of the corresponding row, click Initiate Share.

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

  7. Verify the sharing status.

    1. On the Private Pools tab, click the pool ID or click Details in the Actions column.

    2. Check the details and sharing status.

      • On the Resource Details tab, view the resource reservation, pool information, and linked ECS instances.

        The Resource Details tab contains three sections:

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

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

        • In the Associated Instances section, click Purchase Instance to create ECS instances associated with this private pool.

      • On the Share Management tab, view the resource shares and shared capacity usage.

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

Use a shared private pool

How Account B gains access depends on the account relationship:

  • Same resource directory: Account B can use the shared pool immediately.

  • Different resource directories: Account B must accept the sharing invitation first. See Resource Directory overview.

Accept the sharing invitation

Perform these steps if Account A and Account B are in different resource directories.

  1. Log on to the Resource Management console with Account B.

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

  3. In the top navigation bar, select the region of the shared private pool.

  4. On the Shared To Me page, find the resource share containing the private pool and click Accept in the Status column.

  5. In the Accept Resource Sharing Invitation message, click Accept.

After accepting, Account B can use the shared pool. Future resources added to the same resource share are accepted automatically.

Launch instances from the shared pool

  1. Log on to the ECS console - Resource Advisor with Account B.

  2. In the top navigation bar, select a region and resource group. Region

  3. In the left-side navigation pane, choose Guaranteed Provision > Resource Reservations.

  4. On the Resource Reservations page, click the Private Pools tab to view the shared pool.

    • Click Details in the Actions column to view pool details.

    • Click Purchase Instance in the Actions column to create ECS instances from the shared pool.

Unshare a private pool

Important

After unsharing, Account B can no longer create ECS instances from the private pool. Existing instances created by Account B lose access to the pool capacity, and the system attempts to replenish the released capacity. If inventory is insufficient, the pool's total capacity is reduced.

  1. Log on to the ECS console - Resource Advisor with Account A.

  2. In the top navigation bar, select a region and resource group. Region

  3. In the left-side navigation pane, choose Guaranteed Provision > Resource Reservations.

  4. On the Private Pools tab, click the pool ID or click Details in the Actions column.

  5. Click the Share Management tab.

  6. Find the resource share containing the private pool and click Unshare in the Actions column.

  7. In the confirmation dialog box, click OK.