You use PuTTYgen to convert your key file to the required PuTTY format ppk You

You use puttygen to convert your key file to the

This preview shows page 328 - 330 out of 395 pages.

You use PuTTYgen to convert your key file to the required PuTTY format ( .ppk ). You must convert your key into this format ( .ppk ) before attempting to connect to the master node using PuTTY. For more information about converting your key, see Converting Your Private Key Using PuTTYgen in the Amazon EC2 User Guide for Linux Instances . To set up an SSH tunnel using dynamic port forwarding on Windows 1. Double-click putty.exe to start PuTTY. You can also launch PuTTY from the Windows programs list. Note If you already have an active SSH session with the master node, you can add a tunnel by right-clicking the PuTTY title bar and choosing Change Settings . 2. If necessary, in the Category list, choose Session . 3. In the Host Name field, type [email protected] MasterPublicDNS . For example: [email protected] ec2-###-##-##- ###.compute-1.amazonaws.com . 4. In the Category list, expand Connection > SSH , and then choose Auth . 5. For Private key file for authentication , choose Browse and select the .ppk file that you generated. Note PuTTY does not natively support the key pair private key file format ( .pem ) generated by Amazon EC2. You use PuTTYgen to convert your key file to the required PuTTY format ( .ppk ). You must convert your key into this format ( .ppk ) before attempting to connect to the master node using PuTTY. 6. In the Category list, expand Connection > SSH , and then choose Tunnels . 7. In the Source port field, type 8157 (an unused local port). 8. Leave the Destination field blank. 9. Select the Dynamic and Auto options. 10. Choose Add and Open . 11. Choose Yes to dismiss the PuTTY security alert. Important When you log in to the master node, type hadoop if you are prompted for a user name. 322
Image of page 328
Amazon EMR Management Guide View Web Interfaces Hosted on Amazon EMR Clusters 12. After the tunnel is active, configure a SOCKS proxy for your browser. For more information, see Option 2, Part 2: Configure Proxy Settings to View Websites Hosted on the Master Node (p. 323) . 13. When you are done working with the web interfaces on the master node, close the PuTTY window. Option 2, Part 2: Configure Proxy Settings to View Websites Hosted on the Master Node If you use an SSH tunnel with dynamic port forwarding, you must use a SOCKS proxy management add- on to control the proxy settings in your browser. Using a SOCKS proxy management tool allows you to automatically filter URLs based on text patterns and to limit the proxy settings to domains that match the form of the master node's public DNS name. The browser add-on automatically handles turning the proxy on and off when you switch between viewing websites hosted on the master node and those on the Internet. To manage your proxy settings, configure your browser to use an add-on such as FoxyProxy or SwitchySharp. For more information about creating an SSH tunnel, see Option 2, Part 1: Set Up an SSH Tunnel to the Master Node Using Dynamic Port Forwarding (p. 320) . For more information about the available web interfaces, see View Web Interfaces Hosted on Amazon EMR Clusters (p. 318) .
Image of page 329
Image of page 330

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

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes