Skip to content

Commit 9752e70

Browse files
committed
revamp organizations, pca, pinpoint
1 parent a7ccef5 commit 9752e70

File tree

3 files changed

+157
-119
lines changed

3 files changed

+157
-119
lines changed
Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
22
title: "Organizations"
3-
linkTitle: "Organizations"
43
tags: ["Ultimate"]
54
description: Get started with AWS Organizations on LocalStack
65
---
76

7+
## Introduction
8+
89
Amazon Web Services Organizations is an account management service that allows you to consolidate multiple different AWS accounts into an organization.
910
It allows you to manage different accounts in a single organization and consolidate billing.
1011
With Organizations, you can also attach different policies to your organizational units (OUs) or individual accounts in your organization.
1112

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).
1314

1415
## Getting started
1516

@@ -18,69 +19,69 @@ This guide is intended for users who wish to get more acquainted with Organizati
1819
To get started, start your LocalStack instance using your preferred method:
1920

2021
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+
```
2425

2526
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+
```
2930

3031
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 \
3334
--email example@example.com \
3435
--account-name "Test Account"
35-
{{< /command >}}
36+
```
3637
Since LocalStack essentially mocks AWS, the account creation is instantaneous.
3738
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+
```
4142

4243
4. You can also remove a member account from your organization:
43-
{{< command >}}
44-
$ awslocal organizations remove-account-from-organization --account-id <ACCOUNT_ID>
45-
{{< /command >}}
44+
```bash
45+
awslocal organizations remove-account-from-organization --account-id <ACCOUNT_ID>
46+
```
4647

4748
5. To close an account in your organization, you can run the `close-account` command:
48-
{{< command >}}
49-
$ awslocal organizations close-account --account-id 000000000000
50-
{{< /command >}}
49+
```bash
50+
awslocal organizations close-account --account-id 000000000000
51+
```
5152

5253
6. You can use organizational units (OUs) to group accounts together to administer as a single unit.
5354
To create an OU, you can run:
54-
{{< command >}}
55-
$ awslocal organizations list-roots
56-
$ awslocal organizations list-children \
55+
```bash
56+
awslocal organizations list-roots
57+
awslocal organizations list-children \
5758
--parent-id <PARENT-ID> \
5859
--child-type ORGANIZATIONAL_UNIT
59-
$ awslocal organizations create-organizational-unit \
60+
awslocal organizations create-organizational-unit \
6061
--parent-id <PARENT-ID> \
6162
--name New-Child-OU
62-
{{< /command >}}
63+
```
6364

6465
7. Before you can create and attach a policy to your organization, you must enable a policy type.
6566
To enable a policy type, you can run:
66-
{{< command >}}
67-
$ awslocal organizations enable-policy-type \
67+
```bash
68+
awslocal organizations enable-policy-type \
6869
--root-id <ROOT-ID> \
6970
--policy-type BACKUP_POLICY
70-
{{< /command >}}
71+
```
7172
To disable a policy type, you can run:
72-
{{< command >}}
73-
$ awslocal organizations disable-policy-type \
73+
```bash
74+
awslocal organizations disable-policy-type \
7475
--root-id <ROOT-ID> \
7576
--policy-type BACKUP_POLICY
76-
{{< /command >}}
77+
```
7778

7879
8. To view the policies that are attached to your organization, you can run:
79-
{{< command >}}
80-
$ awslocal organizations list-policies --filter SERVICE_CONTROL_POLICY
81-
{{< /command >}}
80+
```bash
81+
awslocal organizations list-policies --filter SERVICE_CONTROL_POLICY
82+
```
8283

8384
9. To delete an organization, you can run:
84-
{{< command >}}
85-
$ awslocal organizations delete-organization
86-
{{< /command >}}
85+
```bash
86+
awslocal organizations delete-organization
87+
```

0 commit comments

Comments
 (0)