Apache MXNet on AWS
Developer Guide

Configure a Linux Client

Configure the Linux client

  1. Open a terminal.

  2. Run the following command to forward all requests on local port 8157 to port 8888 on your remote EC2 instance. Update the command by replacing with the public DNS name of your EC2 instance.

    $ ssh -i ~/mykeypair.pem -L 8157:

    This command opens a tunnel between your client and the remote EC2 instance that is running Jupyter server. After running the command, you can access the Jupyter notebook server at

  3. Create a directory for storing Jupyter notebooks. This is your Jupyter workspace.

    $ mkdir ~/mynotebooks $ cd ~/mynotebooks
  4. Start the Jupyter notebook server.

    $ jupyter notebook

    By default, the server runs on port 8888. If the port is not available, the server uses the next available port. The Jupyter terminal shows the port on which the server is listening.

Next Step

Step 4: Test by Logging in to the Jupyter Server