You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Get started with AWS Organizations on LocalStack
6
5
---
7
6
7
+
## Introduction
8
+
8
9
Amazon Web Services Organizations is an account management service that allows you to consolidate multiple different AWS accounts into an organization.
9
10
It allows you to manage different accounts in a single organization and consolidate billing.
10
11
With Organizations, you can also attach different policies to your organizational units (OUs) or individual accounts in your organization.
11
12
12
-
Organizations is available over LocalStack Pro and the supported APIs are available over our [configuration page]({{< ref "configuration" >}}).
13
+
Organizations is available over LocalStack Pro and the supported APIs are available over our [configuration page](/aws/capabilities/config/configuration).
13
14
14
15
## Getting started
15
16
@@ -18,69 +19,69 @@ This guide is intended for users who wish to get more acquainted with Organizati
18
19
To get started, start your LocalStack instance using your preferred method:
19
20
20
21
1. Create a new local AWS Organization with the feature set flag set to `ALL`:
21
-
{{< command >}}
22
-
$ awslocal organizations create-organization --feature-set ALL
23
-
{{< /command >}}
22
+
```bash
23
+
awslocal organizations create-organization --feature-set ALL
24
+
```
24
25
25
26
2. You can now run the `describe-organization` command to see the details of your organization:
26
-
{{< command >}}
27
-
$ awslocal organizations describe-organization
28
-
{{< /command >}}
27
+
```bash
28
+
awslocal organizations describe-organization
29
+
```
29
30
30
31
3. You can now create an AWS account that would be a member of your organization:
31
-
{{< command >}}
32
-
$ awslocal organizations create-account \
32
+
```bash
33
+
awslocal organizations create-account \
33
34
--email example@example.com \
34
35
--account-name "Test Account"
35
-
{{< /command >}}
36
+
```
36
37
Since LocalStack essentially mocks AWS, the account creation is instantaneous.
37
38
You can now run the `list-accounts` command to see the details of your organization:
38
-
{{< command >}}
39
-
$ awslocal organizations list-accounts
40
-
{{< /command >}}
39
+
```bash
40
+
awslocal organizations list-accounts
41
+
```
41
42
42
43
4. You can also remove a member account from your organization:
0 commit comments