Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Assign billing of a shared EC2 Capacity Reservation
to another account
To assign billing of the available capacity of a shared Capacity Reservation to another
account, the Capacity Reservation owner must initiate a request to the required account. In the
Amazon EC2 console, this request is called a transfer
request.
A Capacity Reservation owner can assign billing of the available capacity of Capacity Reservation to an
account only if:
Billing is assigned to the specified account only once they accept the
request.
When a Capacity Reservation owner initiates a request, an Amazon EventBridge event is sent to the
requested account. For more information, see Monitor billing assignment requests
for shared Capacity Reservations.
- Console
-
To assign billing of a shared Capacity Reservation
-
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
In the navigation panel, select Capacity Reservations
and then choose the shared Capacity Reservation.
-
In the Billing of available capacity
section, choose Assign billing.
-
In the Assign billing screen, select
the consumer account to which to assign billing, and then
choose Request.
- Amazon CLI
-
To assign billing of a shared Capacity Reservation
Use the associate-capacity-reservation-billing-owner command.
For --capacity-reservation-id
, specify the ID of the shared Capacity Reservation.
For --unused-reservation-billing-owner-id
, specify
the ID of the Amazon account to which to assign billing.
aws ec2 associate-capacity-reservation-billing-owner \
--capacity-reservation-id cr-01234567890abcdef
\
--unused-reservation-billing-owner-id 123456789012
- PowerShell
-
To assign billing of a shared Capacity Reservation
Use the Register-EC2CapacityReservationBillingOwner cmdlet.
For -CapacityReservationId
, specify the
ID of the shared Capacity Reservation. For -UnusedReservationBillingOwnerId
,
specify the ID of the Amazon account to which to assign billing.
Register-EC2CapacityReservationBillingOwner `
-CapacityReservationId cr-01234567890abcdef
`
-UnusedReservationBillingOwnerId 123456789012