1. A method of configuring hierarchical cloud resources, the method comprising: receiving, by a supervisor server, a signal indicating a boundary of a set of hierarchical cloud resources, wherein the boundary describes a level of resource sharing among the set of hierarchical cloud resources, wherein the set of hierarchical cloud resources comprises a set of software applications, a set of middleware that supports one or more software applications from the set of software applications, and a set of virtual mechanisms that supports one or more middleware from the set of middleware; receiving, by the supervisor server, a signal from one or more Isolation/Density (I/D) switches, wherein the one or more I/D switches are associated with one or more software applications from the set of software applications and one or more middleware from the set of the middleware; and configuring, by the supervisor server, the hierarchical cloud resources according to the boundary of the set of hierarchical cloud resources and according to settings of said one or more I/D switches, wherein an application I/D switch from a specific software application controls whether or not a particular middleware is reserved for an exclusive use by the specific software application, and wherein a middleware I/D switch from a specific middleware controls whether or not a particular virtual mechanism is reserved for an exclusive use by the specific middleware.