Azure Function Application Cleanup ("Stop all in-flight instances")

Andrew Syrov 51 Reputation points
2021-09-09T18:29:17.013+00:00

Hi,

I'm investigating upgrade/versioning for durable function app. Overall available approaches are explained here. I need help with the "Stop all in-flight instances" approach. For this type of upgrade, we stop Function Application, Cleanup (Delete) storage of the application, then install a new version of the App and start it.

All is clear, expect I need to double check what exactly should and should not I delete from storage. Here is what I have, after stopping the app:
- Containers:
- azure-webjobs-hosts
- azure-webjobs-secrets
- (functionapp-name)-applease
- (functionapp-name)-leases
- Queues:
- (functionapp-name)-control-(..)
- (function-name)-workitems
- Tables:
- (functionapp-name)History
- (functionapp-name)Instances (this appears to be states of entity functions)

Should I delete all of it, or just those starting with (functionapp-name)? Or should I also delete azure-webjobs...?

Thank you very much in advance,
Andrew

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,193 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,731 Reputation points
    2021-09-10T05:31:13.203+00:00

    @Andrew Syrov Your listed containor (functionappname-*) and queues will automatically created for you and you can delete them from storage account. If you don't need the history and instance table data then you can delete the too and these should be recreated for you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.