# AWS Organization

**AWS Organization: A Practical Example**

In this article, I will explain how AWS Organizations work using a practical example. I am demonstrating the process with two accounts:

* **Account 1** will be the management account.
    
* **Account 2** will be the member account of the organization.
    

### Step 1: Enabling AWS Organizations

After enabling AWS Organizations, the following output will be visible from the management console, showing the root container and management account.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742896798456/6dbceb14-443c-43a3-9497-83b2f253dd1d.png align="center")

### Step 2: Inviting the Member Account

I will now send an invitation to the member account (Account 2) to join the organization. Once the invitation is accepted by the member account, the process continues.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742896845023/a49a10ee-7ad2-478e-94e7-f82962ba972b.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742891190333/de546069-7cd5-406f-9311-9b1b50ea58fe.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742891230277/b3cf3c9e-6c10-4a55-8b9b-b2a9676c9c21.png align="center")

### Step 3: Creating a Role in the Member Account

After the invite is accepted, we need to create a role in the member account. This role will be assumed by a user in the management account to perform actions in the member account.

The role will have **S3 Full Access** and a trust relationship with the management account.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742895695324/ff69f98b-86c9-43be-8fce-038ed7a489c2.png align="center")

### Step 4: Creating a User in the Management Account

Next, we will create a user in the management account. This user will have an inline policy that allows them to assume the role in the member account. It's important to note that the root user of the management account cannot be used for this task, as the root account is reserved for managing the account itself.

To use any user with administrative privileges, you must create a new user and assign the necessary permissions, as role switching cannot be performed with the root user.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742895838194/3081f008-5ba3-4a6f-af20-973619854814.png align="center")

### Step 5: Logging in with the New User

Finally, we will log in with the newly created user from the management account and assume the role in the member account to perform actions.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742895933447/d42e8037-e982-43bf-acd5-73e86226dcc2.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742896008042/2d122c97-2bb2-44b7-ba44-bb6a36c7ea19.png align="center")

Now Creating the S3 bucket in the Member account and uploading the file as well

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1742896090352/9aabc90a-761c-4746-8b57-fab75d05ab83.png align="center")
