What Formal Discovers
RDS Autodiscovery
RDS Autodiscovery
Automatically discover PostgreSQL, MySQL, and MongoDB RDS instances and add
them as Formal resources.
Redshift Autodiscovery
Redshift Autodiscovery
Discover Redshift clusters and data warehouses.
EKS Autodiscovery
EKS Autodiscovery
Discover EKS clusters for Kubernetes access control.
EC2 Autodiscovery
EC2 Autodiscovery
Discover EC2 instances for SSH access.
ECS Autodiscovery
ECS Autodiscovery
Discover ECS clusters, services, and containers for SSH access via the
Desktop App.
S3 Bucket Autodiscovery
S3 Bucket Autodiscovery
Discover S3 buckets for access via the Desktop App.
S3 Log Forwarding
S3 Log Forwarding
Forward Formal Connector logs to S3 buckets for long-term storage and
compliance.
Architecture
Formal uses AWS’s Cross-Account IAM Role architecture:- CloudFormation Stack: deploys an IAM role in your AWS account
- IAM Role: grants Formal specific, scoped permissions
- External ID: a unique identifier that prevents unauthorized access
- Role Chaining: Formal uses IAM User → IAM Role → your IAM Role for added security
Supported Regions
The CloudFormation stack can be deployed in:us-east-1,us-east-2,us-west-1,us-west-2eu-central-1,eu-west-1,eu-west-2,eu-west-3
Setup
- Web Console
- Terraform
- Terraform (without CloudFormation)
1
Navigate to Cloud Accounts
Go to Cloud Accounts
2
Add Integration
Click Add Integration
3
Select AWS
Choose AWS as your cloud provider
4
Deploy CloudFormation
Click the provided link to deploy the CloudFormation template in your AWS account.The template creates an IAM role with the necessary permissions.
5
Configure Permissions
Enable the features you need:
- RDS Autodiscovery
- Redshift Autodiscovery
- EKS Autodiscovery
- EC2 Autodiscovery
- ECS Autodiscovery
- S3 Autodiscovery
- S3 Write Access (for log forwarding)
6
Complete Setup
Once CloudFormation deployment completes, your AWS integration is active.
CloudFormation Parameters
Versioning
The CloudFormation template is versioned for stability:- Predictable IAM permissions
- Controlled feature adoption
- Easier compliance auditing
- Prevents unexpected changes
Security
Formal implements multiple security layers:- Role Chaining: IAM User → IAM Role in Formal account → IAM Role in your account
- External ID: a unique per-customer identifier that prevents cross-tenant access
- Least Privilege: CloudFormation grants only required permissions
- Scoped Permissions: enable only the features you need
Discovered Resources
Once the integration is active, Formal scans your AWS account and creates matching Formal resources:- RDS instance
prod-postgres-1→ Formal resourceprod-postgres-1 - EKS cluster
production-eks→ Formal resourceproduction-eks - EC2 instance
i-abc123→ Formal resourceec2-i-abc123
Multiple Accounts
Create a separate integration for each AWS account to keep environments isolated:Troubleshooting
CloudFormation deployment fails
CloudFormation deployment fails
Possible causes:
- Insufficient IAM permissions to create roles
- Stack name conflict
- Region not supported
- Ensure the deploying user has IAM role creation permissions
- Use the unique stack name provided by Formal
- Deploy in a supported region
Resources not discovered
Resources not discovered
Possible causes:
- Autodiscovery not enabled for that resource type
- Resources in an unsupported region
- IAM permissions insufficient
- Verify the autodiscovery toggle is enabled in the Formal console
- Check the resources exist in AWS
- Review the CloudFormation IAM role permissions
- Wait a few minutes for the initial scan
S3 log forwarding not working
S3 log forwarding not working
Possible causes:
- S3 bucket ARN incorrect
- IAM role lacks S3 permissions
- Log integration not configured
- Verify
s3_bucket_arnmatches the permissions you want to grant on objects (e.g., use a/*suffix for all files) - Ensure
allow_s3_accessis enabled - Create a Log Integration pointing to this cloud integration
Next Steps
Log Integration
Forward logs to S3
Add Resources
Manually configure discovered resources
Terraform
Manage integrations as code
View Resources
See all autodiscovered resources