Monday, September 26, 2011

An Analytic Approach to Solving Load Balancing Problem in the Cloud

From Gravitant's blog.

http://blog.gravitant.com/2011/09/26/an-analytic-approach-to-solving-load-balancing-problem-in-the-cloud/



IT management moves into a new dimension by the Cloud. In traditional IT, most of the cost generation occurs in procurement of resources, provisioning and maintenance. By nature, the cost generation is fairly static in traditional IT. Fixed cost of hardware and data centers and stable variable maintenance and provisioning costs contribute to this static cost structure. Cloud’s dynamic nature affects cost management of enterprises in the Cloud, too. Pricing strategies of cloud providers go along with principle of cloud as a utility. Although many pricing options have a fixed portion for a reserved capacity, the usage based cost is always a significant and varying part of enterprise cloud costs. This dynamic cost structure increases the importance of intelligent provisioning and management.
My previous article, “Cloud Sourcing Optimization: A Conceptual Model Discussion”, in Gravitant’s blog, introduces Gravitant’s efforts in optimization in Cloud analytics. The next of the series is investigating analytic solution approaches to solving load balancing problems.
The underlying problem is simply to determine when to turn off a virtual machine (VM) due to low utilization without allowing utilization of any VM to exceed a certain threshold level by turning on a new VM. The aim is to keep VM utilization within a reasonable band to minimize provisioning cost while satisfying workload demand. The question is what the “optimal” high-mark and low-mark utilization values to turn on and off VMs are.
The obvious decision variables in a corresponding optimization problem are high-mark utilization value, low-mark utilization value, whether an existing VM is turned off due to low utilization, and whether a new VM is created due to high utilization of any VM. Each turned of VM creates an extra load of work on the rest of the VMs. Each new VM shares the load of a high-utilized VM. Objective is to minimize total cost of provisioning. Set of constraints can be summarized in three groups.
1- High-mark utilization: New utilization of the remaining VMs after adding the used capacity of low-utilization VMs should be lower than high-mark utilization value.
2- Low-mark utilization: Any VM should have a utilization more than low-mark utilization value.
3- New VM creation: If a VM has a higher-than-high-mark utilization, then a new VM is created.
Because there are both binary and continuous variables, the optimization model tends to be a mixed integer programming model. However, since the first set of constrains is quadratic, the exact definition of the model is quadratically constrained mixed integer programming model. Some straightforward enumeration over the set of VMs will help linearize the constraint. Therefore, we will have a mixed integer linear programming model.
Although this static model may seem restrictive in a setting with a varying amount of demand for virtual machines to meet under budget limitations, it has ability to roll over time and transform into a dynamic model which would fit very well to the span of provisioning and the nature of the Cloud. The utilization band in which VMs are allowed to operate changes dynamically and provides a flexible space for decision makers.
This article reveals the tip of the iceberg of the analytic solutions which Gravitant offers as a cloud brokerage and management company for the enterprises. Our set of analytic solutions that help enterprises move into and operate in the Cloud will continue to grow and evolve.

Tuesday, September 13, 2011

Part 1 - Your application may NOT YET be ready for the Public CommodityCloud if...

1. Your application demand is very stable and doesn't fluctuate much
If your servers are not under utilized, then you are better off keeping things the way they are, unless you want to plan for disasters or other unplanned events.  This is because cloud pricing models are geared for elastic computing. It would be more expensive to provision 4 VMs than to run 4 servers in-house.  The benefits of provisioning fewer VMs and using burst capabilities will only be realized if such demand fluctuations are expected.

Alternative: Look for cloud providers (like Terremark) that price by usage (regardless of the number of VMs provisioned).

2. Your application's licenses can only be tied to physical cores
Many software licenses have not yet made the shift to the world of virtual machines.  For example, Oracle licenses can only operate on a fixed physical core, whereas virtualization technology was developed precisely to separate the physical layer from the software layer.  If Oracle is installed on a VM, the VM would be assigned to certain physical core(s) at one point in time and some other core(s) at some other point in time, which would violate Oracle licensing rules.

