Question

Best way to deploy react/django web app on digital ocean

I am building web application with django as a backend and reactJS as a frontend. I need to know which hosting solution works best for me ? What I am looking for:

  1. I need to store a lot of images so I need a lot of disk space (my estimate around 500GB at a moment)
  2. Currently, there would only be 50 users of my app using my website 24/7 so right now I may not need huge amount of computing power but I may be doing some face recognition or detection on around 10,000 per day.
  3. Also, I am not sure how this django + react app works with deployment so if you can guide me ? like cloud hosting or linux virtual machine? I have no idea about it which is best in terms of performance+pricing

Thanks in advance


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

You could start with the following Droplet Image from the Marketplace with Django preinstalled:

https://marketplace.digitalocean.com/apps/django

The size of the server would really depend on the application itself and the resource utilization. In most cases, you could start with a smaller droplet and upgrade whenever needed. I would recommend monitoring your resource usage and also maybe running some stress tests to see how your app performs depending on different load.

I would recommend having a look at this tutorial here on how to get started with load testing:

https://www.digitalocean.com/community/tutorials/an-introduction-to-load-testing

Regards, Bobby