On 03/01/2014 11:21 AM, Robin Lery wrote:
> Very nicely explained! I was actually hoping to use Amazon RDS  with
> postgresql. Your help was very useful. Thank you!

There is another issue if your application has to deal with user
uploaded files, such as photos, PDFs, etc. You must consider the
instances in an autoscaling cluster to be volatile because they can come
and go automatically. Consequently, you must have a way of ensuring that
either the filesystems of those instances are synchronized or store user
contributed files on Amazon S3. Fortunately, we have pluggable storage
in Django so it's easy to do the latter.

If you ever have to deploy an application that doesn't have that, as we
did, we ended up creating an NFS cluster in a VPC (Virtual Private
Cloud) and the instances in the autoscaling group mounted the exported
NFS filesystem. The autoscale instances had two network interfaces, one
for the public Internet and another for the internal network in the VPC,
so the NFS cluster was not exposed to the Internet.

-- 
Regards,

Clifford Ilkay

647-778-8696

Dinamis

<http://dinamis.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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/53123CF0.9030005%40dinamis.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to