Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aws-solutions/aws-control-tower-customizations
The Customizations for AWS Control Tower solution combines AWS Control Tower and other highly-available, trusted AWS services to help customers more quickly set up a secure, multi-account AWS environment using AWS best practices.
https://github.com/aws-solutions/aws-control-tower-customizations
Last synced: 1 day ago
JSON representation
The Customizations for AWS Control Tower solution combines AWS Control Tower and other highly-available, trusted AWS services to help customers more quickly set up a secure, multi-account AWS environment using AWS best practices.
- Host: GitHub
- URL: https://github.com/aws-solutions/aws-control-tower-customizations
- Owner: aws-solutions
- License: apache-2.0
- Created: 2020-01-10T18:58:42.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T03:12:53.000Z (8 months ago)
- Last Synced: 2024-05-23T06:49:17.949Z (6 months ago)
- Language: Python
- Homepage: https://docs.aws.amazon.com/controltower/latest/userguide/cfct-overview.html
- Size: 333 KB
- Stars: 347
- Watchers: 47
- Forks: 204
- Open Issues: 71
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Customizations for AWS Control Tower Solution
The Customizations for AWS Control Tower solution combines AWS Control Tower and other highly-available, trusted AWS services to help customers more quickly set up a secure, multi-account AWS environment based on AWS best practices. Customers can easily add customizations to their AWS Control Tower landing zone using an AWS CloudFormation template and service control policies (SCPs). Customers can deploy their custom template and policies to both individual accounts and organizational units (OUs) within their organization. Customizations for AWS Control Tower integrates with AWS Control Tower lifecycle events to ensure that resource deployments stay in sync with the customer's landing zone. For example, when a new account is created using the AWS Control Tower account factory, the solution ensures that all resources attached to the account's OUs will be automatically deployed. Before deploying this solution, customers need to have an AWS Control Tower landing zone deployed in their account.## Getting Started
To get started with Customizations for AWS Control Tower, please review the [documentation](https://docs.aws.amazon.com/controltower/latest/userguide/customize-landing-zone.html)## Running unit tests for customization
* Clone the repository, then make the desired code changes
* Next, run unit tests to make sure added customization passes the tests```
chmod +x ./deployment/run-unit-tests.sh
./deployment/run-unit-tests.sh
```## Building the customized solution
* Building the solution from source requires Python 3.6 or higher
* Configure the solution name, version number, bucket name and (optional) opt-in region support of your target Amazon S3 distribution bucket```
export DIST_OUTPUT_BUCKET_PREFIX=my-bucket-prefix # Prefix for the S3 bucket where customized code will be stored
export TEMPLATE_OUTPUT_BUCKET=my-bucket-name # Name for the S3 bucket where the template will be stored
export SOLUTION_NAME=my-solution-name # name of the solution (e.g. customizations-for-aws-control-tower)
export VERSION=my-version # version number for the customized code (e.g. 2.1.0)
export ENABLE_OPT_IN_REGION_SUPPORT=true # Optional flag to build with opt-in region support
```* Update pip version to latest
```
python3 -m pip install -U pip
```* Now build the distributable
```
chmod +x ./deployment/build-s3-dist.sh
./deployment/build-s3-dist.sh $DIST_OUTPUT_BUCKET_PREFIX $TEMPLATE_OUTPUT_BUCKET $SOLUTION_NAME $VERSION $ENABLE_OPT_IN_REGION_SUPPORT
```
* Upload the distributable to an Amazon S3 bucket in your account.* Upload the AWS CloudFormation template to your global bucket in the following pattern
```
s3://my-bucket-name/$SOLUTION_NAME/$VERSION/
```* Upload the customized source code zip packages to your regional bucket in the following pattern
```
s3://my-bucket-name-$REGION/$SOLUTION_NAME/$VERSION/
```## Deploying the customized solution
* Get the link of the custom-control-tower-initiation.template loaded to your Amazon S3 bucket.
* Deploy the Customizations for AWS Control Tower solution to your account by launching a new AWS CloudFormation stack using the link of the custom-control-tower-initiation.template.## Collection of operational metrics
This solution collects anonymous operational metrics to help AWS improve the quality and features of the solution. For more information, including how to disable this capability, please see the [documentation here](https://docs.aws.amazon.com/controltower/latest/userguide/cfct-metrics.html).
## License
See license [here](https://github.com/aws-solutions/aws-control-tower-customizations/blob/main/LICENSE.txt)