Launch a new instance in the same Availability Zone as the unreachable instance. The new instance is your rescue instance. Note: It's a best practice to launch a Windows instance that's different from the unreachable instance to avoid disk signature issues.
Navigate to the folder, and then complete the following steps:
Right-click EC2Rescue.exe.
Choose Run as Administrator.
Accept the License Agreement.
Choose Next.
Choose OFFLINE INSTANCE.
Select the disk of the newly mounted volume, and then choose Next.
Confirm the disk selection, and then choose Yes.
Select the Restore option, and then choose Last Known Good Configuration.