Summer 2014
This
Certified
Training
Services
Partner
Program
Guide
(the
Program
Guide)
is
protected
under
U.S.
and
international
copyright
laws,
and
is
the
exclusive
property
of
MapR
Technologies,
Inc.
2014,
MapR
Technologies,
Inc.
All
rights
reserved.
ii
Contents
Set up a Lab Environment in Amazon Web Services (AWS) ................................ 4
Part
1:
Set
up
a
lab
environment
in
Amazon
Web
Services
(AWS)
.............................................
4
Lab
Procedure
.............................................................................................................................
4
Create
an
AWS
Account
..........................................................................................................
4
Configure
Virtual
Private
Cloud
(VPC)
Networking
.................................................................
5
Create
AWS
Virtual
Machine
Instances
for
Hadoop
Installation
.............................................
6
Create
an
AWS
VM
Instance
for
NFS
Access
...........................................................................
9
Log
in
to
AWS
Nodes
.............................................................................................................
10
Managing
your
Nodes
...........................................................................................................
11
Terminating
Your
Instances
and
EBS
Storage
.......................................................................
12
Part
2:
Setup
passwordless
ssh
access
between
nodes
............................................................
14
iii
Lab Procedure
Create an AWS Account
You
need
to
have
an
account
on
Amazon
Web
Services.
If
you
already
have
an
AWS
account,
you
can
skip
this
task.
Note
that
you
will
need
to
provide
your
email
address,
billing
information
(credit
card),
and
a
phone
number
that
you
may
be
contacted
at
in
order
to
create
the
account.
1. Point
your
Web
browser
to
http://aws.amazon.com
2. Click
the
"Sign
Up"
button
at
the
top
right-hand
side
of
the
Web
page
3. Select
the
"I
am
a
new
user"
radio
button
4. Type
your
email
address
in
the
"My
e-mail
address
is:"
text
field
5. Click
the
"Sign
in
using
our
secure
server"
button
6. Fill
out
the
"Login
Credentials"
Web
form
and
click
the
"Continue"
button
7. Fill
out
the
"Contact
Information"
Web
form
and
click
the
"Create
Account
and
Continue"
button
8. Fill
out
the
"Payment
Information"
Web
form
and
click
the
"Continue"
button
9. Fill
out
the
"Identity
Verification"
Web
form
and
click
the
"Call
Me
Now"
button.
Once
you
reply
to
the
phone
call
using
your
4-digit
code
from
this
Web
form,
click
the
"Continue
to
select
your
Support
Plan"
button
10. Fill
out
the
"Support
Plan"
Web
form.
Note
you
will
not
need
support
services
from
Amazon
in
order
to
run
the
labs
in
this
class.
Click
the
"Continue"
button
11. Your
AWS
account
is
now
provisioned
and
you
can
begin
setting
up
the
virtual
machines
for
your
class
12. In
the
"Virtual
Private
Cloud"
section
of
your
navigation
pane,
click
"Internet
Gateways"
13. Click
the
"Create
Internet
Gateway"
button
and
fill
out
the
Web
form
as
follows:
a. Name
tag:
mapr-odt-gw
b. Click
the
"Yes,
Create"
button
c. Select
the
checkbox
next
to
the
"mapr-odt-gw"
object
and
click
the
"Attach
to
VPC"
button
d. Select
"mapr-odt-vpc"
from
the
"VPC"
drop-down
list
and
click
the
"Yes,
Attach"
button
14. In
the
"Virtual
Private
Cloud"
section
of
your
navigation
pane,
click
"Route
Tables"
15. Select
the
"mapr-odt-routes"
object,
select
the
"Routes"
tab,
and
click
the
"Edit"
button.
Fill
out
the
Web
form
as
follows:
a. Destination:
0.0.0.0/0
b. Target:
mapr-odt-gw
c. Click
the
"Save"
button
16. In
the
"Virtual
Private
Cloud"
section
of
your
navigation
pane,
click
"Subnets"
17. Select
the
"mapr-odt-subnets"
object
and
select
the
"Route
Table"
tab.
Click
the
"Edit"
button
and
fill
out
the
form
as
follows:
a. Select
the
"Change
To"
drop-down
list
and
select
"mapr-odt-routes"
b. Click
the
"Save"
button
5. In
the
upper
right-hand
corner
of
the
EC2
Web
page,
select
the
availability
zone
(from
the
drop-down
list
next
to
the
"Help"
drop-down
list)
nearest
to
where
you
are
physically
located
from
the
following
choices.
Note
that
an
availability
zone
will
already
be
selected
based
on
the
contact
information
you
provided
when
you
provisioned
your
AWS
account:
a. US
East
(N.
Virginia)
b. US
West
(Oregon)
c. US
West
(N.
California)
d. EU
(Ireland)
e. Asia
Pacific
(Singapore)
f. Asia
Pacific
(Tokyo)
g. Asia
Pacific
(Sydney)
h. South
America
(Sao
Paulo)
6. In
the
"INSTANCES"
section
of
the
navigation
pane
on
the
left-hand
side
of
the
Web
page,
click
the
"Instances"
link
7. Click
the
"Launch
Instance"
button
8. In
the
"Step
1:
Choose
an
Amazon
Machine
Image"
Web
page,
scroll
down
to
the
bottom
of
the
page
and
select
the
64-bit
version
of
an
image
of
Red
Hat
v6.4
or
6.5.
Note:
Red
Hat
7.0
is
NOT
currently
supported.
9. In
the
"Step
2:
Choose
an
Instance
Type"
Web
page,
select
the
checkbox
for
"m3.large"
type
and
click
the
"Next:
Configure
Instance
Details"
button
10. In
the
"Step
3:
Configure
Instance
Details"
Web
page,
fill
out
the
form
as
follows:
a. Number
of
instances:
3
b. Purchasing
option:
leave
"Request
Spot
Instances"
unchecked
c. Network:
mapr-odt-vpc
d. Subnet:
mapr-odt-subnet
e. Auto-assign
Public
IP:
enable
f. IAM
role:
None
g. Shutdown
behavior:
Stop
h. Enable
termination
protection:
Check
"protect
against
accidental
termination"
checkbox
i. Monitoring:
leave
"Enable
CloudWatch
detailed
monitoring"
unchecked
j. Tenancy:
"shared
tenancy
(multi-tenant
hardware)
k. Click
the
"Next:
Add
Storage"
button
11. In
the
"Step
4:
Add
Storage"
Web
page:
a. Click
the
"Add
New
Volume"
button
b. Leave
all
the
defaults
except
check
the
"Delete
on
termination"
checkbox
c. Repeat
the
above
steps
2
more
times
to
add
a
total
of
3
EBS
volumes
to
your
instances
d. Click
the
"Next:
Tag
Instance"
button
12. In
the
"Step
5:
Tag
Instance"
Web
page,
type
"mapr-install-node"
in
the
"Value"
field
and
click
the
"Next:
Configure
Security
Group"
button
13. In
the
"Step
6:
Configure
Security
Group"
Web
page,
select
the
"Create
new
security
group"
radio
button,
type
"mapr-sg"
in
the
"Security
group
name:"
field",
and
perform
the
following
steps:
a. Click
the
"Add
Rule"
button
b. Select
"All
TCP"
from
the
"Type"
drop-down
list
and
select
"Anywhere"
from
the
"Source"
drop-down
list
c. Click
the
"Add
Rule"
button
d. Select
"All
UDP"
from
the
"Type"
drop-down
list
and
select
"Anywhere"
from
the
"Source"
drop-down
list
e. Click
the
"Add
Rule"
button
f. Select
"All
ICMP"
from
the
"Type"
drop-down
list
and
select
"Anywhere"
from
the
"Source"
drop-down
list
g. Click
the
"Review
and
Launch"
button
14. In
the
"Step
7:
Review
Instance
Launch"
Web
page,
review
your
instance
launch
details
and
click
the
"Launch"
button
15. In
the
"Select
an
existing
key
pair
or
create
a
new
key
pair"
pop-up
window,
perform
one
of
the
following
steps:
a. select
"Create
a
new
key
pair"
and
type
"mapr-odt-keypair"
in
the
"Key
pair
name"
text
field.
Click
the
"Download
Key
Pair"
button.
OR
b. Select
"select
an
existing
key
pair"
and
select
the
key
pair
from
the
"key
pair
name"
drop-down
list
IMPORTANT
NOTE:
makes
sure
you
save
a
copy
of
the
new
or
existing
key
pair
file
in
a
location
that
you
can
reference
it
throughout
your
training.
If
you
lose
this
file,
you
will
lose
access
to
your
AWS
instances,
and
will
have
to
create
new
ones.
16. Click
the
"Launch
Instances"
button
17. In
the
"Launch
Status"
Web
page,
click
the
"View
Instances"
button
18. Wait
for
the
instances
to
get
in
the
"running"
state
and
status
checks
to
complete
19. Log
the
IP
Addresses
of
VMs
for
use
later.
10
6. Determine
and
log
the
internal
IP
address
of
the
VM
instance
(save
the
result,
such
as
10.0.0.167):
$ hostname
7. Create
a
mapr
user
on
this
VM:
$ useradd mapr
$ passwd mapr
then
type
the
password
for
the
mapr
user
when
prompted
8. Set
the
root
user
password:
$ passwd root
then
type
the
password
for
the
root
user
when
prompted
9. Allow
password
authentication
to
the
VM:
$ vi /etc/ssh/sshd_config
change
PasswordAuthentication
no
to
PasswordAuthentication
yes
save
and
exit
vi
10. Repeat
steps
6-8
for
all
VM
instances
and
log
the
hostname
of
each
instance
Now
you
have
root
access
on
your
RHEL
virtual
machine
instance,
and
you
can
proceed
with
the
MapR
Hadoop
Operations
labs.
11
5. Select
the
instances
that
you
want
to
stop,
click
on
the
Actions
button,
and
select
Stop
6. Click
on
the
Yes,
Stop
button
To
restart
the
instances,
repeat
these
steps,
and
select
Start
in
step
5.
Remember,
you
should
check
the
Public
IP
settings
of
your
VMs
and
note
any
changes
to
your
IP
addresses.
The
internal
IP
addresses
will
remain
consistent,
so
the
passwordless
ssh
and
Hadoop
software
will
still
function
normally.
12
14. In
the
"ELASTIC
BLOCK
STORE"
section
of
the
navigation
pane
on
the
left-hand
side
of
the
Web
page,
click
the
"Volumes"
link.
15. Select
the
checkbox
next
to
the
volumes
that
you
want
to
remove,
click
on
the
Actions
button
and
select
Delete
Volumes
13
14