Diagnostic Interrupt - A way to debug and perform root cause analysis of unresponsive or unreachable AWS EC2 instance
Before 15 August 2019, it was very difficult to debug and do root cause analysis of an unresponsive or unreachable AWS EC2 instance. Generally, the operating system gets crashed and rebooted when a kernel panic(in case of Linux) or stop error(in case of Windows) is triggered. The operating system can be configured to perform diagnostics tasks on kernel panic or stop error such as generating memory dump files for root cause analysis and debugging. On 15 August 2019, Amazon introduced a simple API to trigger a kernel panic by sending diagnostic Interrupt to an unresponsive instance, which in turn can direct the operating system to perform tasks like creating a crash dump, loading the secondary kernel, or obtaining a call trace. Some concepts about operating system interrupt An interrupt in the operating system is the highest priority signal send from hardware or software to the processor to process. There are two types of interrupts that occur in the op...