> Markdown version of [/videos/100699-multi-cloud-isn-t-a-project-it-s-a-side-effect?t=1231](https://www.wearedevelopers.com/videos/100699-multi-cloud-isn-t-a-project-it-s-a-side-effect?t=1231). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Multi-Cloud Isn't a Project. It's a Side Effect. During an AWS regional failover, one unmigrated consumer offset accidentally triggered a million duplicate welcome emails. Learn how durable execution prevents state loss and turns multi-cloud failover into a single-click operation. - **Speakers:** [Gaurav Thadani](https://www.wearedevelopers.com/@gaurav-thadani), [Antonio Mendoza Pérez](https://www.wearedevelopers.com/@antonio-mendoza-perez) - **Event:** Conference India 2026 - **Published:** November 25, 2026 - **Duration:** 27:17 - **URL:** https://www.wearedevelopers.com/videos/100699-multi-cloud-isn-t-a-project-it-s-a-side-effect - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/310aa306e3252c386e905f6796674838/thumbnails/thumbnail.jpg?time=30000ms ## Summary Engineering teams often view multi-cloud and regional failover as massive, year-long infrastructure projects. Gaurav Thadani illustrates why traditional failovers break by sharing how an unmigrated consumer offset during an AWS regional failover accidentally resent one million welcome emails. The core problem is that while compute and databases might migrate, scattered application state, retries, and recovery logic get left behind or remain locked into cloud-specific services like AWS Lambda or GCP Pub/Sub. Instead of treating multi-cloud as a standalone goal, Thadani and Antonio Mendoza Pérez reframe it as a side effect of building durability-first with Temporal. Using the Temporal SDK, workflow code breaks down into discrete tasks persisted in an event history log. Because workers remain completely stateless and deterministic, crashed processes—including long-running AI agents—simply replay their history to rebuild memory and resume from the exact point of failure while only consuming RAM during active runtime. Because state lives in the event history, Temporal can asynchronously replicate tasks across standby clusters. In a live demonstration, Pérez executes a seamless failover and failback between AWS and GCP, where workers in the secondary cloud immediately pick up in-flight workflows without complex YAML configurations. While teams must still orchestrate external database replication using tools like YugabyteDB, durable execution transforms application-layer multi-cloud failover into a single-click operation in Temporal Cloud. **Keywords:** multi-cloud architecture, durable execution, temporal, temporal cloud, cross-cloud failover, event history replication, stateless workers, distributed systems reliability, workflow orchestration, deterministic workflow replay, application state migration, long-running AI agents, aws to gcp failover, cloud vendor lock-in, disaster recovery testing ## Chapters 1. **Why regional and multi-cloud failovers often fail** (01:38) — Failing over application traffic without migrating compute state and consumer offsets causes severe production incidents like duplicate notifications. 1. **Architectural complexity of managing state in distributed systems** (05:03) — Scattering state retries and recovery logic across vendor-specific queues and databases turns multi-cloud readiness into an expensive engineering project. 1. **Durable execution with Temporal event history and stateless workers** (06:59) — Breaking workflows into tasks persisted in an event log allows stateless workers to resume crashed executions from the exact point of failure. 1. **Asynchronous task replication across standby Temporal clusters** (10:17) — Replicating task event histories asynchronously between active and standby servers eliminates cloud-specific infrastructure configurations during failovers. 1. **Live demo of workflow failover between AWS and GCP** (13:20) — Failing over active replicas between AWS and GCP demonstrates how workers seamlessly resume in-flight workflow executions across cloud providers. 1. **How worker polling and state synchronization handle cloud outages** (17:10) — Configuring workers to poll active deployments ensures application state moves with traffic during outages and resynchronizes automatically upon recovery. 1. **Building durable AI agents and long-running pipelines** (20:31) — Using code-driven durable execution instead of declarative YAML pipelines provides automatic retries and multi-cloud resilience for long-running AI agents. 1. **Managing external database consistency and deterministic state replay** (23:51) — Orchestrating external database failovers alongside deterministic workflow history replay recovers in-memory state while minimizing runtime RAM usage. ## Related Moments - [Introducing durable execution and the Temporal framework](https://www.wearedevelopers.com/videos/1234-exploring-durable-execution-with-python) (from "Exploring Durable Execution with Python") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/da8cc629a87b007353eaaddc12f8d927/thumbnails/thumbnail.jpg?time=115765ms - [Demonstrating workflow recovery with Temporal and OpenAI](https://www.wearedevelopers.com/videos/1643-rpc-reinvented-asynchronous-durable-and-agent-ready) (from "RPC Reinvented: Asynchronous, Durable, and Agent-Ready") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/03b3a663e58e96d73bf1ee61e71b4478/thumbnails/thumbnail.jpg?time=105125ms - [Evaluating final tradeoffs in resilient cloud architectures](https://www.wearedevelopers.com/videos/1529-azure-well-architected-framework-designing-mission-critical-workloads-in-practice) (from "Azure-Well Architected Framework - designing mission critical workloads in practice") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/b64c0c99279700fdc336c58a17624234/thumbnails/thumbnail.jpg?time=262495ms - [Orchestrating failovers with AWS Step Functions and workers](https://www.wearedevelopers.com/videos/100455-boring-failover-predictable-region-recovery-across-5-000-microservices) (from "Boring Failover: Predictable Region Recovery Across 5,000 Microservices") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/3a31ed78d44a1c97a5437901d4407e80/thumbnails/thumbnail.jpg?time=78047ms - [Overview of the Temporal open-source durable execution architecture](https://www.wearedevelopers.com/videos/744-is-your-backend-a-hodgepodge-of-queues-event-stores-and-cron-jobs-durable-execution-to-the-rescue) (from "Is your backend a hodgepodge of queues, event stores and cron jobs? Durable Execution to the Rescue.") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/52d061cb8340400c68f5484b76baf988/thumbnails/thumbnail.jpg?time=125000ms - [Executing massive cloud network migrations while maintaining live systems](https://www.wearedevelopers.com/videos/100128-the-golden-age-of-email-owning-the-inbox-in-the-age-of-ai) (from "The Golden Age of Email: Owning the Inbox in the Age of AI") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/70935784deb62adbe0d0144696958b7d/thumbnails/thumbnail.jpg?time=43830ms ## Related Articles - [Why Event-Driven Architecture Isn’t About Speed (and When You Actually Need It)](https://www.wearedevelopers.com/magazine/745-why-event-driven-architecture-isn-t-about-speed-and-when-you-actually-need-it) - [The Geometry of Incidents: Connecting User Impact to Architecture](https://www.wearedevelopers.com/magazine/764-the-geometry-of-incidents-connecting-user-impact-to-architecture) - [Your Rollback Plan is Too Slow and How to Fix It](https://www.wearedevelopers.com/magazine/794-your-rollback-plan-is-too-slow-and-how-to-fix-it) - [Navigating the AI Shift](https://www.wearedevelopers.com/magazine/629-navigating-the-ai-shift) ## Related Jobs - [Software Engineer L3 Email](https://www.wearedevelopers.com/jobs/ext/4606626-software-engineer-l3-email) at **Twilio** - [Staff Systems Engineer, Database Infrastructure](https://www.wearedevelopers.com/jobs/ext/4580910-staff-systems-engineer-database-infrastructure) at **GitHub** - [Software Engineer L2](https://www.wearedevelopers.com/jobs/ext/4617343-software-engineer-l2) at **Twilio** - [Principal Engineer, Cloud Security](https://www.wearedevelopers.com/jobs/ext/4819953-principal-engineer-cloud-security) at **Twilio** - [Senior Software Engineer, Enterprise Products](https://www.wearedevelopers.com/jobs/ext/4915393-senior-software-engineer-enterprise-products) at **GitHub** - [Senior Software Engineer - Semantic Data Lake (Open)SDE3](https://www.wearedevelopers.com/jobs/48597-senior-software-engineer-semantic-data-lake-open-sde3) at **WEX**