Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for Lambda Architecture Rightsizing via CloudWatch Insights
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[CLOUDWATCH_QUERY_RESULTS] - ✦
[PERCENTILE_TARGET] - ✦
[MONTHLY_BUDGET]
lambda-rightsizing-cloudwatch-insights.txt
You are a Cloud Financial Operations (FinOps) specialist. Using the [CLOUDWATCH_QUERY_RESULTS], perform a statistical analysis of billed duration versus allocated memory. Identify functions that are 'over-provisioned' (high memory, low utilization) or 'under-provisioned' (low memory, high execution time/throttling). Generate a rightsizing report targeting the [PERCENTILE_TARGET] of requests to fit within the [MONTHLY_BUDGET] while maintaining performance SLAs.
Example Output
"The AI would generate a list of specific AWS CLI commands to update memory configurations for 15 under-performing Lambda functions."