Arc Region switch introduces Lambda event source mapping execution block for improved failover handling
Amazon has introduced the Lambda event source mapping execution block to automate failover processes for multi-Region workloads, enhancing efficiency and reducing errors.
The Amazon Application Recovery Controller (ARC) Region Switch is designed to assist customers in managing the failover of their multi-Region applications, ensuring a defined recovery time during Regional impairments. In a recent update, Amazon announced the introduction of the Lambda event source mapping execution block, which streamlines the failover process for event streams in multi-Region workloads.
Customers utilizing event-driven architectures often deploy Lambda functions with event source mappings to handle event streams from services such as Kinesis, DynamoDB Streams, MSK, or SQS. For active-passive workloads, while Lambda functions may be maintained across multiple Regions, event processing is typically confined to a single Region at any given time. During a failover, these event source mappings need to be toggled to prevent duplicate processing, a task that has traditionally been manual and prone to errors.
The new Lambda event source mapping execution block automates this process by allowing event source mappings to be enabled or disabled in either the activating or deactivating Region. This automation helps control duplicate processing by allowing customers to configure two sequential Lambda event source mapping execution blocks: a disable block to cease event processing in the deactivating Region, and an enable block to initiate processing in the activating Region. For unplanned failovers where the deactivating Region might be compromised, the disable block can be overridden by executing the plan in “ungraceful” mode.
Additionally, native cross-account support is available, enabling a single failover plan to manage event stream transitions across multiple accounts. For more details on implementing this feature, customers can refer to the Lambda event source mapping execution block documentation. The ARC Region switch, along with this new feature, is available in all commercial Regions, providing comprehensive support for businesses worldwide.