DEV Community

Discussion on: Why should we use Docker and Kubernetes instead using Heroku, for Django?

insanenaman profile image
Naman Gupta • Edited

I am not a django developer bt write backend in NodeJS. If I understood in the right way then by heroku, you mean some kind of managed solution by Heroku. (Correct me if wrong). Docker and kubernetes comes into play when you want to manage infrastructure (Cloud) by yourself. There is no WRONG way. Its just depends on use case. If you are building a side project then you can go for any. These things come into play when you talk about medium to large scale. Developers like me loves managed solution (Heroku) as it allows me to invest more time in code. Currently I prefer writing backend in serverless instead of deploying whole nodejs app. You can do the same by writing cloud function in python and writing your frontend app in React. Again I would repeat it's just personal preference and use case.