Copied to clipboard

Flag this post as spam?

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


  • Rahul Soni 3 posts 72 karma points
    Nov 11, 2019 @ 20:21
    Rahul Soni
    0

    multi tenancy in umbraco

    Looking to create multi-tenant application in umbraco can anybody let me know how many type of tenancy is possible in umbraco and what is the best way to manage atleast 20 website using this configurations in umbraco also we are looking forward to host this in azure so looking for suggestions over it.

  • Paul Sterling 718 posts 1534 karma points MVP 8x admin c-trib
    Nov 11, 2019 @ 23:17
    Paul Sterling
    100

    Hi Rahul -

    In general, the rule-of-thumb with Umbraco is that you can create a multi-tenant Umbraco environment when the sites that make up the tenants are related. Namely that they share the "building blocks" (DataTypes, DocTypes, Templates, CSS, Members, Users, etc...) and the traffic to the sites is expected to be moderate. This is because Umbraco does not provide a way (out of the box) to create separation between the building blocks that are used to create sites...so all elements will be available for all sites in your instance. When the sites do share the building blocks, creating multiple sites in a single instance makes perfect sense and can provide some efficiency. However, when the sites do not (or should not) share the building blocks, creating the sites (and the underlying building blocks) becomes quite tricky as you must rely on naming conventions or a custom solution to add separation.

    That said, of course there are instances that contain multiple sites AND use a distinct set of building blocks just fine (and also sites with very high traffic). It comes down to planning your approach and diligence with regard to naming conventions (assuming that is the approach you take to add separation.)

    Another consideration with regard to multiple sites in an instances, is that an Umbraco instance runs in a single process on the web server, so that if one site behaves badly and causes the process to run slowly/crash, all sites will be affected.

    Azure is a great choice for hosting and you can use either an IaaS approach (i.e., set up VMs) or Azure WebApps which run Umbraco quite well. Make sure to follow the specific configuration guidance when running in WebApps:

    https://our.umbraco.com/Documentation/Getting-Started/Setup/Server-Setup/azure-web-apps

    You may also consider using Umbraco Cloud for your hosting...it runs on Azure natively :-) .

    Hope that helps give you some context.

    Best, -Paul

Please Sign in or register to post replies

Write your reply to:

Draft