Configure Cloud Storage
The CloudCenter platform allows you to account for the storage cost along with the compute cost within the job billing process. The CloudCenter platform calculates the cloud storage billing based on the allocated storage amount and based on storage properties like IOPS.
Currently, the CloudCenter platform does not have the capability to calculate the cloud storage billing based on the data transfer across storage devices.
The storage or volume information is calculated using the Multiple Volumes object. The VolumeInfoSet has the list of volumeInfo objects (has the type (volumeInfos) and other related properties) and the instance ID. The volumeInfoSet is stored in the job's application settings as a JSON string. To compute the storage cost during billing, you must use the VolumeInfoSet setting.
Cloud Support for Storage Accountability
The storage type contains the cost information and other storage related properties (like throughput), the CloudCenter platform uses the storage size and type to calculate billing for each cloud type as described in the following table.
|Datacenters and Private Clouds|
|Container Clouds||Storage Types are not supported.|
Cloud Storage Type
The Cloud Storage Type (cloudStorageType) is a new type used to retrieve the cloud storage related information from the CCM. This type allows you to model your own storage types for private clouds and capture existing cloud storage types for public clouds as listed in the following table.
Cloud Storage Types
|SSD||Solid-State Drive – a storage device type that uses integrated circuit assemblies as memory to store data persistently.|
|HDD||Hard disk drive – a storage device type that uses magnetic material to store data persistently.|
|Hot & Cold|
The data frequency access.
Input/Output Operations Per Second – the amount of read or write operations performed in one second. A performance measurement used to characterize computer storage devices like SSD, HDD.
|IO size||Depending on the operating system and the application/service that requires disk access it issues a request to read or write a certain amount of data at the same time. For example 4 KB, 8 KB, 32 KB and so forth.|
A measurement of the average number of megabytes transferred within a period of time for a specific file size. Throughput in MB/s = Average IO size x IOPS
Add Cloud Storage
Billing works based on the price information of the cloud storage types. You have the option to configure cloud storage types during the CCM server initialization.
To configure cloud storage, follow this procedure.
From the CCM UI, click Admin > Clouds > cloud name. On the right, a list of regions configured for this cloud are displayed.
Click Add Region to add a cloud region. The Add Region popup displays.
Add the Region Name and an optional Display Name for this cloud region.
Scroll down to the Storage Types section that is displayed in the following screenshot.
Click Add Storage Type to add a new storagemapping. The Add Storage Type popup displays.
The Add Cloud Storage option is only available for OpenStack, VMware, and Dimension Data (with three, predefined, out-of-box storage types, Standard, High Performance, and Economy) environments.
The Admin user must explicitly include the required storage types for the configured regions or ensure that the Sync Storage Types option imports the required cloud storage types.
The Add Cloud Storage field is not available for Public Clouds. While you can Edit the configured storage options, you will not be able to edit data in any field other than the Display Name for public clouds.
Configure the fields based on your storage configuration. See the Cloud Storage Type table above for additional details.
Sync Storage Types
Administrators have the ability to sync storage type and price information from the Package Store. This feature allows administrators to sync information when they see a change in cloud provider storage type definitions and price information. You can update storage cost information for the predefined storage types and any user-defined storage types with the Cisco published list. The Cisco published list, in turn, is periodically updated based on information provided by the relevant cloud.
The storage type must be present in the remote repository.
To perform this procedure, you must have access to the Package Store.
To sync storage types, follow this process:
Configure the cloud region as specified in the Configure Cloud(s) page.
When the CCO (Orchestrator) Configuration section displays the Running status, click Sync Storage Types.
The Cloud Regions page updates to display the synced status.
To account for storage billing, you (users) must define the storage type just as you would define an instance type to account for the storage cost.
During a deployment when you select the instance type, the hardware specification information is used to launch the instance. In the same way, the volume information is used for storage billing in the deployment context.