Posts tagged instance
The economics of cloud computing
Feb 25th
The new big thing of the IT world is “cloud computing”, a general purpose technology that could provide a fundamental contribution to promote efficiency in the private and public sectors and promote growth, competition, and business creation.
Cloud computing is an Internet-based technology (hence “cloud”) which stores information in servers and provides it as an on-demand service. The economic impact of cloud computing will be substantial on both households and companies.
- On one side, consumers will be able to access all of their documents and data from any device (the home or work PC, the mobile phone, an internet point), as they already do for email services or social networks.
- On the other side, firms will be able to rent computing power (both hardware and software in their latest versions) and storage from a service provider, while paying on demand, as they already do for other inputs such as energy and electricity.
The former application will affect our lifestyles, but the latter will have a profound impact on the cost structure of all the industries. For instance, it can provide huge cost savings and greater efficiency in large areas of the public sector including hospitals and healthcare (especially to provide information and technologies in remote or poorer locations), education (especially for e-learning) and the activity of government agencies with periodic spikes in usage. Moreover, substantial positive externalities are expected because of energy savings: the improvement of energy efficiency may contribute to the reduction of total carbon emissions in a substantial way.
If we look at the private sector, again the introduction of cloud computing can provide cost savings. It can create multilateral network effects between businesses, and it can promote entry and innovation in all the sectors where IT costs are restrictive and are drastically reduced by the adoption of cloud computing. This last effect can have a large effect on the wider economy. Continue Reading…Full Source
Related posts
How to run your first Cloud MapReduce job? Cloud Computing
Jan 21st
Tutorial: how to run your first Cloud MapReduce job
This tutorial covers how to run an existing sample application in Cloud MapReduce. We cover the details on how to write an application for Cloud MapReduce in the how to write application tutorial.
First, let us get a copy of the source code. The easiest way is to download a release, e.g., CloudMapReduce-0.7-release.zip. Unzip it to a directory, e.g., “/workspace/cloudmapreduce”.
Alternatively, you can check out from the source code repository, which always has the latest fixes compared to a released version. Run
svn checkout http://cloudmapreduce.googlecode.com/svn/trunk/ cloudmapreduce
svn is the subversion client program used for checking out source code. If you are on a Windows platform, you may need to use Cygwin to get the svn command. Or you can use a graphical interface, such as Tortoise.
Once checked out, go into the main directory and compile the source code.
cd cloudmapreduce mvn install -DskipTests
Maven (mvn) is a build compilation system. You can get it from Maven download, or you can use Eclipse’s export feature to compile it.
We’ve working to include some automated testing behind the codebase. As you can imagine the dependencies on AWS make a bit complicated.
The Integration test requires that you’ve set your AWS API info as environment variables – something like this in bash:
export AMAZON_ACCESS_KEY_ID='abcdefghijklmnop' export AMAZON_SECRET_ACCESS_KEY='1234567891012345'
Then, to run the integration test (a clone of the WordCount example):
mvn test
or to test then install
mvn install
You should now have a cloudmapreduce-api-….jar in cloudmapreduce-api/target directory and a cloudmapreduce-examples-….jar in cloudmapreduce-examples/target directory (they are in the root directory in a release zip file). These are the executable files we will run. You can run it anywhere. In fact, you can run it in the SETI@HOME style, where you harvest idle computing cycles. A node can join the computation any time, and it can automatically figure out the overall job status and join the computation, but that is a more advanced topic. You can also run it from EC2 manually, but we will describe an easier way — using a pre-built AMI — to run it in EC2 in the following first.
Run Cloud MapReduce job using the pre-built AMI
Let us first upload the executable files to a bucket in S3. There are a variety of tools to use, I use S3fox, which is a plugin for the firefox browser. Assume we put them under S3 bucket mybucket.
Now we can launch instances in EC2 to start the job. Again, you can use a variety of tools, but I use ElasticFox, a plugin for firefox. The following picture shows the steps to use with ElasticFox. (note the AMI ID shown is out of date).
- Find the image we built. Find image ami-d29775bb. The AMI id may change when we rebundle the image, but the manifest will always be huanliu/CloudMapReduce.manifest.xml.
- Click the launch button to start instances
- On the launch page, specify the number of instances you need. There is no complex cluster setup needed, just launch them and they will process in parallel.
- Set the user data. The user data specifies the job parameters. We will discuss the parameter shortly.
- Click the launch button. Your instances will boot up, and as soon as they are up, they start processing your job.


