Azure-Functions icon indicating copy to clipboard operation
Azure-Functions copied to clipboard

How to Migrate from Consumption Plan to App Service Plan (and vice versa)

Open lindydonna opened this issue 8 years ago • 92 comments

From @stephlocke on November 30, 2016 12:4

Is the migration path:

  1. Make sure you have all your keys
  2. Delete existing Function App
  3. Delete Service Plan
  4. Wait for DNS to flush
  5. Create new Function App on Consumption Plan with same name and same storage account
  6. 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

lindydonna avatar Jan 19 '17 21:01 lindydonna

@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?

lindydonna avatar Jan 19 '17 21:01 lindydonna

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?

lindydonna avatar Jan 19 '17 21:01 lindydonna

From @stephlocke on December 5, 2016 11:44

I'm using blob triggers, and also eventhub triggers elsewhere that would need migrating also

lindydonna avatar Jan 19 '17 21:01 lindydonna

This will become a real feature soon, so don't need to document.

lindydonna avatar Feb 13 '17 19:02 lindydonna

@lindydonna Any updates on this feature to automatically migrate from Consumption to App Service Plan?

stoicskyline avatar Sep 04 '17 18:09 stoicskyline

Would also like an update on this! Is there at least a manual process?

aherrick avatar Oct 06 '17 00:10 aherrick

I need an update on this also

jmarbutt avatar Oct 25 '17 17:10 jmarbutt

me too

JensMadsen avatar Oct 26 '17 08:10 JensMadsen

@lindydonna I would also like a update, it has been several months since we heard anything about this.

leftler avatar Oct 30 '17 15:10 leftler

she is not working in MS anymore..

valdisiljuconoks avatar Oct 30 '17 15:10 valdisiljuconoks

@christopheranderson are you able to pick this up? Still a big gaps in the docs / functionality that is still giving people trouble

stephlocke avatar Oct 30 '17 16:10 stephlocke

CC @jeffhollan

lindydonna avatar Oct 30 '17 18:10 lindydonna

+1

syedhassaanahmed avatar Dec 14 '17 10:12 syedhassaanahmed

+1

neilhosey avatar Dec 14 '17 16:12 neilhosey

+1

mjirhage avatar Dec 18 '17 12:12 mjirhage

+1

mharr avatar Dec 23 '17 18:12 mharr

+1

talkwaqar avatar Dec 26 '17 12:12 talkwaqar

+1

patmci avatar Jan 02 '18 11:01 patmci

@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?

leftler avatar Jan 02 '18 15:01 leftler

+1

tence avatar Jan 03 '18 12:01 tence

+1

darrengillis avatar Jan 03 '18 23:01 darrengillis

+1

ckarras avatar Jan 07 '18 01:01 ckarras

+1

ronWoodley avatar Jan 31 '18 19:01 ronWoodley

+1

Sohojoe avatar Feb 01 '18 01:02 Sohojoe

+1

harrymillerr avatar Feb 01 '18 12:02 harrymillerr

+1

mohanprasathsj avatar Feb 02 '18 07:02 mohanprasathsj

+1

Jhultink avatar Feb 08 '18 16:02 Jhultink

+1

ahbrett avatar Feb 08 '18 16:02 ahbrett

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.

jeffhollan avatar Feb 22 '18 05:02 jeffhollan

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.

jeffhollan avatar Feb 22 '18 20:02 jeffhollan