The 4 best ways to deploy a Django application

The 4 best ways to deploy a Django application

In this video I will explain what are the best ways to deploy a Django application.

00:00 – Introduction
00:21 – Installing directly on a server
01:27 – Use Docker-compose to run app directly on Linux server
03:00 – A managed Docker orchestration service
05:00 – Use a server less technology

If you’re interested in learning more about how to deploy an app to a Docker orchestration service like AWS ECS, then check out our advanced course: DevOps Deployment Automation with Terraform, AWS and Docker
-Take it on Udemy:
-Take it on Thinkific:

○ Prepare a Django app for Deployment using Docker –
○ BUILD A BACKEND REST API with Python, Django REST Framework, Django, Vagrant & VirtualBox –
○ BUILD A BACKEND REST API with Python, Django & Test Driven Development –
○ Setting up PostgreSQL database with a Django Docker application –
○ Dockerizing a Django REST Framework Project –

31 thoughts on “The 4 best ways to deploy a Django application

  1. How to change API endpoints while deploying to public when localhost is there in endpoints , eg : 120.x.x.x:8000/to-dos , how to change this when deploying ? Won't it affect the end point for get and post ? Pls help anyone ;

  2. Option #1 with imaging is the superior option. Once your image is created you can scale up and down infinitely. You have a very limited scope of knowledge. Like the width of a toothpick. Both option #3 & #4 are trash options. Option #2 could work well if you have AI managed services. You need to open your mind about 359º, kid.

  3. I trying to deploy a django application on a feodra server with gunicorn and nginx as a proxy server and is a totall mess!! a lot of moving pieces, a lot of configurations a lot of different ways to configure it all those and is a hell. I have not been able to set it up and Im losing my mind, lots of tutorials, documentations, and stackoverflow have not been able to resolve all the problems that come along. I think I am going to give up on that idea and try docker instead.

  4. just switched to udemy to get the course. Lucky me i already got it in June!!
    Really great courses in average, got both restframework courses as well, can highly recommend it!

  5. In the minute 5:55 you said the severless option is suitable for small app with not many users. So how many users? Is 1000 users a day good to go with this option? Thank you for your great presentation of this topic.

  6. this was very helpful. I hate how I just could not understand the deployment landscape before this vidoe. you are awesome thak you very much

  7. The amount of options available to do things on the internet can be overwhelming. This video is concise and very helpful. You have 1 more subscriber…

  8. I do not understand English. I know Hindi language. But I ran my mind and I am talking to you through Google Translate.

  9. Thanks a lot for this video, looks like a good overview. Buut.. If I'm a beginner developer who wants to have freedom to play with a few live web projects, as well as work for small clients, isn't VPS my best bet ? I'm deploying my first real world project and the client already has a VPS and I'd like to avoid repeating this agony.. So if getting my own VPS is a good idea, how would I automate the deployment process to be able to cookie-cut projects ? No need for full answer, I'd appreciate keyworks/links to look up.

  10. Thank God I just got a hint. I have been trying to upload Django into Cpanel, in a shared hosting server, it has been really stressful to me, GCC permissions denied!!!! till now admins won't help out.

  11. Even though you're still a "small" channel, you have potential, I bought your advanced django course and it's one of the best courses I've ever bought

  12. Thanks, this is super helpful! Do you have any resources for Option 3? I would like to learn how to set up a managed Docker orchestration service!

  13. Thanks a lot. This video maybe saved my life 🙂 Because select way of deploy is very difficult and stresful decision.

Leave a Reply

Your email address will not be published. Required fields are marked *