Here is a Julia language library to operate with AWS Lamda functions:
https://github.com/samoconnor/AWSLambda.jl#deploy-a-julia-lambda-function
Here is a Julia language library to operate with AWS Lamda functions:
https://github.com/samoconnor/AWSLambda.jl#deploy-a-julia-lambda-function
Here is a Julia language library to operate with AWS Lamda functions:
https://github.com/samoconnor/AWSLambda.jl#deploy-a-julia-lambda-function
$ sudo pip install --user --upgrade aws-sam-cli
aws lambda list-functions
$ sudo pip install --user --upgrade aws-sam-cli
aws lambda list-functions






$ python --version
The program 'python' can be found in the following packages:
* python-minimal
* python3
Try: sudo apt install
$ python3 --version
Python 3.5.2
~/Downloads$ wget https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh
~/Downloads$ bash Anaconda3-4.2.0-Linux-x86_64.sh
Follow the instructions and accept defaults
... a lot of packages get installed ...
$ source ~/.bashrc
$ conda --version
conda 4.2.9
$ python --version
Python 3.5.2 :: Anaconda 4.2.0 (64-bit)
$ jupyter --version
4.2.0
$ ipython
Python 3.5.2
IPython 5.1.0
In [1]: from IPython.lib import passwd
In [2]: passwd()
Enter password: Verify password: ..
Out[2]: 'sha1:5dsfdsfdsfsdfdsfdsfdsfdsfsdfdsfsfds'
In [3]: exit
$ cd ~
$ mkdir certificates
$ cd certificates/
$ openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem
Generating a 1024 bit RSA private: /home/ubuntu/certificates
... follow the instructions ...
~/certificates$ ls
mycert.pem
$ jupyter notebook --generate-config
Writing default config to (note it is .jupyter, not .ipython):
/home/ubuntu/.jupyter/jupyter_notebook_config.py
$ vi /home/ubuntu/.jupyter/jupyter_notebook_config.py
press "i" for INSERT mode
c = get_config()
### Kernel Configuration
# plotting should always be inline
c.IPKernelApp.pylab = 'inline'
### Notebook Configuration
c.NotebookApp.certfile = u'/home/ubuntu/certificates/mycert.pem'
c.NotebookApp.ip = '*'
# server does not have GUI browser
c.NotebookApp.open_browser = False
# generated in iPython shell with password() function
c.NotebookApp.password = u'sha1:9f____your_own_____cc'
# Make sure you open port 8888 in your AWS instance
# and run only one jupyther notebook
c.NotebookApp.port = 8888
~$ mkdir dev
$ nohup jupyter notebook ~/dev/ &
$ tail -f nohup.out
$ python --version
The program 'python' can be found in the following packages:
* python-minimal
* python3
Try: sudo apt install
$ python3 --version
Python 3.5.2
~/Downloads$ wget https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh
~/Downloads$ bash Anaconda3-4.2.0-Linux-x86_64.sh
Follow the instructions and accept defaults
... a lot of packages get installed ...
$ source ~/.bashrc
$ conda --version
conda 4.2.9
$ python --version
Python 3.5.2 :: Anaconda 4.2.0 (64-bit)
$ jupyter --version
4.2.0
$ ipython
Python 3.5.2
IPython 5.1.0
In [1]: from IPython.lib import passwd
In [2]: passwd()
Enter password: Verify password: ..
Out[2]: 'sha1:5dsfdsfdsfsdfdsfdsfdsfdsfsdfdsfsfds'
In [3]: exit
$ cd ~
$ mkdir certificates
$ cd certificates/
$ openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem
Generating a 1024 bit RSA private: /home/ubuntu/certificates
... follow the instructions ...
~/certificates$ ls
mycert.pem
$ jupyter notebook --generate-config
Writing default config to (note it is .jupyter, not .ipython):
/home/ubuntu/.jupyter/jupyter_notebook_config.py
$ vi /home/ubuntu/.jupyter/jupyter_notebook_config.py
press "i" for INSERT mode
c = get_config()
### Kernel Configuration
# plotting should always be inline
c.IPKernelApp.pylab = 'inline'
### Notebook Configuration
c.NotebookApp.certfile = u'/home/ubuntu/certificates/mycert.pem'
c.NotebookApp.ip = '*'
# server does not have GUI browser
c.NotebookApp.open_browser = False
# generated in iPython shell with password() function
c.NotebookApp.password = u'sha1:9f____your_own_____cc'
# Make sure you open port 8888 in your AWS instance
# and run only one jupyther notebook
c.NotebookApp.port = 8888
~$ mkdir dev
$ nohup jupyter notebook ~/dev/ &
$ tail -f nohup.out