Best digital ocean plan for a production server

120 views
Skip to first unread message

Ram

unread,
Jul 9, 2022, 11:21:00 PM7/9/22
to django...@googlegroups.com
Hi,

We are planning to launch our application in production once all the testing is completed after deployment to our development server. We are using Jenkins CI automation to deploy the code to the development server and we will do the same in production server too, but we are currently doing a feasibility study to understand which options are good for Django web application for both Web and Mobile app. 

If anyone in this Django users community is currently on any Digital Ocean's production server plan, could you share some details and suggestions.

Best regards,
~Ram

Ryan Nowakowski

unread,
Jul 10, 2022, 3:29:18 PM7/10/22
to django...@googlegroups.com
Ram,

It depends. How many http transactions per second are you expecting?
What database are you using? Based on your estimated http TPS, how
many database queries per second are you expecting? What percentange of
those database queries are read vs write?

- Ryan N

Julio Cojom

unread,
Jul 11, 2022, 2:04:40 PM7/11/22
to django...@googlegroups.com
Hi Ram,

I started with a simple VPS, 5$ monthly, it has a MySQL instance and 5 or 7 Django apps. After that MySQL started caching a lot of ram for the small VPS so I moved the SQL instance to another 5$ VPS and left the web/apps server alone, they are connected through the internal IP.

Also, I created a couple of scripts to pull the GitHub repository, and set up a new app (database, Nginx host, etc) whenever I need that.

You can create Django docker apps and manage all from docker / Kubernetes but in my case isn't necessary.

Digital Ocean is cheap and very profitable if your customers don't use a lot of resources, with time you can upgrade your VPS with a couple of clicks.
You need to get used to the terminal to use ssh. Also, there is a couple of things that don't work in the same way in Linux / windows, like paths for example. I used windows a lot of time for development before so I learned that a hard way

Regards,

Julio Cojom





--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BOi5F0Chdi6d6b5x5CtW_pDphwyegA7m4kLofGkCoZiDk_32A%40mail.gmail.com.

Sebastian Jung

unread,
Jul 11, 2022, 5:45:27 PM7/11/22
to django...@googlegroups.com
Hello,

Digital Ocean is for mid to great companys very nice because scalability. But if you don't need that then digital ocean is too expensive. My favorit https://www.netcup.de/vserver/ with 8GB Ram and Epyc CPU for only 9€ per month. I think this is much much more faster then same price range on digital ocean. There are exists also benchmarks between digital ocean and netcup where digital ocean was much slower then netcup.

But when you need scalability then better digital ocean or aws....

Regards

Abdul Qoyyuum

unread,
Jul 13, 2022, 2:24:14 AM7/13/22
to Django users
I prefer Heroku and deploying Django as a docker image to Heroku. Less maintenance, worry less about server setups and focus more on code than anything else (i.e. serverless). Start with a hobby plan and if able to get customers, then start paying for scalability features.

Ram

unread,
Jul 23, 2022, 1:22:28 PM7/23/22
to django...@googlegroups.com
Thank you all for your input. I would like to sign up for a plan which can let us focus only on coding and still scalabile, but my concern is our application requires following:

1. Linux OS
2. Postgres
3. Python 3.10
4. Django latest
5. Vue.js
6. Gunicorn
7. Nginx
8. Let's Encrypt or any SSL
9. Redis
10. Celery
11. Github
12. Jenkins CI/CD
13. Support for API: Stripe, Twillio, Google and etc.

If these can be packaged into a docker image that would be great. I know some of them cannot be in Docker image. I'm planning to check this with both Digital Ocean and Heroku anyway, but I wanted to understand experts advice in this community.

Best regards,
~Ram

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

Abdul Qoyyuum

unread,
Jul 24, 2022, 10:31:05 PM7/24/22
to django...@googlegroups.com
Not sure what you mean. All of those can be in separate docker images to build (except for 11 and 13) but have to be docker-composed properly. But since you're moving to Docker images, you can then instead deploy to any Kubernetes cluster and scale with X number of nodes. Even better if you want to test and make sure all of the deploy settings work properly each time with Terraform but that's my opinion. https://www.digitalocean.com/community/questions/best-practices-to-deploy-docker-on-digitalocean-using-terraform

You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/C_v8NaMOx4Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BOi5F0zneD-%2BmKb8dZcV8iu-5pryw2Yt9djnjJisWr6k381ow%40mail.gmail.com.


--
Abdul Qoyyuum Bin Haji Abdul Kadir

Ram

unread,
Jul 27, 2022, 11:54:21 AM7/27/22
to django...@googlegroups.com
Hi Abdul,

Thank you for your suggestion, but since you mentioned Docker image in your earlier email, I've listed all my software stack that is required for our Web Application. So I'm looking for any managed solution from any provider that can help us to focus only on coding. It does not have to be Kubernetes solution and anything is fine as long as we don't have to spend time on infrastructure and yet scalable & feasible.

Also, along with the previous list of software stack, we are planning to develop Django REST APIs and a mobile app using Flutter which could add additional software to the list. 

I explored both Digital Ocean and Heroku so far and I'm struggling to find the right solution from both of them. So I emailed them to see what they can recommend to us.

Best regards,
~Ram

Reply all
Reply to author
Forward
0 new messages