Sub topic 14
Selling Unused Standard RIs on the Marketplace
This chapter covers the last option for a Standard Reserved Instance (RI) you no longer need: selling it to another AWS customer on the Reserved Instance Marketplace. It assumes you know how Standard and Convertible RIs differ, what a term and a payment option are, and how to run basic aws ec2 commands. Marketplace rules change over time, so check the current EC2 documentation before you register as a seller or create a listing.
Why an RI ends up unused
An RI is a billing discount, not a running resource. It applies to matching usage and gives you nothing if no matching usage exists. Common causes of unused RIs:
- You migrated workloads to a different instance family, such as moving from
m5to Graviton-basedm7g. - You moved workloads to another Region, or to containers or serverless.
- You shut down a project before its one-year or three-year term ended.
- You bought more RIs than your steady baseline needs.
You pay for the RI every hour whether or not it matches anything. With a Partial Upfront or All Upfront RI, you also paid cash that you cannot get back from AWS. The Marketplace is the only way to recover part of that money.
What can be sold
Only some RIs qualify. The main rules are:
| Condition | Rule |
|---|---|
| Class | Standard only. Convertible RIs cannot be listed. |
| Service | Amazon EC2 RIs only. RIs for other services, such as RDS, are not covered here. |
| State | The RI must be `active`, and AWS must have received your payment. |
| Age | It must have been active for at least 30 days. |
| Discount tier | RIs bought with a volume (tier) discount cannot be sold. |
| Remaining term | A listing states the remaining term in whole months. A partial month is rounded down. |
Savings Plans have no Marketplace. You cannot sell or return a Savings Plan once it is purchased, which is one reason to size Savings Plan commitments conservatively.
You also need to register as a seller. Registration requires a bank account for receiving payments and tax information. Confirm the current eligibility requirements for your country and bank before you plan around a sale.
How a sale works
You list some or all of the instances covered by an RI, and you set the upfront price for the remaining term. The buyer pays that upfront price. The buyer does not get your original purchase terms. The buyer gets an RI with the same instance type, platform, tenancy, Region or Availability Zone, and only the remaining months of the term.
The buyer also pays the RI's recurring hourly charge for that remaining term, if it has one. You never receive that part. What you sell is the right to the remaining discount, and the price you set is for that right.
Price schedule
A listing can carry a price schedule: a different upfront price for each remaining month. As months pass, the price steps down automatically. This matches the value of the reservation, which shrinks every month. You can set the schedule yourself, or you can list a single price and let it apply across the term.
Fees and proceeds
AWS charges a service fee on the total upfront price of a sale. The fee is currently 12 percent. You do not pay a fee when you list, only when you sell.
Worked example: you hold 4 c5.large Standard RIs with 8 months remaining. You list 4 instances at an upfront price of $400 total.
- Gross sale price: $400
- Service fee at 12 percent: $48
- Proceeds to you: $352
The remaining months are no longer discounted for you. Any instances still running at that point bill at On-Demand rates unless another commitment covers them. If those instances are still running, selling the RI raises your bill. Sell only RIs whose usage has actually gone away.
Finding candidates with the CLI
First list your active Standard RIs. This command prints the ones that are candidates, with their remaining dates:
aws ec2 describe-reserved-instances \
--offering-class standard \
--filters Name=state,Values=active \
--query 'ReservedInstances[].{Id:ReservedInstancesId,Type:InstanceType,Count:InstanceCount,Scope:Scope,End:End,Payment:OfferingType}' \
--output tableCross-check against Cost Explorer. A Reserved Instance utilization report shows which RIs have low utilization. An RI that sits near 0 percent utilization for several weeks, with no workload plan to use it, is a good candidate.
Creating a listing
The create-reserved-instances-listing command takes the RI ID, the number of instances to list, and a price schedule. Each entry in the schedule gives a remaining term in months and the upfront price for that term. The --client-token makes the request safe to retry.
aws ec2 create-reserved-instances-listing \
--reserved-instances-id 11111111-2222-3333-4444-555555555555 \
--instance-count 4 \
--price-schedules \
Term=8,Price=100.00,CurrencyCode=USD \
Term=7,Price=88.00,CurrencyCode=USD \
Term=6,Price=75.00,CurrencyCode=USD \
--client-token sell-c5large-2026-11-26The RI ID above is a placeholder. Replace it with an ID from the previous command. Prices here are per instance, so four instances at the first step would total $400. Check the console or the describe output after creating a listing to confirm how it was interpreted.
Check the status of listings with:
aws ec2 describe-reserved-instances-listings \
--query 'ReservedInstancesListings[].{Id:ReservedInstancesListingId,Status:Status,RI:ReservedInstancesId}' \
--output tableA listing moves through states such as pending, active, cancelled, and closed. A closed listing has sold or has run out of term. To withdraw a listing, for example because your workload plans changed, cancel it:
aws ec2 cancel-reserved-instances-listing \
--reserved-instances-listing-id aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeeeCancel promptly if you decide to keep the RI. A listing that sells after you have changed your mind cannot be undone.
Common mistakes
- Listing an RI that still has matching usage. After the sale, that usage bills On-Demand. Check coverage first.
- Expecting the full remaining value back. Buyers pay less than the original upfront price scaled by remaining time. The 12 percent fee comes off that. Treat the sale as recovering part of the cost.
- Trying to list a Convertible RI. The API rejects it. Exchange Convertible RIs instead.
- Waiting too long. The remaining term shrinks every month, and so does the price a buyer will pay. A reservation with one month left is worth very little.
- Ignoring No Upfront RIs. The listing price covers only an upfront amount. An RI with no upfront payment holds little to sell, so for those RIs a different option, such as modification, usually makes more sense.
Alternatives to selling
Selling is not always the best choice. Compare these first.
| Option | Works when | Result |
|---|---|---|
| Modify the RI | You need a different AZ, a different size in the same family, or Regional scope | RI keeps working for you; no cash changes hands |
| Exchange (Convertible only) | You need a different family or OS | Value carries over to the new RI |
| Move workloads to match | The RI's instance type is still sensible | You use what you paid for |
| Sell on the Marketplace | The workload is gone for good and the RI is Standard | You recover part of the upfront payment |
| Let it expire | Few months remain and the amount is small | You keep paying until the end |
For future purchases, remember what this chapter shows. A Standard RI is the least flexible commitment. If you expect your instance families to change, a Compute Savings Plan or a Convertible RI avoids needing the Marketplace at all.
Exercise
You hold 6 Standard RIs for m5.xlarge with 5 months remaining and no matching usage for the past six weeks. Another 2 m5.xlarge instances still run. The RIs have been active for 14 months. List two checks you make before listing, and say what happens if you list all 8 instances' worth of RIs.
Show answer
First, confirm the RIs are Standard, active, paid for, and not bought with a volume discount, and confirm the 30-day active requirement is met (here it is, at 14 months). Second, confirm how many instances are actually unused, using utilization data. Only the 6 RIs with no usage should be listed. If you list the RIs that cover the 2 running instances, those instances bill at On-Demand rates after the sale, which raises your cost. You would also receive the sale price minus the 12 percent service fee, not the full remaining value.
Exercise
A teammate wants to sell a Compute Savings Plan that is larger than needed. Why will this not work, and what should the team do?
Show answer
The Marketplace supports only Standard EC2 Reserved Instances. Savings Plans cannot be sold or returned. The team should raise usage to fit the commitment, for example by moving eligible workloads onto it, and should size future Savings Plan purchases using Cost Explorer recommendations and a conservative baseline.