Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Topic author was deleted

    Apr 24, 2015 @ 16:16

    Azure Websites Workflow

    I'm just *now* getting on Azure from AWS.  But of concern to me is the workflow barriers I might have to overcome.  Let me set the table:

    - I'm using Azure Websites

    - I have a Production Site

    - I have a PreProd slot tied to the production site

    - We have staging slots

    - We push to Master in GitHub which sync's PreProd.

    - Once we're happy (and the site is warmed up) we hit 'Swap'

    Barrier to success:

    - When previewing the PreProd, we're missing the media files from production (obvious to me why this is happening as the media folders aren't on the same instance)

    - Any 'uploads' folder isn't moved over

    Everything is just great except for the media 'sync' issue.  If we have another folder that we call 'uploads', it'll be out of sync as well.

    On AWS, there is a service called OpsWorks that provides a way to 'copy over' certain folders during the 'swap'.

    There is no such feature on Azure Websites (AFAIK).

    I know that this exists: https://our.umbraco.org/projects/backoffice-extensions/azure-blob-storage-provider

    That would probably solve my media folder issue, but not my 'arbitrary folder x (i.e. uploads)' issue (AFAIK).

    So that leaves me with three options (if I want to continue using Azure Websites):

    1) Don't use 'swap' feature and map 'Master' to my production slot and remember to check it b/c of the continuous integration.  Easiest of the three but losing the swap feature means losing warm up and instant rollback.

    2) Come up with a way to copy /media and /uploads from production to pre-prod (sync them).  Sounds messy already, and copying tons of files over http isn't my idea of fun.

    3) Use azure-blob-storage-provider but that doesn't appear as stable as I'd like (plus we have an existing install that would mean we have a lot of images to re-upload)

    I read this and got some insights, but I'm still not satisfied: http://blog.orbitone.com/post/Does-Umbraco-really-loves-Windows-Azure

    What are you guys doing?

  • Comment author was deleted

    Apr 24, 2015 @ 17:36

    I've decided to to use the https://our.umbraco.org/projects/backoffice-extensions/azure-blob-storage-provider, I'll post back on how it goes.

    So for my case, I believe I can specify a transform to use local provider when dev'ing on my laptop and use Blob storage on Azure when in production/staging.

    Finally, (since I've never messed with the file system provider) it appears I can specifiy arbitrary directories as well.

  • Comment author was deleted

    Apr 24, 2015 @ 19:04

    Ok, all went very well.

    In the end I'm now able to do this:

    - Work locally with the regular file system

    - When I push to 'master' it goes to my pre-prod Azure Website

    - When it's all good, I swap with production (thus becoming the new production)

    - Media files are in Azure Storage Blob's thus keeping everything happy.

    - My staging keeps on using local file storage as well (but perhaps I'll change that too)

    H5YR to Dirk and Sebastiaan (and the pkg contribs)

Please Sign in or register to post replies

Write your reply to:

Draft