Prerequisites
- AWS account with permissions to create CloudFormation stacks and IAM roles
- Access to the Draftt dashboard (Integrations > AWS)
Setup Methods
Draftt supports three installation methods. CloudFormation is recommended for most setups.CloudFormation (Recommended)
CloudFormation (Recommended)
The fastest way to connect a single AWS account. Draftt provides a CloudFormation template that creates the required IAM role automatically.
1
Name your integration
In Draftt, fill in the Integration Name field.
2
Deploy the CloudFormation stack
Navigate to your AWS CloudFormation console.Press Next.
- Click Create Stack - With new resources (Standard)
- On the prerequisite section, choose Choose an existing template
- On the specify template section, choose Amazon S3 URL and provide the following link:
3
Configure stack parameters
- Stack name: We recommend something easy to identify, e.g.
DrafttStack - DrafttRoleName: Leave the default value
- ExternalId: Copy the value shown in the Draftt setup dialog and paste it here
4
Optional: CloudFormation behavior
Since we’re using AWS defaults, we recommend not making any changes in this step. Press Next.
5
Review and create
Review all previous settings. Acknowledge and approve the “I acknowledge that AWS CloudFormation might create IAM resources with custom names.” statement.Press Submit.
6
Enter the Role ARN in Draftt
Enter the Role ARN in the Draftt setup dialog and click Create.
Manual Installation
Manual Installation
1
Create a custom inline policy
Create a new custom inline policy in the AWS IAM console.Switch to JSON Mode and copy the content from the following link:Click on Actions and then select Optimize for size. Click Next.
2
Name the policy
Enter the following name:Click Create Policy.
3
Create an IAM role with a custom trust policy
Navigate to Roles and click Create Role.On the Trusted entity type section, choose Custom trust policy and paste the following:Click Next.
4
Attach policies
Attach the following policies to the role:
SecurityAuditViewOnlyAccessDrafttReadOnlyPolicy(the policy you created in Step 2)
5
Name the role
Enter the following name:Review the permissions and click Create Role.
6
Enter the Role ARN in Draftt
Copy the ARN of the role you just created and paste it into the Role ARN field in the Draftt setup dialog. Click Create.
CloudFormation StackSet (Multi Account)
CloudFormation StackSet (Multi Account)
For organizations managing multiple AWS accounts, StackSets deploy the Draftt IAM role across all accounts in your AWS Organization simultaneously.
1
Create an organization-level IAM role
Navigate to Roles and click on Custom trust policy.Copy the following policy:Click Next. On the Add permissions section, choose:Review the permissions and click Create Role. Enter the Role ARN in Draftt.
AWSOrganizationsReadOnlyAccessAWSCloudFormationReadOnlyAccess
2
Create the CloudFormation StackSet
Navigate to your AWS CloudFormation Console.Click Create stack set. On the Specify template section, choose Service-managed permissions. Choose Amazon S3 URL and provide the following link:Press Next.
3
Configure StackSet parameters
Name the stack set. We recommend something easy to identify, e.g.
DrafttStackSet.Leave the default name for the DrafttRoleName parameter (default: DrafttAccess-Role).On the ExternalId parameter, enter the value provided in the Draftt setup dialog.Press Next.4
Optional: CloudFormation behavior
Since we’re using AWS defaults, we recommend not making any changes in this step. Press Next.
5
Set deployment options
Under the Set deployment options screen, choose Deploy new stacks.Specify regions. Since CloudFormation only creates a role in each account, there is no need to choose multiple regions. Choose only a single region based on your preference.Under Deployment options, we recommend increasing the Maximum concurrent accounts based on the number of accounts you are integrating.We recommend not making changes in the deployment options section. Press Next.
6
Review and create
Review all previous settings. Acknowledge and approve the “I acknowledge that AWS CloudFormation might create IAM resources with custom names.” statement.Press Submit. Once the StackSet is created, provide Draftt with the StackSet ARN.
What Draftt Reads
Draftt’s IAM role is read-only. It cannot create, modify, or delete any resources in your AWS account. The CloudFormation template defines the exact permissions granted. You can review the template before deploying:Verifying Your Connection
After setup, return to Integrations > AWS in Draftt. Each connected account shows a status:- Healthy - All required access is in place. Draftt is collecting data as expected.
- Unhealthy - Something is wrong with the IAM role or permissions. Check that the CloudFormation stack completed successfully and the Role ARN is correct.