A system for dynamic allocation of shared resources, the system comprising: a cloud-based resource; a quota server communicatively coupled with the cloud-based resource and configured to: maintain a quota tree that includes a plurality of nodes arranged in a hierarchical workspace structure; receive a request to consume the cloud-based resource, wherein the request includes a requested consumption value; determine a node from the plurality of nodes that is associated with a workspace that the request is from; calculate a first available resource value associated with the node; perform a first routine when the node is of a first type; and perform a second routine when the node is of a second type, wherein the quota tree includes a root node associated with an organization and nodes below the root node, wherein each of the nodes below the root node is associated with a different workspace, wherein the workspace is associated with an entity within the organization, wherein the first type is a reserved quota node, and the second type is a fair use quota node, wherein the quota server is also configured to maintain rules and to build the quota tree according to the rules and to automatically update usage metrics associated with the quota tree, wherein a reserved quota node is arranged to provide a restricted workspace size according to the reserved quota allocation which is guaranteed to be available, and wherein the fair use quota node is arranged to provide a restricted workspace size according to the fair usage quota allocation which is an upper limit to the available workspace size but which is not guaranteed to be the available workspace size. a cloud-based resource; a quota server communicatively coupled with the cloud-based resource and configured to: maintain a quota tree that includes a plurality of nodes arranged in a hierarchical workspace structure; receive a request to consume the cloud-based resource, wherein the request includes a requested consumption value; determine a node from the plurality of nodes that is associated with a workspace that the request is from; calculate a first available resource value associated with the node; perform a first routine when the node is of a first type; and perform a second routine when the node is of a second type, wherein the quota tree includes a root node associated with an organization and nodes below the root node, wherein each of the nodes below the root node is associated with a different workspace, wherein the workspace is associated with an entity within the organization, wherein the first type is a reserved quota node, and the second type is a fair use quota node, wherein the quota server is also configured to maintain rules and to build the quota tree according to the rules and to automatically update usage metrics associated with the quota tree, wherein a reserved quota node is arranged to provide a restricted workspace size according to the reserved quota allocation which is guaranteed to be available, and wherein the fair use quota node is arranged to provide a restricted workspace size according to the fair usage quota allocation which is an upper limit to the available workspace size but which is not guaranteed to be the available workspace size. maintain a quota tree that includes a plurality of nodes arranged in a hierarchical workspace structure; receive a request to consume the cloud-based resource, wherein the request includes a requested consumption value; determine a node from the plurality of nodes that is associated with a workspace that the request is from; calculate a first available resource value associated with the node; perform a first routine when the node is of a first type; and perform a second routine when the node is of a second type, wherein the quota tree includes a root node associated with an organization and nodes below the root node, wherein each of the nodes below the root node is associated with a different workspace, wherein the workspace is associated with an entity within the organization, wherein the first type is a reserved quota node, and the second type is a fair use quota node, wherein the quota server is also configured to maintain rules and to build the quota tree according to the rules and to automatically update usage metrics associated with the quota tree, wherein a reserved quota node is arranged to provide a restricted workspace size according to the reserved quota allocation which is guaranteed to be available, and wherein the fair use quota node is arranged to provide a restricted workspace size according to the fair usage quota allocation which is an upper limit to the available workspace size but which is not guaranteed to be the available workspace size.