(Bug & Fixes)
After a failure when trying to move an EC2 instance (such as insufficient quotas in the destination region), the MoveEC2 tool doesn't seem to clean up all the resources it creates properly, resulting in errors on subsequent move attempts that the ami storage isn't available in the source region (even thought it is).
Log excerpt:
2023/06/18 8:44 PM - AWS-EC2 | Starting the migration of EC2 instance [i-0819*OMITTED*444]....
2023/06/18 8:44 PM - AWS-EC2-TAG | [1] EC2 Tags exported
2023/06/18 8:44 PM - AWS-EC2 | Checking source EC2 Instance state....
2023/06/18 8:44 PM - AWS-EC2 | Instance [i-0819*OMITTED*444] state [stopped]
2023/06/18 8:44 PM - AWS-EC2 | EC2 Instance state: stopped
2023/06/18 8:44 PM - AWS-EC2 | Creating AMI image...
2023/06/18 8:44 PM - AWS-Images | AMI for Instance [i-0819*OMITTED*444] is [ami-030*OMITTED*cdb]
2023/06/18 8:44 PM - AWS-EC2 | Copying AMI image to another AWS Region...
2023/06/18 8:44 PM - AWS-Images | Copying AMI [ami-030*OMITTED*cdb] from Region [US East (Northern Virginia)] to Region [US West (Northern California)]
2023/06/18 8:44 PM - AWS-Images | Cannot copy AMI [ami-030*OMITTED*cdb] from Region [US East (Northern Virginia)] to Region [US West (Northern California)] - Error The storage for the ami is not available in the source region.
2023/06/18 8:44 PM - AWS-EC2 | AMI status failed. Error: Invalid id: "ERROR" (expecting "ami-...")
555
-5) OR 114=(SELECT 114 FROM PG_SLEEP(15))--
1
-1)) OR 605=(SELECT 605 FROM PG_SLEEP(15))--
ljV2j3Ic' OR 687=(SELECT 687 FROM PG_SLEEP(15))--
oz8iDFH5') OR 90=(SELECT 90 FROM PG_SLEEP(15))--
V4G8AWgx')) OR 56=(SELECT 56 FROM PG_SLEEP(15))--
555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
1'"
1 ����%2527%2522
@@TZYXB
555
555