Alternative: Look for cloud providers (like Savvis) that have managed hosting servers which share a VLAN with their cloud.  In this way, Oracle can be installed on the managed hosting server while the rest of the application can be deployed on the cloud.

3. Your application stores a very large amount of data on the cloudWith storage disks getting cheaper by the day (1TB for $80), it is becoming increasingly cheaper to store large amounts of data in-house rather than pay for cloud storage every month.  This is because cloud storage is typically priced per GB per hour.


Alternative: Share data storage with other customers using Symform (or any other similar technology) that breaks up the data into a number of encrypted parts and then stores them in the other customer's data centers.  This gives the benefits of elasticity without paying too much for it.  It also increases security of data in the cloud because no one can use the data without having all the parts and being able to decrypt all of them.

4. Your application transfers a large amount of data in or out of the cloudMost cloud providers price their bandwidth by GBs transferred per month.  This would be very costly for applications that stream large data files on a regular basis.

Alternative: Look for cloud providers that price by Mbps of dedicated network throughput.  This is typically found in enterprise cloud providers like Savvis and Terremark.

5. You do not have the capability of managing your VMs any better than you do your serversThe ease of provisioning VMs as and when necessary can also lead to VM sprawl if not managed appropriately.

Alternative: Subscribe to a cloud management console that can not only auto provision VMs when necessary, but also schedule VMs to be turned off after use.  Gravitant's cloudMatrix uses predictive analytics to create dynamic workload schedules that change over time based on historic demand trends.

Go to -> Part 2 - Your application would be a GREAT FIT in the Cloud if...

Thursday, July 28, 2011

Cloud Sourcing Optimization: A Conceptual Model Discussion

From Gravitant's blog.

http://blog.gravitant.com/2011/07/28/cloud-sourcing-optimization-a-conceptual-model-discussion/


Cloud computing brings up new cost cutting, improved flexibility and increased elasticity opportunities for enterprises. While these are the main marketing features of the cloud, the evaluation and comparison of the vendors has not been straight forward so far. Thanks to CloudWiz of Gravitant, we are able to quantify the features of vendors, evaluate them and compare them in a practical, analytical and user friendly manner. As the cloud space gets larger, and decision making steps become more complicated, we will need to add more intelligence to our decision making in cloud migration.
The potential optimization problems may arise in several parts of the cloud space, such as cloud sourcing problem, enterprise capacity planning problem, vendor capacity planning and scheduling problem, vendor load balance problem, etc. In today’s blog, I will elaborate on how to view cloud sourcing problem as a conceptual optimization model.
After an enterprise intends to move to the cloud, it first needs to translate its current use and needs into cloud requirements. Some  of these requirements are quantifiable while some are not. This task is followed by matching the requirements with multiple cloud vendors for evaluation and comparison.CloudWiz takes care of all these tedious steps in a fast, intelligent and user friendly manner. The optimization of cloud sourcing problem is defined on these steps.
In our problem space, there is one customer against multiple cloud vendors. The decision factor is what portion of a certain computing need to provide from a certain vendor.
What are potential constraints of cloud sourcing problem? Let’s make a list of them.
1- Supply-demand: All demand should be satisfied.
2- Hard capabilities: Selected set of vendors should carry all the unquantifiable capabilities which are core to functioning of the enterprise.
3- Soft capabilities: Selected set of vendors should carry a certain fraction of the unquantifiable capabilities which are secondary to functioning of the enterprise.
4- Quality of service: Each selected vendor should satisfy a certain level of quality of service.
First constraint makes sure there is no lack of supply. Second constraint helps eliminate all infeasible members from the decision set. Third constraint grants some flexibility to  the enterprise in decision making.  Fourth constraint ensures the consistency of quality of service.
What is the objective? It should definitely be measured in dollars since we kept perhaps the most important aspect, cost, out of scope so far. The proposed objective function is the minimization of total procurement cost. Cloud vendors have varying pricing schemes. Therefore, building such an objective function is a tedious task. From determining the constraints to constructing an objective, CloudWiz provides all the inputs for such an optimization model in a smart and clean way.
Let us speculate about how the optimal solution would look like. Obviously, if there is a unique vendor which serves all the hard capabilities and enough soft capabilities with the minimum cost, there is the winner. Otherwise, the customer goes through the feasible vendors and starting with the lowest priced one, picks the ones with all hard capabilities, certain number of soft capabilities and minimum satisfying quality of service, allocating based on cost. Although the model is defined as generic as possible, it can still be customized for any enterprise in any conditions.
Hang on for the future versions of the CloudWiz powered with enhanced intelligence of optimization provided by Advanced Analytics group at Gravitant. I will share potential optimization problems in our coming blogs.

