Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 769 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 769 Bytes

Deploy Notebook

These days it is possible to deploy a function from Jupiter Notebook in less than a minute.

all text

run locally:

$ git clone https://github.com/RodionChachura/deploy-notebook.git  
$ cd deploy-notebook # set credentials in main.tf  
$ . ./cook_notebook.sh  
$ terraform init  
$ terraform apply 
$ curl --request POST --data '{"a": 3, "b": 4}' <URL_FROM_OUTPUT>/function

update function code:

$ . ./deploy.sh tf-lambda tf-lambdas function.zip

Technologies

  • Python
  • Jupyter Notebook
  • AWS Lambda
  • Terraform

License

MIT © RodionChachura