Safe Blue Green Deployment with Durable Functions

Tsuyoshi Ushio
Apr 5, 2018 · 6 min read

Problem statement

Durable Functions, Storage Queue, and Storage Table

Breaking change

Make sure there is no running Activity

Durable Functions with Production / Staging Slot

Durable Functions Lifecycle notification with Event Grid

{
"durableTask": {
"EventGridTopicEndpoint": "https://some-region.eventgrid.azure.net/api/events",
"EventGridKeySettingName": "EventGridKey"
}
}
"EventGridKey": "YOUR_EVENT_GRID_TOPIC_KEY_HERE"

Architecture

State management

State management

State management with VSTS

Deployment Pipeline

Durable Functions Safe Deployment extension and Backend API

Durable Functions Safe Deployment extension

Another Strategy

API management with new Function App deployment

Special Thanks

hackers

Tsuyoshi Ushio

Written by

Software Development Engineer — Microsoft

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade