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

Advanced AI Prompt for Serverless Error Handling and Resiliency Patterns

Customize the variables below to instantly engineer your prompt.

Required Variables

serverless-error-handling-resiliency-patterns.txt
Act as a Site Reliability Engineer (SRE). Develop a comprehensive, failsafe error handling and resiliency strategy for a heavily utilized serverless application. You must mechanically address specific, catastrophic [FAILURE_SCENARIOS] (e.g., `DynamoDB ProvisionedThroughputExceededException`, API Gateway 504 timeouts, downstream 3rd-party API failures). Implement a strict [RETRY_POLICY] utilizing the Circuit Breaker pattern coupled with Exponential Backoff and Jitter. Detail the configuration of SQS Dead Letter Queues (DLQs) to capture dropped Lambda payloads. Architect a robust [FALLBACK_STRATEGY] that gracefully serves cached data from ElastiCache or S3 when the primary database is unreachable. Provide the exact Python/Node SDK code wrapping the Circuit Breaker logic.

Example Text Output

"The output will be a resilience design document featuring a Step Functions 'Error Handling' pattern and a Lambda middleware implementation for centralized error logging and retry logic. It will define clear RTO/RPO impacts for each failure mode."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Serverless Error Handling and Resiliency Patterns" prompt used for?

The output will be a resilience design document featuring a Step Functions 'Error Handling' pattern and a Lambda middleware implementation for centralized error logging and retry logic. It will define clear RTO/RPO impacts for each failure mode.

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.