azure - Cloud Service Vs Website w.r.t Instances sharing content and configuration -
as mentioned here, 1 of differences caught eye "web server instances share content , configuration, means don't have redeploy or reconfigure scale." marked not possible cloud services.
if cloud service set autoscale/has more instances (scale-out), won't share same content (code base i'm assuming) , configuration (.csdef/.cscfg) settings?
azure cloud services (web/worker role instances) share code when code deployed (based on what's in .cspkg
along content downloaded+installed instructed in startup script). each instance fresh vm image, overlaid software bits. same software bits placed on each scaled instance. have no shared data space, unless attached azure file storage (an smb share atop azure storage). local disk per-instance (and non-durable). attached drives per-instance (and durable, backed azure storage).
azure web app instances have shared-disk (durable) between instances of web app. how, example, can run ghost, sqlite database shared amongst instances. size of shared disk area changes based on app service plan tier chosen. alternatively, web apps may access azure file storage. similar web/worker role instances, every instance of web app gets same code bits deployed.
Comments
Post a Comment