Apache Whirr is a set of libraries for running cloud services. You can use it to create EC2 instances running Hadoop, just like the previous tutorial. But, Whirr also provides a lot of other interesting functionality that worth to give a try.
Other advantage is the possibility to run into different cloud providers without worrying about each one configuration details. Of course that you need an active account.
You can find a simple tutorial at Whirr's homepage: Getting Started with Whirr.