Skip to content

Commit 5df9408

Browse files
authored
docs: describe how to create accounts without default VPCs (#13)
1 parent 7662fb3 commit 5df9408

File tree

5 files changed

+33
-1
lines changed

5 files changed

+33
-1
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Account Factory Settings
2+
3+
## Network Configuration
4+
5+
VPCs will be defined in code and Control Tower must not create any VPCs. There is no single option to toggle VPC
6+
creation off in Control Tower, from the [AWS documentation](https://docs.aws.amazon.com/controltower/latest/userguide/configure-without-vpc.html)
7+
the following steps are required to disable VPC creation:
8+
9+
1. Navigate to `Account Factory` in the Control Tower AWS Console.
10+
2. Edit the `Network configuration`
11+
3. Disable `Internet-accessible subnet`
12+
4. Set `Maximum number of private subnets` to 0
13+
5. Deselect all `Regions for VPC creation`
14+
6. Save
15+
16+
![img_7.png](img_7.png)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Bring an existing AWS Account
2+
3+
TODO: Complete list
4+
5+
1. Add the account under the right OU in the CDK construct.
6+
7+
## Networking
8+
9+
Each account must have non overlapping VPC CIDRs.
10+
11+
If the account has overlapping CIDRs with other accounts it is recommended to create a new VPC with the CDK account's vpc
12+
properties and then migrate the resources to the new VPC. If that's not possible consider CloudFormation imports.
13+
It's important to note that the CDK construct will remove any existing VPCs. This creates the opportunity for migrating
14+
to the new VPC gradually or allows leaving the resources in the old VPC indefinitely.

docs/sop/Create an AWS Account.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
### Create Account in the AWS Console
88

9+
> [!CAUTION]
10+
> Ensure that the [Account Factory Settings](Account%20Factory%20Settings.md) are correct before creating the account.
11+
912
1. Log in to the Management Account and navigate to Control Tower (CT), ensure you are in the correct region.
1013
1. Click on the `Account Factory` in the left-hand menu. Then on `Create Account`.
1114
1. Fill all the details in.

docs/sop/img_7.png

138 KB
Loading

src/defaults.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export class Defaults {
1010
public static denyServiceList() {
1111
return [
1212
'eks:*',
13-
'ec2:*',
1413
];
1514
}
1615

0 commit comments

Comments
 (0)