User:Sshah: Difference between revisions

From Octave
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
== AWS EC2 ==
== AWS EC2 ==


On AWS EC2, on public official Ubuntu AMI  
On AWS EC2, choose the official Ubuntu AMI for EC2 for your region.  See [https://cloud-images.ubuntu.com/locator/ec2/ Ubuntu cloud image locator]


= Ubuntu LTS 16.04 LTS =


= Ubuntu LTS 18.04 LTS =
= Installing on Ubuntu LTS 16.04 LTS =




== Jupyter Notebook on Public Cloud ==
= Installing on Ubuntu LTS 18.04 LTS =
 
== Connecting to the cloud instance ==
 
= Mac OS =
 
When you launch the EC2 instance, you can secure access to your instance using a ssh protocol on port 22.  You may want to limit the port 22 outbound access on the instance firewall to your IP address. 
 
 
If you are using X-11 for plotting in octave (gnuplot xterm), you will need to do X-11 forwarding using ssh -Y .  You will also need Xquartz installed on your machine and issue xhost + <your instance public IPV4 address> 
 
For qt graphics, you do not need the X-11 forwarding. 
 
 
== Octave Kernel in Jupyter Notebook Server ==




Because of network latency between the remote cloud server and the local client, response to user keystrokes is delayed. Running an octave kernel in Jupyter notebook avoids this because the local browser responds to keystrokes during editing.
Because of network latency between the remote cloud server and the local client, response to user keystrokes is delayed. Running an octave kernel in Jupyter notebook avoids this because the local browser responds to keystrokes during editing.
This only addresses single user Jupyter notebook server not the multi-user Jupyter Hub server.

Revision as of 23:22, 22 March 2019

Octave on Public Clouds

For installing the latest released stable Octave version and running it on instances on public clouds such as Amazon AWS.

AWS EC2

On AWS EC2, choose the official Ubuntu AMI for EC2 for your region. See Ubuntu cloud image locator


Installing on Ubuntu LTS 16.04 LTS

Installing on Ubuntu LTS 18.04 LTS

Connecting to the cloud instance

Mac OS

When you launch the EC2 instance, you can secure access to your instance using a ssh protocol on port 22. You may want to limit the port 22 outbound access on the instance firewall to your IP address.


If you are using X-11 for plotting in octave (gnuplot xterm), you will need to do X-11 forwarding using ssh -Y . You will also need Xquartz installed on your machine and issue xhost + <your instance public IPV4 address>

For qt graphics, you do not need the X-11 forwarding.


Octave Kernel in Jupyter Notebook Server

Because of network latency between the remote cloud server and the local client, response to user keystrokes is delayed. Running an octave kernel in Jupyter notebook avoids this because the local browser responds to keystrokes during editing.

This only addresses single user Jupyter notebook server not the multi-user Jupyter Hub server.