
AWS Compute Optimizer
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Connect AWS Compute Optimizer to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Sync AWS Compute Optimizer recommendations for the connected account in one AWS region.
Enable Compute Optimizer for this account before you sync.
Grant compute-optimizer:GetEnrollmentStatus to check enrollment.
Grant these permissions for the tables you select:
compute-optimizer:GetEC2InstanceRecommendationscompute-optimizer:GetAutoScalingGroupRecommendationscompute-optimizer:GetLambdaFunctionRecommendationscompute-optimizer:GetECSServiceRecommendationscompute-optimizer:GetEBSVolumeRecommendationscompute-optimizer:GetRecommendationSummaries
Each sync replaces the current recommendations. This source does not keep recommendation history.
Configuration
| Option | Description |
|---|---|
AWS access key IDType: text Required: True | |
AWS secret access keyType: password Required: True | |
AWS session tokenType: password Required: False | Required for temporary credentials. Update the credentials before the token expires. |
AWS regionType: text Required: False | Sync recommendations from this region. The default is us-east-1. |
Linking AWS Compute Optimizer to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select AWS Compute Optimizer
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
ec2_instance_recommendations | EC2 instance recommendations with utilization metrics and estimated savings. | Full refresh | — | — |
auto_scaling_group_recommendations | Auto Scaling group recommendations with configuration options and estimated savings. | Full refresh | — | — |
lambda_function_recommendations | Lambda function recommendations with memory options and estimated savings. | Full refresh | — | — |
ecs_service_recommendations | ECS service recommendations with CPU, memory, and estimated savings. | Full refresh | — | — |
ebs_volume_recommendations | EBS volume recommendations with configuration options and estimated savings. | Full refresh | — | — |
recommendation_summaries | Counts of optimization findings and estimated savings by account and resource type. | Full refresh | — | — |