Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#AWS

Advanced AI Prompt for Lambda Performance Tuning with CloudWatch

Customize the variables below to instantly engineer your prompt.

Required Variables

lambda-performance-tuning-cloudwatch-metrics.txt
Act as an AWS Serverless Performance Engineer. Perform a deep analysis of the native CloudWatch metrics emitted by the high-throughput [FUNCTION_NAME] Lambda function. Architect a suite of highly sensitive CloudWatch Alarms: 1) Monitor `MemoryUtilization` against the [MEMORY_UTILIZATION_TARGET] to detect impending Out-Of-Memory (OOM) crashes. 2) Track the `InitDuration` metric, triggering an alert if cold starts exceed the [COLD_START_THRESHOLD]. 3) Monitor `Throttles` based on the strict [CONCURRENCY_LIMIT] quota. Provide a sophisticated Python/Boto3 script that programmatically queries the CloudWatch API to extract these historical data points and outputs a mathematical recommendation for the exact memory allocation (MB) required to hit the absolute lowest cost-duration (GB-seconds) execution 'sweet spot'.

Example Text Output

"The AI returns a set of CloudWatch Alarm configurations and a script that calculates the efficiency ratio of the Lambda function's resource usage."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Lambda Performance Tuning with CloudWatch" prompt used for?

The AI returns a set of CloudWatch Alarm configurations and a script that calculates the efficiency ratio of the Lambda function's resource usage.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.