Menu
Apache MXNet on AWS
Developer Guide

Step 3: Connect to the Master Node in the Stack

Connect to the master node in the cluster of EC2 instances launched by the AWS CloudFormation template.

For step-by-step instructions, see Connect to Your Linux Instance in the Amazon EC2 User Guide for Linux Instances. As you follow the steps, enable SSH agent forwarding when you connect to the master node. The master node uses SSH agent forwarding to securely connect with worker nodes to run distributed deep learning applications.

  • On Windows client, in PuTTY choose the Allow agent forwarding authentication option.

  • On Linux and macOS clients, use the ssh command to connect to the instance. Add the -A parameter when using this command. For example:

    Copy
    $ ssh-add -K /path/my-key-pair.pem $ ssh -A -i /path/my-key-pair.pem ubuntu@public-DNS

Next Step

Step 4: Run Sample Apache MXNet Code