Wednesday, May 4, 2011

Cloud Computing part-2 Windows Azure


This is going to be theoretical blog. In my last blog on cloud computing I explained what exactly is cloud computing.  In this blog I will explain why one should go for cloud computing. Mostly it will be related to Microsoft Windows Azure .Recently I attended a Windows Azure Training Camp where speaker gave a good example of it.

First of all let's see how windows azure works. Cloud computing is all about virtulization. When you deploy your application on azure cloud your application is actually running on virtual machine. Here you can configure number of instance of application. For example if you set number of instances to three. Your application is running on three different virtual machine. Application load is automatically balanced between these virtual machines. You don't have to worry about anything. So this is how windows azure works. Now let's see an example on how windows azure can help you.

Consider you have created an application which consumes more server resources than any other application. Now initially you have 100 users of application. So you buy a server and deployed your application. You are happy, your users are happy too. Now number of users increase to say 1000. Now your single server can not fulfill requirements. Now your users are not happy. So you buy another server for load balancing. After some time again number of users increase and you have to buy another server. This is how you buy almost 20 servers. Each month you have to pay for those servers. Now suddenly number of users decrease and now you can run application only on 5 servers and this situation continues. So what about other 15 servers? Those servers are not utilized and are ideal and still you have to pay for each sever per month.

Now let's see power of Windows Azure. Consider same scenario as above with Windows Azure. Initially you application is running on tow instances. When number of users increase you simply have to increase number of instances. Now your application is running on 20 instances and you are paying for  20 instances per month. Now number of user decreases and you have to reset number of instances to 5. That's it now you don't need to pay for other 15 instances because you are not using it. You only have to pay for 5 instances that you are using.

So it gives you flexibility on number of instances of your application. Anytime you can change it and you have to only pay for the resources which are in use. So that's the power of cloud computing and windows azure.

Hope this posts help you. Being a programmer usually I don't like to write theoretical blogs but still it's necessary to write. Now next posts will be on examples windows azure.

No comments:

Post a Comment