Intellova

AWS Introduces Serverless AI-Powered Incident Analysis for Amazon RDS

AWS Introduces Serverless AI-Powered Incident Analysis for Amazon RDS
Data Integration

AWS Introduces Serverless AI-Powered Incident Analysis for Amazon RDS

Intellova· Engineering Team
4 min read

Overview of AWS's New Serverless Solution

AWS has introduced a groundbreaking serverless approach for continuous forensic artifact collection aimed at Amazon Relational Database Service (RDS) and Amazon Aurora databases. This method involves capturing point-in-time snapshots of database internals, which are then stored in Amazon S3. These snapshots facilitate rapid root cause analysis by AI tools, significantly accelerating the identification and resolution of database issues. The solution is designed to automate the collection of telemetry history, including active sessions, lock waits, wait statistics, and query performance metrics, all stored as structured JSON artifacts in S3. This automation ensures that businesses can maintain a comprehensive record of database activity, enabling more effective monitoring and troubleshooting. By leveraging serverless technologies, AWS eliminates the need for manual intervention, allowing businesses to focus on strategic initiatives while ensuring their databases operate smoothly.

Key Components and Architecture

The architecture of this solution is fully serverless, leveraging Amazon EventBridge, AWS Lambda, Amazon Simple Queue Service (SQS), and AWS Secrets Manager. Diagnostic SQL scripts tailored for various database engines—SQL Server, PostgreSQL, MySQL, and Oracle—are stored in an S3 bucket and executed by Lambda functions. The system automatically detects the database engine type, ensuring that the correct scripts are applied, thus maintaining compatibility and efficiency across different database environments. A configurable scheduler rule triggers the collection process at set intervals, such as every minute, allowing for continuous monitoring and analysis. This serverless approach not only reduces operational overhead but also offers greater scalability, enabling businesses to adapt to changing demands without significant infrastructure adjustments. Additionally, the use of AWS Secrets Manager ensures that sensitive information is securely managed, enhancing the overall security posture of the solution.

Captured Diagnostic Information

This AWS solution captures comprehensive diagnostic information from dynamic management views (DMVs) such as `sys.dm_exec_requests`, `sys.dm_exec_query_stats`, `sys.dm_os_wait_stats`, and `sp_who2` for SQL Server. These DMVs provide deep insights into database performance and behavior, enabling detailed analysis and troubleshooting. By collecting such granular data, businesses can gain a thorough understanding of their database operations, facilitating more effective optimization and maintenance strategies. For instance, `sys.dm_exec_requests` offers real-time information about currently executing queries, while `sys.dm_os_wait_stats` provides historical data on resource waits. This detailed telemetry allows businesses to identify bottlenecks, optimize query performance, and ensure that their databases operate at peak efficiency.

AI-Driven Root Cause Analysis

AI coding assistants, such as Kiro, play a crucial role in this solution by correlating artifacts across time windows and performing root cause analysis in seconds. This rapid analysis capability allows businesses to quickly pinpoint the source of database issues, reducing downtime and improving overall performance. The integration of AI ensures that the analysis is not only fast but also accurate, providing actionable insights that can be immediately applied to resolve issues. For example, when a performance degradation is detected, the AI tool can analyze the collected artifacts to identify the specific query or session causing the issue, allowing administrators to take corrective action promptly. This proactive approach to problem-solving minimizes the impact of database issues on business operations, ensuring continuity and efficiency.

Benefits for Businesses

For businesses that rely on robust database management, AWS's serverless solution offers substantial benefits. By automating the collection and analysis of forensic artifacts, companies can significantly reduce the time and effort required to identify and address database issues. This automation leads to minimized downtime and enhanced overall performance. Additionally, the serverless architecture reduces operational overhead and offers greater scalability, allowing businesses to focus on their core activities while ensuring their databases operate smoothly and efficiently. For mid-market decision-makers, this solution provides a competitive edge by enabling faster incident resolution, improved database performance, and reduced operational costs. Furthermore, the ability to leverage AI-driven insights allows businesses to make more informed decisions, driving growth and innovation.

Intellova's Perspective on AWS's Innovation

Intellova recognizes the transformative potential of AWS's new serverless solution for businesses leveraging Amazon RDS and Aurora databases. By unifying business data into a single AWS database for analytics, AI, and automation, Intellova's platform complements AWS's innovation. This integration allows mid-market decision-makers to not only benefit from rapid incident analysis but also to harness the power of unified data for deeper insights and more informed decision-making. Intellova encourages businesses to explore this solution to enhance their database management practices and achieve greater operational efficiency. By adopting this advanced technology, businesses can stay ahead of the curve, ensuring that their databases are always optimized for performance and reliability.

Found this article helpful? Share it with others.

Is your data working this hard for you?

Intellova unifies your CRM, accounting and business tools into one source of truth — ready for analytics, AI and automation.

Keep reading