Home

Awesome

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

Blog Post

Technologies

License

MIT © RodionChachura