How to Deploy a Dash App to Google Cloud Run

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • This video shows how to deploy a Dash app to Cloud Run. The Readme referenced in the video, along with final versions of each file shown in the tutorial, can be found at the project's GitHub page ( github.com/kbu... ).
    I prefer Cloud Run to Heroku for Dash App deployment because the former option can be significantly less expensive. Heroku used to offer a free tier, but as of September 2023, their pricing data indicates that it will cost at least $5 a month to run an app there. The Cloud Run setup shown in this project, on the other hand, can cost only pennies per month (if that) depending on how frequently the app is used. (Heroku does have price caps for many of their hosting packages, so it could very well be the better option in case your Dash app is accessed frequently).
    Note: I shut down this project within my Cloud Console after publishing this video, but if you'd like to see a more complete Dash setup in action, you can visit a set of fictional school dashboards that I created at this link: dsd-vtwzngx2pa...
    (I've also created a RUclips video that goes over these dashboards. It's available at • Using Dash and Plotly ... .)
    The GitHub site for that project is available at github.com/kbu... .

Комментарии • 3

  • @alfredomunozgutierrez
    @alfredomunozgutierrez 2 месяца назад

    I got this error when deploying: Revision 'dash-app-name' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.

  • @EoinMoore-e5s
    @EoinMoore-e5s 7 дней назад

    Great video. Great clear explanation.

  • @goodmanshawnhuang
    @goodmanshawnhuang 2 месяца назад

    great job, thanks for sharing it.