locked
Static Hosting for JAMStack RRS feed

  • Question

  • So after initially using Functions in the early days [1] for my static web frontends (now called JAMStack by developers) my latest font-end heavy projects have used other hosting solutions like Zeit now and Netlify. These provide a very sold DX for deplying front ends, namely atom immutable deploys with trivial rollback.

    Now I catch up with the Azure offering I find Functions have fixed the early issue I had with nodejs perfomance and 3.0 is looking great! Plus Durable Functions also show great promise.

    However the JamStack style Serverless reference architecture [2] and other static hosting docs [3] propose using blob storage with the CDN (which is essential really) .

    However as far as I can see blob storage only supports immutable, non-atomic updates for $web which is not useful.

    Have I missed something? Or do we need to manage this all oursoves with extra effort and I assume cost? Perhaps DevOps which I would use for deployment pipeline from GitHub provides something that fills the gap?

    Thanks!

    Steve

    1: https://opendirective.net/azureserverless/index.html

    2: https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/serverless/web-app

    3: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website


    Steve

    Saturday, December 28, 2019 12:39 PM

Answers

  • Now I dig a bit deeper it seems Resource Manger deployment groups may give the atomic deploys, if not rollback..

    But for this to work we'd need automatic group declaration for the set of front-end files to be deployed.

    What I'm after is a command to say 'build and deply this set of front end source files' :)


    Steve

    Saturday, December 28, 2019 1:03 PM

All replies

  • Now I dig a bit deeper it seems Resource Manger deployment groups may give the atomic deploys, if not rollback..

    But for this to work we'd need automatic group declaration for the set of front-end files to be deployed.

    What I'm after is a command to say 'build and deply this set of front end source files' :)


    Steve

    Saturday, December 28, 2019 1:03 PM
  • Glad to hear that issue got fixed. Appreciate for sharing the steps which helped you, this would certainly benefit other community members.

    Monday, December 30, 2019 6:08 AM