Using Console
<reservation-id>
with the ID of the Reserved Instance that has the payment failed status, <new-instance-count>
with the number of instances you want to reserve and <payment-option>
with the new payment option you want to use.Using CLI
aws configure
and entering your AWS access key ID, secret access key, default region name, and default output format.
aws ec2 describe-reserved-instances
.
aws ec2 modify-reserved-instances --reserved-instances-id <ID> --offering-id <ID> --instance-count <COUNT> --dry-run
and replace the <ID>
with the ID of the reserved instance, and <COUNT>
with the number of instances you want to purchase.
aws ec2 modify-reserved-instances --reserved-instances-id <ID> --target-configuration OfferingId=<ID>,InstanceCount=<COUNT>
and replace the <ID>
with the ID of the reserved instance, and <COUNT>
with the number of instances you want to purchase.
aws ec2 describe-reserved-instances
to verify that the status has been updated to active.
Using Python