Deploy A Jupyter Notebook Server into Production using Docker & Heroku




[ad_1]

Deploy A Jupyter Notebook Server into Production using Docker & Heroku

Learn to create a Python Jupyter Notebook Server with Docker & Heroku. This series builds on top of this blog post to give you visual to that guide.

Jupyter is a tool for running interactive notebooks; basically add Python with Markdown and you’ve got Jupyter. if you haven’t used it before, I recommend you do.

Docker is a tool that gives us control over our application’s OS environment. Think of it like a recipe for your OS that you can share almost anywhere. In this one, we’ll be covering deploying this project to Heroku but using Docker means we can deploy this nearly anywhere.

In this series, I’m going to show you how to deploy a Jupyter Notebook server on Heroku using Docker.

Blog Post – https://kirr.co/9851bc
Github Repo – https://kirr.co/ivq0ff
Heroku Container Reference – https://kirr.co/1hg9ls

00:00:00 Welcome
0:01:08 1 – General Overview
0:06:40 2 – Setup Base Project
0:08:52 3 – Jupyter Notebook Server Configuration
0:16:32 4 – Packaging Notebooks for Container Builds
0:22:17 5 – Create the Minimal Dockerfile
0:25:00 6 – Dockerfile CMD Entrypoint
0:27:12 7 – Build & Run with Docker
0:35:11 8 – Push & Release on Heroku
0:40:18 9 – Bonus Installs
0:47:39 10 – Thank you

Source


[ad_2]

Comment List

  • CodingEntrepreneurs
    December 28, 2020

    In case you miss it….

    Blog Post – https://kirr.co/9851bc
    Github Repo – https://kirr.co/ivq0ff
    Heroku Container Reference – https://kirr.co/1hg9ls

    00:00:00 Welcome
    0:01:08 1 – General Overview
    0:06:40 2 – Setup Base Project
    0:08:52 3 – Jupyter Notebook Server Configuration
    0:16:32 4 – Packaging Notebooks for Container Builds
    0:22:17 5 – Create the Minimal Dockerfile
    0:25:00 6 – Dockerfile CMD Entrypoint
    0:27:12 7 – Build & Run with Docker
    0:35:11 8 – Push & Release on Heroku
    0:40:18 9 – Bonus Installs
    0:47:39 10 – Thank you

  • CodingEntrepreneurs
    December 28, 2020

    Can we use docker compose for deploy in heroku?

  • CodingEntrepreneurs
    December 28, 2020

    Thank you for this! So since we're running notebooks within a container, does that mean it won't count against our free dyno hours on Heroku? I want to use it to practice machine learning with the MNIST dataset.

  • CodingEntrepreneurs
    December 28, 2020

    can you try to host code-server ( vs code) on heroku. i tried but not wroking so if you can then plz. here is the repo ( https://github.com/cdr/code-server ). ? and if possible can you integrate gdrive to store file?

  • CodingEntrepreneurs
    December 28, 2020

    One of most fluid video on jupyter env deployment!

  • CodingEntrepreneurs
    December 28, 2020

    Hey man, thank you for this amazing video!

  • CodingEntrepreneurs
    December 28, 2020

    For windows users, .bat scripts also work perfectly fine. Good job this tutorial Sir

  • CodingEntrepreneurs
    December 28, 2020

    After each section, that music makes me wanna party that I have learned something. 😂
    Great tutorial. Thanks

  • CodingEntrepreneurs
    December 28, 2020

    Nyc tutorial bro, ❤ From India

  • CodingEntrepreneurs
    December 28, 2020

    Thank you for the great content you're providing! Would you consider doing a tutorial on microservice system architecture for how we could bring together some of these projects into one larger system?

    For example, it would be cool to learn how to build a system with 3 main microservices mostly independent of eachother, like:
    1. a web scraper service that scrapes, cleans, and saves the cleaned data into a database
    2. another service (Flask REST API?) that can read data from that database and send it to clients (many rows at a time)
    3. a client that requests a (clean) dataset from the service in 2. above, which could do anything, maybe train a ML model, maybe just print the data for proof of concept.

    I feel like this would really open the door for understanding how to build up different systems like the example I described, since I feel I have almost got a good handle on the different "blocks" in the system, but I am quite confused / clueless when it comes to the "glue", for bringing different blocks together in a scalable / general way.

  • CodingEntrepreneurs
    December 28, 2020

    Everything worked fine…
    for windows users using docker toolbox
    – replace CLRF line endings with LF in scripts and
    – use ip 192.168.99.100 instead of localhost

    great content 😁
    keep them coming

  • CodingEntrepreneurs
    December 28, 2020

    Your website keeps redirecting to login page. Will you fix is please😊. Great Contents😊

  • CodingEntrepreneurs
    December 28, 2020

    Nice video 👍 Need more this type of content

  • CodingEntrepreneurs
    December 28, 2020

    Justin what version of Django would you recommend a beginner to learn and what version to deploy?

  • CodingEntrepreneurs
    December 28, 2020

    I'm on Windows:(
    Doesn't docker behave differently for Windows?
    Like almost everything else.

    Edit: was thinking of hosting a Jupyter notebook yesterday, this is nice to see.

    Do we keep the "sha1:" in the password string?

    I'm newb / used to javascript where we would hash it in a different file then import it.

  • CodingEntrepreneurs
    December 28, 2020

    so i just noticed tight.ai hat..?
    what that's about…?

Write a comment