More Info:

EC2 instance launched should be from an approved list of instance types.

Risk Level

Medium

Address

Operational Maturity, Reliability, Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration “EC2 Instance Should Be of Desired Type” for AWS, follow these steps:

  1. Log in to your AWS Management Console.

  2. Navigate to the EC2 Dashboard.

  3. Identify the EC2 instance that is not of the desired type.

  4. Stop the instance.

  5. Select the instance and click on the “Actions” button.

  6. Click on “Instance Settings” and then click on “Change Instance Type”.

  7. Select the desired instance type from the list and click on “Apply”.

  8. Start the instance again.

  9. Verify that the instance type has been changed to the desired type.

Congratulations! You have successfully remediated the misconfiguration “EC2 Instance Should Be of Desired Type” for AWS using AWS console.

Additional Reading: