Which Cloud Service Provider should be chosen to host Django Application

70 views
Skip to first unread message

Balaji Shetty

unread,
May 2, 2019, 5:51:57 AM5/2/19
to django...@googlegroups.com
Hi

I do not have any experience for cloud hosting. Can you please suggest Cloud Service Provider to host Django Application.

My Application need Security and Salability.

Many options are there like

  • PythonAnywhere. ..
  • Heroku. ...
  • A2 Hosting. ...
  • AWS. ...
  • HostUpon. ...
  • TMD Hosting. ...
  • DigitalOcean

--
Mr. Shetty Balaji S.
Asst. Professor
Department of Information Technology,
SGGS Institute of Engineering & Technology, Vishnupuri, Nanded.MH.India
  Mobile: +91-9270696267

Nick Sarbicki

unread,
May 2, 2019, 6:10:56 AM5/2/19
to Django users
Hi Balaji,

I've used many cloud providers to host Django applications, they all work fine.

They all have varying feature sets, pricing, levels of ease and documentation. 

So it really isn't for any of us to tell you which provider to use. They all work, you just have to research them and find what price/feature set/level of expertise required suits you best.


- Nick


--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAECSbOsUwWWGcNqrFPswKt6a4Byk4Zopy-9SFWjZrLZQc332Ww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Daviddd

unread,
May 2, 2019, 6:23:00 AM5/2/19
to Django users
it strictly depends on your requirements and budget, but certainly I can say I'm getting in love with DigitalOcean (Spaces with CDN for static files), Kubernetes (LTD) and Helm.

Hari

unread,
May 2, 2019, 6:45:36 AM5/2/19
to django...@googlegroups.com
If it is a small application then you can try Vultr..Pricing is really good.

--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Balaji Shetty

unread,
May 2, 2019, 7:07:47 AM5/2/19
to django...@googlegroups.com
Thank You Very Much Nick for your Nice Reply.




For more options, visit https://groups.google.com/d/optout.

Balaji Shetty

unread,
May 2, 2019, 7:08:24 AM5/2/19
to django...@googlegroups.com
Thank You Very Much Hari for your Nice Reply. I will definitely try.


For more options, visit https://groups.google.com/d/optout.

Balaji Shetty

unread,
May 2, 2019, 7:09:49 AM5/2/19
to django...@googlegroups.com
Thank You Very Much Davide for your Nice Reply.

--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/37345bd1-3b90-4a47-9268-819d61ae178c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

LIGHTNING OMEGA 2 636

unread,
May 2, 2019, 7:50:34 AM5/2/19
to django...@googlegroups.com
Without much experience and a desire for scalability,  security and reliability your choices are actually narrowed down pretty quickly.  Because it boils down to who's going to give you the most "bang for the buck" without stripping your budget.  Start at the high end, e.g. AWS, then ask yourself, are all of the features offered necessary.  What's essential and what's nice to have?  Pick three(3) and evaluate them during their respective trial periods.   What are noticeable differences do you see, and are they tolerable.  Service providers owe you reliability along with efficient set up and maintenance.  I've made the mistake of going with a good price or friend's recommendation only to find out I was paying much more for less up time than the highest end providers would charge.   I have an MS in Information Systems, and I was a physician in solo practice at the time.   After firing my consultants and finding a local service provider, I saved a thousand dollars ($1000) a month.  While going with ATT at another site costed a bundle @ $400 per month but left me with over a thousand viral infections on my server/host.  



--
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+unsubscribe@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Aldian Fazrihady

unread,
May 2, 2019, 7:57:24 AM5/2/19
to django...@googlegroups.com
Use AWS or GCP.  You can automate the scaling. 

Regards, 

Aldian Fazrihady


--
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.

Balaji Shetty

unread,
May 2, 2019, 10:28:26 AM5/2/19
to django...@googlegroups.com
Really Nice Reply Halldarrell ...
We must do analysis for our requirement.

Thank You very much

On Thu, May 2, 2019 at 5:20 PM LIGHTNING OMEGA 2 636 <halldar...@gmail.com> wrote:
Without much experience and a desire for scalability,  security and reliability your choices are actually narrowed down pretty quickly.  Because it boils down to who's going to give you the most "bang for the buck" without stripping your budget.  Start at the high end, e.g. AWS, then ask yourself, are all of the features offered necessary.  What's essential and what's nice to have?  Pick three(3) and evaluate them during their respective trial periods.   What are noticeable differences do you see, and are they tolerable.  Service providers owe you reliability along with efficient set up and maintenance.  I've made the mistake of going with a good price or friend's recommendation only to find out I was paying much more for less up time than the highest end providers would charge.   I have an MS in Information Systems, and I was a physician in solo practice at the time.   After firing my consultants and finding a local service provider, I saved a thousand dollars ($1000) a month.  While going with ATT at another site costed a bundle @ $400 per month but left me with over a thousand viral infections on my server/host.  


On May 2, 2019 5:51 AM, "Balaji Shetty" <balaji...@gmail.com> wrote:
Hi

I do not have any experience for cloud hosting. Can you please suggest Cloud Service Provider to host Django Application.

My Application need Security and Salability.

Many options are there like

  • PythonAnywhere. ..
  • Heroku. ...
  • A2 Hosting. ...
  • AWS. ...
  • HostUpon. ...
  • TMD Hosting. ...
  • DigitalOcean

--
Mr. Shetty Balaji S.
Asst. Professor
Department of Information Technology,
SGGS Institute of Engineering & Technology, Vishnupuri, Nanded.MH.India
  Mobile: +91-9270696267

--
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.

--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

For more options, visit https://groups.google.com/d/optout.

Balaji Shetty

unread,
May 2, 2019, 10:28:37 AM5/2/19
to django...@googlegroups.com
Thanks  Aldian Fazrihady 🙂


For more options, visit https://groups.google.com/d/optout.

dans...@gmail.com

unread,
May 2, 2019, 11:39:21 AM5/2/19
to Django users
This seems related to my question on how to do Blue/Green deployments.   If you want to build a real CI/CD stack for it and you want the previous version to be safe and the cut-over to the new version to be consistent, durable, and reasonably atomic, then you have some work to do.

Lucas G. Navarro

unread,
May 2, 2019, 1:32:55 PM5/2/19
to django...@googlegroups.com
webfaction is good too!

Regards!

El jue., 2 may. 2019 a las 12:40, <dans...@gmail.com> escribió:
This seems related to my question on how to do Blue/Green deployments.   If you want to build a real CI/CD stack for it and you want the previous version to be safe and the cut-over to the new version to be consistent, durable, and reasonably atomic, then you have some work to do.

--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Balaji Shetty

unread,
May 3, 2019, 3:41:29 AM5/3/19
to django...@googlegroups.com
Dear

Lucas G. Navarro

Thank You very much.



For more options, visit https://groups.google.com/d/optout.

Debabrata Chakraborty

unread,
Nov 30, 2019, 9:02:28 AM11/30/19
to Django users
Hi everyone,

I'm a beginner Django developer. So my apologies in advance for newbie like questions.

I am building my site with " Django version 2.2.5 " and " SQLite 3.30 " in back-end. My question is -

# Do services like "Heroku", "Digital Ocean", "Python Anywhere" and "AWS" - have limitation on which version of Django  or which DBMS I can use?

I've seen this before with PHP/MySQL hosting where some hosting companies will limit which version of PHP or MySQL one can use. Is the same applicable to Django hosting in the above mentioned hosting platforms as well?

I will very much grateful if you can help me out with this confusion.

Best

Deb

Bill Freeman

unread,
Nov 30, 2019, 9:31:15 AM11/30/19
to django-users
SQLite is fine for development, but, unless things have changed, it is single threaded, and unsuitable for a production environment.  Most folks seem to go for MySQL, though the fork MariaDB is usually preferred no that Oracle owns MySQL.  I prefer PostgreSQL (or just Postgres) because I think that it comes closest to the SQL standard and is competitive in other respects.  Any of these have to be "administered" (though is many cases the provider helps with this), so if this is for a toy installation, SQLite may be OK.

SQLite, however, is built into Python these days, and even in older Python versions it was just a pop install, so providers can't squawk about the version.  But shared hosting (as opposed to virtual server) will mean that a particular python version is installed, and the SQLite version in that version of Python is what you are going to get.  But SQLite handles queries written for older versions well, and you will wind up with a quite recent version, so you are unlikely to be using any features that are too new for the installed version.

Virtual server hosting means that you can install what you want, but does mean that you will be administering the whole OS as well as the database, the http server, and even the version of Python, installing new versions when there are security updates, etc.

I, personally, haven't used any of the providers that you mentioned.  The last time I deployed on a shared host I used WebFaction, and was quite satisfied.  Today I use Linode, who provide a virtual server, and are also quite satisfactory (though you must, last time I checked, use Linux, which I consider a plus).

--
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.

Debabrata Chakraborty

unread,
Nov 30, 2019, 1:54:04 PM11/30/19
to Django users
Thanks a million ke1g!

That was really helpful. I am definitely going to use PostgreSQL now.

Only one question remains. I'm willing to deploy my site in any reasonably priced virtual server hosting. You mentioned using VPS means I can install what I want.

So does that mean - it doesn't matter which version of Django (i.e. Django 2.2.5) I use for the site development, they will all be equally supported inside a VPS hosting plan?

Also, what is the least complicated, least technically challenging Django hosting option for a beginner like me?

Thanks again

Deb


On Saturday, November 30, 2019 at 8:01:15 PM UTC+5:30, ke1g wrote:

SQLite is fine for development, but, unless things have changed, it is single threaded, and unsuitable for a production environment.  Most folks seem to go for MySQL, though the fork MariaDB is usually preferred no that Oracle owns MySQL.  I prefer PostgreSQL (or just Postgres) because I think that it comes closest to the SQL standard and is competitive in other respects.  Any of these have to be "administered" (though is many cases the provider helps with this), so if this is for a toy installation, SQLite may be OK.

SQLite, however, is built into Python these days, and even in older Python versions it was just a pop install, so providers can't squawk about the version.  But shared hosting (as opposed to virtual server) will mean that a particular python version is installed, and the SQLite version in that version of Python is what you are going to get.  But SQLite handles queries written for older versions well, and you will wind up with a quite recent version, so you are unlikely to be using any features that are too new for the installed version.

Virtual server hosting means that you can install what you want, but does mean that you will be administering the whole OS as well as the database, the http server, and even the version of Python, installing new versions when there are security updates, etc.

I, personally, haven't used any of the providers that you mentioned.  The last time I deployed on a shared host I used WebFaction, and was quite satisfied.  Today I use Linode, who provide a virtual server, and are also quite satisfactory (though you must, last time I checked, use Linux, which I consider a plus).



Bill Freeman

unread,
Dec 2, 2019, 10:11:33 AM12/2/19
to django-users
Deployment for a production environment is never without complications.   And that is affected by how much you choose to configure yourself.  I can't speak for Heroku, Digital Ocean, or Python Anywhere, because I haven't used them.  Perhaps some of their users will comment.

Even with virtual hosting it is best to pick one of the kernels that they have customized to work well with their virtualization mechanisms.  (If you had a physical host you would need to do kernel configuration yourself.)  I know that AWS and Linode keep their eye on kernel security updates and will offer new versions promptly, but you will need to keep your eyes open and install the upgraded versions when they become available.  They may or may not include application updates as part of these packages, particularly database, but also perhaps http server and python version, though if you want to pick your own version of these then you will be reinstalling them when the kernel upgrades happen.  And you must watch for security updates of the packages that you choose to hand install, which will include Django.  (One of the attractions of shared hosting is that the provider takes care of more of these things.)

But as far as picking your own version goes, you really want to stay close to the latest stable version, rather than having to back port security patches yourself.  You also don't want to go with versions so old that they are unsupported, or the people finding new exploits will be limited to the bad guys.  Doing the work right along to stay close to current best practices is valuable so that you don't have a large panic update to do when your version becomes unsupported, needs a security fix, and some old, previously deprecated, way of doing something has been dropped.

