Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 1.64 KB

README.md

File metadata and controls

27 lines (14 loc) · 1.64 KB

Deploying a Dashboard by Dash Plot using Daily Climate Dataset

The dashboard has been created using Plotly's Dash library. There are 3 options in the dashboard. You can select plot types using radio buttons. In this dashboard I plotted histogram, line and scatter plots of dailyClimate dataframe. You can use another dataframe. But be careful on dataframe's index.

line_plot

Quick Usage

I assume docker is installed on your system. Go to Dockerfile directory and open terminal. Write docker build -t {image_name} . here with -t you can determine name of the image. After image creation process done you can see images writing docker images to terminal. Run container docker run -p 8050:8050 {image_name}. And go to your browser and go to localhost:8050. If you want docker to run background use detach mode. docker run -d -p 8050:8050 {image_name}. Additionally image ID can be used instead of image name.

DataFrame Overview

Dataframe that I used in this project.

dataframe_head

Deploying Docker on AWS

deploy_graph

Create docker image using Dockerfile. Send the image to ECR. On ECS, using ECR image deploy the dockered container. [1]

Sources

https://faun.pub/quick-start-guide-to-docker-fa646e0f3f2d

[1] https://towardsdatascience.com/deploying-a-docker-container-with-ecs-and-fargate-7b0cbc9cd608