AWS Organizations: closing a member account
Tags: aws
Published: 2023-02-09 22:11:28

I will like to document the steps taken taken to close an AWS Account that is member of an AWS Organization, so let´s start:

First, for this use case, I have a very small AWS Organization composed only for 3 accounts. I already have one that I am no using but, last month it consume some cost with AWS Cloud Watch metrics running on it

And In this post I woul like to share the steps while I am closing it.

To have in mind, as the account is member of an AWS Organization, this will be closed from the root organization account, an not for the own member account.

## The procedure

I am following the steps in:

https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html

## Closing the AWS account member of
 
If you no longer need a member account in your organization, and want to ensure that no one can accrue charges for it…

They are well explainde, but I would like share the live example:

The Steps
First, the costs:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u4o3ozyk11mo3sjsbfgd.png)

are explained after end of free tier period

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t5zc1fo7fitwn2fpzmyg.png)


## The organization:

The organization is on the ***118 AWS account, and the member account ends with ***588

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pbi40u8azr34va7obys6.png)

After selecting the account member in the organization “***118”, I am ready to find the close button for the account “***588”:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6nh8e5r3cq96tdh96o7i.png)

The confirmation, with the considerations:

1. Re open is only available on the first 90 days after closing
3. The email can´t be used to open other accounts in thos 90 days…
5. The content will be deleted


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m3ecpc94q7anmj59xphx.png)


**Confirmation**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q4x7l43nsjcgwpyz0t2o.png)

The Account in Ok in Pending Clouse
If we want use the ***588 account, this say that is closed:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9f5be8zych45so0kqaxs.png)

And also,

We receive an email about closing it

If we return to the AWS Organization, we can see it as "_Suspended_"

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7eccfzhdthj3ass7kibb.png)

So, 

These are simple stepas, they are well documented on the aws docs, but I liked to share the concrete use case show what is going on the AWS console while we are doing it.

Regards,

Pablo

---------------

PD: 
Same post published on medium

https://pablo-ezequiel.medium.com/clossing-an-aws-account-member-of-an-aws-organization-31985e663ee0


---------------
PD:
BTW Some Usefull SCP policies that I have used in AWS Organizations

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/apl0in4o13k99vkm81qj.png)

The SCP policies are in [this github repo](https://github.com/Pabloin/AWS-Essentials/blob/master/01-AWS-Notas/Readme-about-AWS-Organization.md)