You will want to learn how to use one of the automated deployment tools, since setting things up by had every time gets old, and is error prone.  As a python guy, I've had fun with fabric, but there are other fine open source and free tools.  In addition to running pip for your, they can remotely run apt, rpm, etc., build your database, http server, python version (including plugging the http server into the desired python using modwsgi, for example).

(Note that it is not difficult to have multiple versions of python installed on a Linux system without them getting in one another's way.  So the kernel scripts can run with the version for which they have been designed and tested, and you can still have your favorite running behind your http server, running Django.

I'm unaware of AWS pricing.  Last I checked Linode can be as cheap as $5/mo (I pay closer to $20), depending on how big a server you need.  Linode, and I presume AWS and others, provides a base amount of bandwidth to the outside world, and if your site has a lot of users (including DDOS attacks) you may have to pay for extra.  Having them run backups for you is an extra cost option (at least for Linode, and probably for most others).  Otherwise your bandwidth to storage at your house or office counts against your bandwidth allotment.  (And you should back up this way, at least occasionally, even if your regular backups are handled by the provider.)

Linode will host DNS records for your VPS.  I presume the others will too, though there may be differences as to whether there is extra cost.

If you're going to accept money, don't do it on your server:  Hook up with PayPal and/or one of the other credit card service providers.  You don't want sensitive customer financial (or medical) records on your site.  (You would need full time security staff, and probably private physical servers to do that safely.)

If you have a very high traffic site, then most providers, including Linode and certainly AWS, can offer geographic diversity of server location, which helps with responsiveness, and the ability to continue to conduct business if a natural disaster takes one of the provider's server farms off line for a while.  (Most of us don't need this.  And if you have backups not collocated with the failed farm, you can bring up an alternate instance quickly.)

There is no substitute for doing your own research into costs, features, restrictions, and reputation of the various possible providers.

Bill



--
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.

Mike Dewhirst

unread,
Dec 2, 2019, 6:43:30 PM12/2/19
to django...@googlegroups.com
On 3/12/2019 2:10 am, Bill Freeman wrote:
> You don't want sensitive customer financial (or medical) records on
> your site.  (You would need full time security staff, and probably
> private physical servers to do that safely.)

That is a very good point. All the major CPU manufacturers use
multi-core technology and speculative execution nowadays and that is the
gift that just keeps on giving. Spectre and Meltdown and more recently
Zombieload make shared clouds insecure. Until CPUs can manage shared
access to on-chip cache there is no end to this.

>
> If you have a very high traffic site, then most providers, including
> Linode and certainly AWS, can offer geographic diversity of server
> location, which helps with responsiveness, and the ability to continue
> to conduct business if a natural disaster takes one of the provider's
> server farms off line for a while.

I have a possibly interesting experience here. One of my production
servers is hosted on Digital Ocean in their Singapore data centre. The
staging server is in Australia. Both run identical software. Part of it
fetches chemical data from public databases all around the world. From
Australia it works well. From Singapore, data from the European
Chemicals Agency (ECHA) and eChemPortal (OECD) cannot be retrieved.

I haven't worked out how to diagnose this yet. I'm just figuring out how
to document it for my users in a way which doesn't make me look foolish.
Also, I'm aware of the self-healing properties of the internet so I'm
not in too much of a hurry to jump up and down. But I'm glad of an
opportunity to vent about it here.

Cheers

Mike




Debabrata Chakraborty

unread,
Dec 3, 2019, 2:30:45 AM12/3/19
to django...@googlegroups.com
Many thanks Bill,

I am starting to see the bigger picture now. My site is just a basic blog for a non-profit. It's gonna be low traffic with no payment method attached. I checked out AWS and it's a bit overwhelming for a beginner like me. Guess I'll do a test run with Heroku's free account to get a feel of the process.

Anyway, thanks again for all the efforts man!

Cheers!

Deb

Bill Freeman

unread,
Dec 3, 2019, 8:17:36 AM12/3/19
to django-users
That sounds like a good choice. Do pay attention to any security procedures that they suggest in their documentation.  And do keep backups of at least the basic system and configuration files, if not occasional database dumps, that are local to you.

Good luck, and have fun.

Bill

Reply all
Reply to author
Forward
0 new messages