I want to have AWS step functions created in two different regions. Let's say us-east-1 and eu-central-1.
When I invoke the step functions they run in their own region and will have their execution history stored in that region. Let's say step function was executed in us-east-1. Now if for any reason us-east-1 region goes down. Is there a way to have entire execution history of the step function to be available in another region?
Is there a way to enable replication of execution data across regions for step functions?
No, the service does not support that.
If you have essential data that is only available in the execution history (not a good long-term storage mechanism as they expire after 90 days), you need to store it in another service.
You could write it to DynamoDB and use the Global Table feature to replicate the data between the two regions.
You could also periodically export the Execution History to a more durable storage medium for retention beyond 90 days.