Peter
Peter

Reputation: 564

How to run Jupyter notebook on AWS instance

How to run Jupyter notebook on AWS instance, chmod 400 error

I want to run my jupyter notebooks in the cloud, ec2 AWS instance.

--

I'm following this tutorial: https://www.codingforentrepreneurs.com/blog/jupyter-notebook-server-aws-ec2-aws-vpc

--

I have the Instance ec2 all set up as well as nginx.

--

Problem is..

When typing chmod 400 JupyterKey.pem just work for MAC not Windowns Power shell



cd path/to/my/dev/folder/
chmod 400 JupyterKey.pem
ssh [email protected] -i JupyterKey.pem


Error: The term 'chmod' is not recognized as the name of a cmdlet, function, cript, or operation
       category info: ObjectNotFound
        FullyQualifiedErrorId: Command notFoundException

Upvotes: 1

Views: 787

Answers (2)

Rene B.
Rene B.

Reputation: 7424

I had the same permission problem and could fix it by running the following command in the Amazon Machine Image Linux:

sudo chown user:user ~/certs/mycert.pem

Upvotes: 1

Nick Walsh
Nick Walsh

Reputation: 1875

AWS has a managed Jupyter Notebook service as part of Amazon SageMaker.

SageMaker hosted notebook instances enable you to easily spin up a Jupyter Notebook with one click, with pay per hour pricing (similar to EC2 billing), and with the ability to easily upload your existing notebook directly onto the managed instance, all directly through the instance URL + AWS console.

Check out this tutorial for a guide on getting started!

Upvotes: 2

Related Questions