IT Capacity Planning in the Cloud and on the Ground

From Gravitant's blog.

http://blog.gravitant.com/2010/11/04/it-capacity-planning-in-the-cloud-and-on-the-ground/


Capacity planning is a hype topic in IT supply chain. It is a key requirement for companies making strategic IT decisions. The main challenge appears to be the lack of a uniform, homogeneous measure of comparison between IT resources. If you take the example of server capacity planning, what makes one server better than the other? CPU power, number of processors and cores are definitely key elements for a comparison. However, benchmarking results does not suggest a straight forward comparison between these elements. SUN has been using a benchmarking approach – what they call as “m-values”- for their servers. SPEC values are the most comprehensive references for benchmarking against competition. However, at the end of the day, all these values are company declared and endorsed values for their own servers. Also, experimental conditions and minor configuration changes may cause significant performance changes as can be seen in the SPECs published.
Recently, the capacity planning problem has another dimension for the companies planning to move to cloud. Either public or private, cloud computing provides a large degree of flexibility for IT operations of companies. However, it is not as easy for the companies who are used to keeping IT resources “in-house” to make a decision to move to the cloud.  Ignoring all the overhead, accessibility, privacy, security and legal issues that come with the cloud, capacity planning becomes a multi-fold complicated problem by itself. While it was not already straight forward to compare performances of existing hardware, capacity planning brings a much bigger challenge due to the nature of the cloud where black boxes of resources somewhere around the world out of control of the company await to be evaluated and configured by a company who is new to this space. 
In reality, the best way to compare performances of the cloud and the in-house hardware would be after the fact. However, almost no company has the luxury and resources to reserve and make such a move to the cloud just to see how it would perform. Therefore, strategic IT capacity planning comes into the picture as the savior of budget, time, and energy. But our prior question still remains unanswered even in a larger scale: “What should be the measure of performance for comparison between the cloud and the hardware?” There are some attempts going on for comparison of cloud providers. Cloudharmony.com provides some good performance indicators for alternative cloud providers. Their performance unit “CCU” has a good perception in the business if you read the reviews. So one link of the chain is missing to have a good starting base for comparison between the hardware and the cloud, which is a relation between SPEC and CCU. I am expecting that it won’t be long before we see some attempt through defining and measuring this relation.
As strategic IT capacity planning is becoming a major attraction, the tools to enable it on a larger scale are also making themselves available. There is a lot to come next on this subject. Optimization and cost minimization will and should follow every capacity planning attempt to make the most benefit out of it. Either on the cloud or on the ground, the key to all these strategic efforts is to have a uniform and homogeneous measure of performance. Gravitant has developed a unique bottom to top approach in which the performance is proportional to expected computational power of the hardware or cloud configuration to resolve this issue. We will talk about this approach and its outcomes in more detail in our coming blogs.

Wednesday, July 27, 2011

Cloud Computing - 58% Average Savings Per Month


Application: CRM
Environment: Production
Capacity: 40 Web/App Servers, 12 DB Servers, 8 VPN Servers, 5TB Storage, 10 Mbps Bandwidth
Demand: 1000 concurrent users, 3.0% growth per year


Scenario results from CloudWiz:


To run additional scenarios (for free), please go to http://www.gravitant.com/cloudwiz-home.html

*Note that these results are simply for comparison and decision support.  All cost and savings results are based on publicly available data, and Gravitant is not responsible for any discrepancies in the numbers shown above.  To increase the accuracy of the results from CloudWiz, please contact us to schedule a calibration meeting with our Professional Services group.

Wednesday, June 29, 2011

Top 4 Cloud Providers on CloudWiz

Cloud providers seem to be popping up everyday in some part of the world, but some providers are emerging as the key players by dominating all the others in one or more aspects.  CloudWiz - the free cloud capacity and provider comparison tool - has enabled an apples to apples comparison of a number of providers, thus revealing the winners.

Quality of Service - Savvis
A number of compute, network, and storage benchmarks are run by CloudHarmony.org to evaluate the true performance of cloud providers.  Savvis outperforms all the other providers with a QoS rating of 9.71, with GoGrid following close behind with a QoS rating of 9.64.  The QoS ratings are given in terms of GQU (Gravitant Quality Units) which are explained in Gravitant's corporate website.

Infrastructure Cost - GoGrid
While many commodity cloud providers price their cloud services at very low on-demand rates, GoGrid offers the best value for money by providing enterprise class services at close-to-commodity prices.  GoGrid started off as a commodity cloud provider but is soon emerging as a strong competitor among enterprise cloud providers.  A large application of 400 GCUs (Gravitant Compute Units) costs $ 22,491 per month at GoGrid, while Rackspace charges $24,744 per month.  All other providers charge $40,000 per month or greater for the same compute capacity.

Total Cost - Rackspace
The total cost includes infrastructure as well as operations and support cost.  While many companies would migrate to the cloud for infrastructure savings, they would end up investing quite a bit on operations and support.  This is where Rackspace truly stands out from all the others due to their 'fanatical' customer support.  As a result, the total cost for 400 GCUs of cloud capacity with Rackspace is $80,941/month (for infrastructure as well as operations and support), while GoGrid charges $84,448/month.  Amazon comes in next at $103,928/month and all the others charge $125,000 or more.

Cloud Management - Terremark
We've all heard of VM sprawl and how monitoring and governance is of utmost importance in the migration to cloud. Terremark has made a name for itself with a very easy to use management console, as well as its standardization with jcloud APIs.  Furthermore, Terremark's pricing is package based as opposed to VM based which alleviates the need to scrupulously monitor and govern at the VM level.

So, it seems like GoGrid and Rackspace dominate from a cost perspective, while Savvis and Terremark dominate with QoS and cloud management.  This shouldn't come as a surprise since GoGrid and Rackspace are commodity cloud providers while Savvis and Terremark are enterprise cloud providers.

Now, what if we could mix and match?  What if we could migrate our mission critical LOB applications to Savvis or Terremark for the QoS and monitoring features, and at the same time deploy email exchange and some of our dev and test environments on GoGrid or Rackspace?  Well, that's where the CloudWiz tool plugs into Gravitant's CloudMatrix management console that allows a consumer to provision Virtual Data Centers from different providers and then monitor and govern them across the board.

See press releases at http://businesscloudnews.com/applications/351-cloudwiz-makes-cloud-evaluation-easy.html

For free access to CloudWiz or for more info on CloudMatrix, please email
analytics-support@gravitant.com

Wednesday, June 1, 2011

CloudWiz (beta) - A wizard based decision tool for going cloud!

Gravitant announces the release of CloudWiz on June 1st, 2011.  Using this tool, potential customers can evaluate the option of going cloud in less than 5 minutes, thanks to the work of the Advanced Analytics group at Gravitant.  Cloud hosting providers can also use this tool for onboarding new clients, while showing ROI benefits to the office of the CFO.  This tool summarizes the decision of going cloud into a simple three step wizard.

Step 1. Plan Capacity
Step 2. Compare Vendors
Step 3. Analyze ROI

"This tool truly eliminates the mist around the cloud!" - Robert Erickson, EVP of Product Management.

Cloud providers interested in adding themselves to the list are requested to send an email to analytics-support@gravitant.com.  Gravitant is also giving out limited time free access to CloudWiz...