Deep Learning AMI
Developer Guide

Configure a MacOS Client

  1. Open a terminal.

  2. Run the following command to forward all requests on local port 8157 to port 8888 on your remote Amazon EC2 instance. Update the command by replacing with the public DNS name of your EC2 instance, or just use the public IP address. Note, for an Amazon Linux AMI, the user name is ec2-user.

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

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


    https works only if you went through the extra step of Custom SSL and Server Configuration. These examples use http instead, but once your SSL cert is configured, you can switch to https.

Next Step

Test by Logging in to the Jupyter notebook server