Start a new AWS instance (we recommend m4.large) with ami-0d16180aceb4b02d4. Allow inbound traffic on port 80. Navigate to the instance's public IP for a Jupyter installation with NUPACK pre-configured.
Important: Please be sure to stop (not terminate) your instance when not in use.
To upload a file, click the Upload button shown below, select your files, and click the Upload button next to the file name.
To download an entire directory, create a new notebook in the directory you wish to download and run the following code. A jupyter.tgz file should be generated in the directory. This file can be downloaded and opened with 7-Zip on Windows or the built-in archiver in macOS.
import tarfile f = tarfile.open('jupyter.tgz', "w:gz") f.add('.') f.close()
If you are familiar with EC2 and the Linux shell, you may log onto the instance directly with the user name chebe163 and the password given in class. This user has sudo privileges.
AWS is not a free resource. It costs $0.1 per hour to run a m4.large instance and it costs $0.1 to maintain 1GB of files per month. You will need to stop your instances when you are not using them; otherwise Amazon will continue to charge you for the running instances. You can stop your instances when you're not using them and start them back up when you need them again without losing your files. A stopped instance does not incur compute costs but will still incur the storage costs (approximately $0.5/month for this course if your AWS account is over 1 year old).
To stop an instance, go to the EC2 dashboard (follow steps 9 and 10), click on Instances, click the checkbox next to your instance, click "Actions" on the top menu, and select Instance State -> Stop. Note: the image used for this class does not utilize ephemeral storage, so please click Yes, stop in the warning regarding ephemeral storage.
To start an instance, go to the EC2 dashboard (follow steps 9 and 10), click on Instances, click the checkbox next to your instance, click "Actions" on the top menu, and select Instance State -> Start.
At the end of the course, you may wish to terminate your instances (after having backed up all your files). This will remove your instance as well as the storage associated with it, eliminating your AWS bill entirely. To terminate an instance, go to the EC2 dashboard (follow steps 9 and 10), click on Instances, click the checkbox next to your instance, click "Actions" on the top menu, and select Instance State -> Terminate.