Elastic Disk Provisioning (Erl, Naserpour)
How can the billing of cloud storage be based on actual, fluctuating storage consumption?
Problem
When cloud providers charge for fixed-disk storage allocation, the billing is based on the capacity of the disks, not their actual usage. As a result, cloud consumers are generally billed for more storage than they consume.Solution
A dynamic storage provisioning system is established to dynamically allocate and remove (and collect billing data for) storage space at a granular level.Application
Thin provisioning and dynamic allocation technology is used with cloud storage monitors to enable elastic storage space provisioning and the measuring of usage data for billing purposes.Mechanisms
Cloud Storage Device, Cloud Usage Monitor, Hypervisor, Pay-Per-Use Monitor, Resource Replication, Virtual ServerCompound Patterns
Burst In, Burst Out to Private Cloud, Burst Out to Public Cloud, Elastic Environment, Infrastructure-as-a-Service (IaaS), Multitenant Environment, Platform-as-a-Service (PaaS), Private Cloud, Public Cloud, Resilient Environment, Software-as-a-Service (SaaS)Problem
Cloud consumers are commonly charged for cloud-based storage space based on fixed-disk storage allocation. This means that they are charged based on the capacity of the fixed disks, regardless of their actual data storage consumption.
For example, a cloud consumer may provision a virtual server with the Windows Server operating system and three 150 GB hard drives. When the cloud consumer installs the operating system, it is billed for using 450 GBs of storage space, even though the operating system may only use 15 GBs.
Figure 1 - A scenario based on the use of a fixed-disk allocation based provisioning model.
- The cloud consumer requests a virtual server with three hard disks, each with a capacity of 150 GB.
- The virtual server is provisioned via the Rapid Provisioning and Automated Administration patterns, with a total of 450 GB disk space.
- The 450 GB of storage space is allocated to the virtual server by the cloud provider.
- The cloud consumer has not installed any software yet, meaning the actual used space is currently 0 GB.
- Because 450 GB has been allocated and reserved for the cloud consumer by the cloud provider, the cloud consumer will be charged for 450 GB of disk usage as of the point of allocation.
Solution
A system of dynamic storage provisioning is established so that the cloud consumer is billed, on a granular level, for the exact amount of storage that was actually used at any given time. This system uses thin provisioning technology for the dynamic allocation of storage space and is further supported by runtime usage monitoring to collect accurate usage data for billing purposes.
Figure 2 - A scenario based on the use of a dynamic-disk allocation based provisioning model.
- The cloud consumer requests a virtual server with three hard disks, each with a capacity of 150 GB.
- The virtual server is provisioned via the Rapid Provisioning and Automated Administration patterns, with a total of 450 GB disk space.
- 450 GB of disk space is set as the maximum allowed disk usage for this virtual server, but no physical disk space has actually yet been reserved or allocated yet.
- The cloud consumer has not installed any software yet, meaning the actual used space is currently 0 GB.
- Because the allocated disk space is equal to the actual used space (which is currently at zero), the cloud consumer is not charged for any disk space usage.
The cloud consumer will only be charged when the disk space has actually been used.
Figure 3 - The fixed-disk allocation based provisioning model compared to the dynamic disk provisioning model.
Application
Thin provisioning software is installed on servers that need to process dynamic storage allocation. A specialized cloud usage monitor is employed to track and report actual disk usage.
Figure 4 - A sample cloud architecture resulting from the application of the Elastic Disk Provisioning pattern.
- A request is received from the cloud consumer and the provisioning for a new virtual server instance begins.
- As part of the provisioning process, the hard disks are chosen as dynamic or thin provisioned disks.
- The hypervisor calls a dynamic disk allocation component to create thin disks for the virtual server.
- Virtual server disks are created via the thin provisioning program and saved in a folder of near-zero size. The size of this folder and its files grows as operating applications are installed and additional files are copied onto the virtual server.
- The pay-per-use monitor mechanism tracks the actual dynamically allocated storage for billing purposes.
Because the allocated space is equal to the amount of used space after applying the pattern, the cloud consumer will only be charged for 15 GB of storage usage. Should the cloud consumer later install an application that takes up 6 GB of disk space, it will be billed for using 21 gigabytes from thereon.
NIST Reference Architecture Mapping
This pattern relates to the highlighted parts of the NIST reference architecture, as follows:
This pattern is covered in CCP Module 5: Advanced Cloud Architecture..
For more information regarding the Cloud Certified Professional (CCP) curriculum, visit www.cloudschool.com.
Arcitura IT Certified Professionals (AITCP)
Arcitura IT Certified Professionals (AITCP)
Arcitura IT Certified Professionals (AITCP)
Arcitura YouTube Channel
