15 Amazon EMR Management Guide Step 3 Allow SSH Access Console field Default

15 amazon emr management guide step 3 allow ssh

This preview shows page 21 - 24 out of 395 pages.

Image of page 21
Amazon EMR Management Guide Step 3: Allow SSH Access Console field Default value Description EC2 key pair Choose an option This specifies the Amazon EC2 key pair to use when connecting to the nodes in your cluster over a Secure Shell (SSH) connection. We strongly recommend that you create and specify an Amazon EC2 key pair. If you do not select a key pair, you cannot connect to the cluster to submit steps or interact with applications. For more information, see Connect to the Cluster (p. 313) . To connect, you also need to create an inbound rule in the security group to allow SSH connections. Permissions Default Use this option to specify the AWS Identity and Access Management roles that the cluster uses. These roles determine the permissions that Amazon EMR and the applications running on cluster instances have to interact with other AWS services. You can choose Custom to specify your own roles. We recommend using the default roles to start with. For more information, see Configure IAM Service Roles for Amazon EMR Permissions to AWS Services and Resources (p. 177) . Step 3: Allow SSH Connections to the Cluster From Your Client Security groups act as virtual firewalls to control inbound and outbound traffic to your cluster. When you create your first cluster, Amazon EMR creates the default Amazon EMR-managed security group associated with the master instance, ElasticMapReduce-master , and the security group associated with core and task nodes, ElasticMapReduce-slave . Warning The default EMR-managed security group for the master instance in public subnets, ElasticMapReduce-master , is pre-configured with a rule that allows inbound traffic on Port 22 from all sources (IPv4 This is to simplify initial SSH client connections to the master node. We strongly recommend that you edit this inbound rule to restrict traffic only from trusted sources or specify a custom security group that restricts access. Modifying security groups isn't a requirement to complete the tutorial, but we recommend that you do not allow inbound traffic from all sources. In addition, if another user edited the ElasticMapReduce- master security group to eliminate this rule per the recommendations, you are not able to access the 16
Image of page 22
Amazon EMR Management Guide Step 3: Allow SSH Access cluster using SSH for next steps. For more information about security groups, see Control Network Traffic with Security Groups (p. 258) and Security Groups for Your VPC in the Amazon VPC User Guide . To remove the inbound rule that allows public access using SSH for the ElasticMapReduce- master security group The following procedure assumes that the ElasticMapReduce-master security group has not been edited previously. In addition, to edit security groups, you must be logged in to AWS as a root user or as an IAM principal that is allowed to manage security groups for the VPC that the cluster is in. For more information, see Changing Permissions for an IAM User and the Example Policy that allows managing EC2 security groups in the IAM User Guide .
Image of page 23
Image of page 24

You've reached the end of your free preview.

Want to read all 395 pages?

  • Spring '12
  • LauraParker
  • Amazon Web Services, Amazon Elastic Compute Cloud

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors