Using Console
Using CLI
<instance-id>
with the actual instance ID of the instance that you want to stop.Step 5: Modify the instance type of the stopped instances using the below command:<instance-id>
with the actual instance ID of the instance that you want to modify, and <new-instance-type>
with the desired instance type.Step 6: Start the modified EC2 instances using the below command:<instance-id>
with the actual instance ID of the instance that you want to start.By following these steps, you can remediate the EC2 instances reaching vCPU limit misconfiguration in AWS using AWS CLI.Using Python