AWS Compute Optimizer

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.

Learn more
PostHog Wizard hedgehog

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:GetEC2InstanceRecommendations
  • compute-optimizer:GetAutoScalingGroupRecommendations
  • compute-optimizer:GetLambdaFunctionRecommendations
  • compute-optimizer:GetECSServiceRecommendations
  • compute-optimizer:GetEBSVolumeRecommendations
  • compute-optimizer:GetRecommendationSummaries

Each sync replaces the current recommendations. This source does not keep recommendation history.

Configuration

OptionDescription
AWS access key ID
Type: text
Required: True
AWS secret access key
Type: password
Required: True
AWS session token
Type: password
Required: False

Required for temporary credentials. Update the credentials before the token expires.

AWS region
Type: text
Required: False

Sync recommendations from this region. The default is us-east-1.

Linking AWS Compute Optimizer to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select AWS Compute Optimizer
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary 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——