Sie sind auf Seite 1von 2

201306a

Cloudera Administrator Training for Apache Hadoop


Using the Amazon EC2 Machine Images


Your training course used virtual machines created in Amazons EC2 cloud. If you
want to reproduce the exercise environment yourself, you can: we have made the
AMIs (Amazon Machine Images) public, so if you have an Amazon Web Services
account you can start up the VMs using your own account. Heres how to do that.

Disclaimer: If you have never used Amazon EC2 before, we suggest you read
one of the many tutorials available on the Web first. We regret that we cannot
provide support if you choose to recreate the class environment yourself
using EC2.

NOTE: Launching EC2 Virtual Machines will result in you being charged by
Amazon for every hour each EC2 instance is running. This will be billed to the
credit card associated with your EC2 account. It is your responsibility to
ensure that you shut down the instances when you have finished using them.
Cloudera is not responsible for any charges you may incur while using
Amazon EC2.

1. Register for an Amazon AWS account if you dont already have one. The
address is http://aws.amazon.com.
2. From the AWS Management Console, chose EC2.
3. From the top-right menu, select the region closest to you (note that we do
not have AMIs available in all regions see the list below).
4. Select Instances from the menu on the left.
5. Click the Launch Instance button and click Continue on the Classic Wizard.
6. Choose the Community APIs tab, and search for the AMI for the region you
have selected:
ami-049ce66d us-east-1 (N. Virginia)
ami-44684301 us-west-1 (N. California)
ami-e75c4593 eu-west-1 (Ireland)
ami-b3fd6cb2 ap-northeast-1 (Tokyo)
ami-57b92b6d ap-southeast-1 (Sydney)
ami-11b0140c sa-east-1 (Sao Paolo)
7. When the AMI information appears (it may take a minute or two to appear),
choose Select.
8. On the next screen, you can specify how many instances to launch and the
size of each instance. For the Administrator course exercises you will need to

launch four instances; we suggest the M1 Small instance size. Choose those
options, then hit Continue.
9. You can leave all of the options on the Advanced Instance Options screen at
their defaults, and hit Continue.
10. Dont change anything on the Storage Device Configuration page, just hit
Continue.
11. On the next screen, you can optionally specify a name for your instances,
such as Cloudera Administrator exercises. Then hit Continue.
12. On the next screen, you select key pairs. Choose Proceed without a Key Pair,
since you will be accessing the instances via the Get2EC2 virtual machine on
your local computer. Hit Continue.
13. Choose a security group. Default is usually fine. If you want to create a new
Security Group, you need to ensure that ports 80 and 443 are accessible from
outside EC2. Then hit Continue.
14. The final screen gives you information about the instances; when you click
Launch, they will be launched. This usually takes a minute or two. Once
launched, you can use the Web UI to find the external IP addresses of the EC2
virtual machines, which you need in order to connect from the Get2EC2 VM
on your local machine. You will be charged for each EC2 instance per
hour while it is running!


Note: To access the VMs, you should download and install the Get2EC2 Virtual
Machine on your local computer. You will need to install VMware Player (if you are
using a PC) or VMware Fusion (if you are using a Mac) to run the local VM. You can
then proceed just as you did in the classroom.

Do not forget to shut down the EC2 instances from the AWS Control Panel
when you have finished using them. You are charged by Amazon for every
hour that each instance is running.

Das könnte Ihnen auch gefallen