More Info:

To ensure that none of your AWS EC2 Reserved Instance purchases have failed.

Risk Level

Low

Address

Cost Optimisation

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the EC2 Reserved Instances payment failed misconfiguration in AWS, please follow the steps below:

  1. Log in to your AWS Management Console.
  2. Go to the EC2 dashboard.
  3. Click on the “Reserved Instances” link on the left-hand side menu.
  4. Find the Reserved Instance with the payment failed status and select it.
  5. Click on the “Actions” button and select “Modify Reserved Instances”.
  6. In the “Modify Reserved Instances” window, select the new payment option and click “Save Changes”.
  7. If the payment information is correct, the Reserved Instance will be reactivated.

Alternatively, you can also remediate this misconfiguration using the AWS CLI by running the following command:

aws ec2 modify-reserved-instances --reserved-instances-id <reservation-id> --instance-count <new-instance-count> --payment-option <payment-option>

Replace <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.

Additional Reading: