Want to close an AWS account but cannot log in

Hi, I have a dilemma. I have an AWS account that I want to close. I created it for testing AWS a few years back when I worked for a company. At the time I used my personal credit card (we didn’t have a corporate one available to use). I used a corporate email address and phone number for contact.

Since then I’ve left the company and the account hasn’t been logged into in over a year. I know the root ID userid/password. I set up MFA but I no longer have the MFA authentication token on my device - and cannot recover it.

I tried to log into the account but I get stopped at the " Sign In Using Alternative Factors of Authentication" step because I no longer have access to the corporate email address or phone associated with the account.

To make a long story short, I have no way to log into the AWS account.

I searched for a phone number for AWS Support but there doesn’t seem to be one. Also I used the online AWS Support form from the Contact Us site but got a reply saying I have to log into the AWS account before they’ll talk to me.

The monthly bill for services is small (only about $1.50) but I want to close the account to stop the billing to my credit card. I’ve been paying it so far but would like to get rid of the charges once and for all. And AWS is able to bill an expired credit card so letting the card just expire won’t end the recurring charges.

If anyone could provide advice/assistance it would be greatly appreciated.

Thanks folks.


Related discussions:

Somebody had the same problem last week: https://www.reddit.com/r/aws/comments/szqp41/lost_access_root_account/

You will need an (US based) lawyer and get an affidavit to get back access to your account.

Somebody had the same problem last week: https://www.reddit.com/r/aws/comments/szqp41/lost_access_root_account/

You will need an (US based) lawyer and get an affidavit to get back access to your account.

I haven’t had to do this since 2019, so things might have changed. But this is worth a shot. Install the AWS CLI tool and try the following:

$ aws iam list-mfa-devices --user-name YourUserName
{
“MFADevices”: [
{
“UserName”: “YourUserName”,
“SerialNumber”: “arn:aws:iam::111111111111:mfa/YourUserName”,
“EnableDate”: “2019-10-24T23:13:36Z”
}
]
}

$ aws iam deactivate-mfa-device --user-name YourUserName --serial-number arn:aws:iam::111111111111:mfa/YourUserName
 
$ aws iam create-virtual-mfa-device --virtual-mfa-device-name YourAWSDefaultAccountName --outfile QRCode.png --bootstrap-method QRCodePNG
{
  "VirtualMFADevice": {
  "SerialNumber": "arn:aws:iam::111111111111:mfa/YourAWSDefaultAccountName"
  }
}

Load the QR code into a paint program / browser, scan it using your authenticator app (I used Microsoft Authenticator), use the authentication codes it generates in the following command to enable your new MFA account for YourAWSDefaultAccountName.

 $ aws iam enable-mfa-device --user-name YourUserName --serial-number
 arn:aws:iam::111111111111:mfa/YourAWSDefaultAccountName --authentication-code-1 123456
 --authentication-code-2 123456

You would need to be logged in to do this, no?

It’s not your account? It’s your former employers account.

Tell your credit card company to refuse future transactions from AWS and notify your old employer (not technically required but a good look… unless you think their reading comprehension skills would have them try take legal action against you for shutting down their IT services)

No. But (and I’d forgotten about this, because it’s been business as usual in my case for at least five years) you do need to have AWS credentials. If you have an AWS AccessKey and SecretKey, all of the above should work for you.

The first thing I’d recommend looking for is a “credentials” file in your “.aws” directory. For Windows it’s underneath “C:\ Users\ [login-name]\ .aws”, for Linux it’s in your home directory (/home/[login-name]/.aws)".

If you have a credentials file it should look something like this.

[default]
aws_access_key_id = AK******************
aws_secret_access_key = ix**************************************
region=us-west-2

If you don’t have a credentials file you can create one from the command line after you’ve installed the AWS CLI.

aws configure

If you have the credentials and have “[default]” as your AWS Default Account Name, just replace “YourAWSDefaultAccountName” with “default” and you should be good to go.

You don’t need a lawyer. I did this last year. The process has gotten much more involved though. Took roughly two months with multiple account reps and multiple proofs of ownership.