Azure-Functions
Azure-Functions copied to clipboard
How to Migrate from Consumption Plan to App Service Plan (and vice versa)
From @stephlocke on November 30, 2016 12:4
Is the migration path:
- Make sure you have all your keys
- Delete existing Function App
- Delete Service Plan
- Wait for DNS to flush
- Create new Function App on Consumption Plan with same name and same storage account
- Configure CI, app settings etc
Will this work with all the history so blob's don't get reprocessed etc?
Copied from original issue: Azure/azure-webjobs-sdk-script#1010
@stephlocke This is better asked on the MSDN forums or StackOverflow (you'll have more folks seeing and answering questions there, as opposed to GitHub isuses).
Are you using blob or queue triggers? Those behave differently in terms of how multiple hosts will process.
@christopheranderson Do you know the answer to this question?
From @stephlocke on December 2, 2016 20:51
IMO, this should be a docs thing as people will need to do this for maybe the next year?
From @stephlocke on December 5, 2016 11:44
I'm using blob triggers, and also eventhub triggers elsewhere that would need migrating also
This will become a real feature soon, so don't need to document.
@lindydonna Any updates on this feature to automatically migrate from Consumption to App Service Plan?
Would also like an update on this! Is there at least a manual process?
I need an update on this also
me too
@lindydonna I would also like a update, it has been several months since we heard anything about this.
she is not working in MS anymore..
@christopheranderson are you able to pick this up? Still a big gaps in the docs / functionality that is still giving people trouble
CC @jeffhollan
+1
+1
+1
+1
+1
+1
@jeffhollan can we get any kind of update on this, it has been two months without any kind of word from microsoft about this. Is it at least on the backlog?
+1
+1
+1
+1
+1
+1
+1
+1
+1
Circling back on this. Definitely an experience we still have on the backlog however it's not on the immediate backlog (read: slated for pre-July). We have to do some work to make transition between consumption plan and a dedicated plan more automatic - still pending investigation on our side here. These upvotes and interest are helpful in pushing that along though. It's not for lack of wanting on our part.
In the meantime we can document the different ways to move - @lindydonna had a good suggestion up top to leverage same name. Could also re-create a new function app and migrate code to it. Depends largely on if HTTP triggered or not. Not sure if still an appetite for documentation (nothing outside of what listed here and on top comment), or if most interest in this issue is on the "move" feature. Let me know so we can track appropriately.
Just one more note - we're discussing feasible of asks now (both in terms of documenting and making easier). Would be good to know what folks expect or what would motivate someone to move from consumption to dedicated (or visa versa) and what hoping to achieve to make sure we solve for the right scenarios. I have my own personal experiences/thoughts but always better to come straight from users :). Any input / clarity on that would be great.