Skip to content
Advertisement

Deploy python script on Synology NAS server

I’m considering a suggestion to buy a Synology NAS server DiskStation DS720+: https://www.synology.com/de-de/products/DS720+#specs

to run my python scripts or deploy web apps. I am currently using heroku free account to deploy a web app. I can’t explain, why my web app delivers wrong output on heroku but works completely fine on my local computer. No error message when deploying on heroku, eventhough the output is wrong.

Since I know nothing about NAS server, I want to ask if following tasks are possible with the diskstation:

  1. Deploying Python Script and Web App (with Dash and Plotly as backbone)
  2. Hosting dynamic website, not static website (like github pages)

Please pardon me, if these are silly questions, since this area is new for me. The idea that these are possible and that I have my own cloud server is quite tempting.

Is there a better and more economical option for these purpose?

Thank you in advance for any inputs. Best regards, Gunardi Ali

Advertisement

Answer

The model you linked supports Docker, so that would probably be the easiest way to host dynamic websites such as Plotly dashboards.

However, if your apps are not generating the desired output when you run them on a machine other than your local computer then running them on a NAS might not work, either.

EDIT: Rereading your question, I would not suggest buying a Synology NAS if your primary use case is a web server. They are trimmed down for ease of use, but they come with their own set of limitations. Depending on how resource intensive your applications are you might want to look at an Intel NUC or even a Raspberry Pi. If you plan to use the Synology’s other features (file sharing, multi media, …) however, they are a great product.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement